SLPM
|
  |
| Joined: 02 Apr 2010 |
| Total Posts: 33349 |
|
|
| 13 Mar 2015 08:21 PM |
http://gyazo.com/75a15e6bd4f780a0cca571f8f8914609
The top "if then" statement is the one that won't work. I meet the requirements, it's all linked together properly. It just won't work, the others work fine. Any suggestions? |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 13 Mar 2015 09:19 PM |
| if (Input:lower == "true") then |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2015 09:22 PM |
Correction: if Input:lower() == "true" then |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
| |
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 13 Mar 2015 10:40 PM |
You should know that you can do
if SOMETHING then print("SOMETHING") elseif SOMETHING_ELSE then print("SOMETHING_ELSE") elseif SOMETHING_ELSE_2 then print("SOMETHING ELSE_2") end
And save yourself some time counting "end" |
|
|
| Report Abuse |
|
|
SLPM
|
  |
| Joined: 02 Apr 2010 |
| Total Posts: 33349 |
|
|
| 14 Mar 2015 10:34 AM |
Okay. Well I fixed issue... apparently I just had to remove ".Value" for when I declared what Input was and then add "if Input.Value" |
|
|
| Report Abuse |
|
|