Jump to content




I cant get this to work...


  • You cannot reply to this topic
3 replies to this topic

#1 Rotekoppen

  • New Members
  • 2 posts

Posted 06 July 2016 - 11:37 AM

I`ve got problems with a if
its like a password but the output is always false
Help me!

script -> pastebin get 1Cnh3Z0i

Thanks!

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 06 July 2016 - 12: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.

#3 The Crazy Phoenix

  • Members
  • 136 posts
  • LocationProbably within 2 metres of my laptop.

Posted 06 July 2016 - 02: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.

#4 Rotekoppen

  • New Members
  • 2 posts

Posted 06 July 2016 - 08:57 PM

View PostBomb Bloke, on 06 July 2016 - 12:02 PM, said:

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

View PostCrazyPyroEagle, on 06 July 2016 - 02:59 PM, said:

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 by Bomb Bloke, 06 July 2016 - 11:46 PM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users