2 posts
Posted 06 July 2016 - 12:37 PM
I`ve got problems with a if
its like a password but the output is always false
Help me!
script -> pastebin get 1Cnh3Z0i
Thanks!
7083 posts
Location
Tasmania (AU)
Posted 06 July 2016 - 01:02 PM
Currently, if you type "1.aaap" it prints "dad", otherwise it prints "1.aaap".
You haven't explained how this differs from what you want to happen.
160 posts
Location
Probably within 2 metres of my laptop.
Posted 06 July 2016 - 03:59 PM
Either you're not entering the correct value or you haven't given us all your code (you may have overwritten read).
Note: There's no point in adding fake delays using sleep.
2 posts
Posted 06 July 2016 - 09:57 PM
Currently, if you type "1.aaap" it prints "dad", otherwise it prints "1.aaap".
You haven't explained how this differs from what you want to happen.
I wanted when i type ver it display 1.aaap
and when typing something other it go dad
Either you're not entering the correct value or you haven't given us all your code (you may have overwritten read).
Note: There's no point in adding fake delays using sleep.
The sleep is for seeing whats happening
I See My problem…
I dint put " " on the ver in: if CMDIN == ver
Thanks for the help btw!
Edited on 06 July 2016 - 10:46 PM