Sign in to follow this  
Followers 0
botanic

<> not working?

4 posts in this topic

#1 ·  Posted (edited)

I am trying to get the bot to only say these things when the $mode is not = to BUY SELL or TRADE

_SHOWERROR ($MODE)

I used that functiuon and it showed that the $mode is = to BUY but it still displays these messages....

If ($MODE <> "BUY") or ($MODE <> "SELL") or ($MODE <> "TRADE") THEN _sendMessage ("What do you want to do?", "", "")

Sleep(100)

If ($MODE <> "BUY") or ($MODE <> "SELL") or ($MODE <> "TRADE") THEN _sendMessage ("Please Type", "", "")

Sleep(500)

If ($MODE <> "BUY") or ($MODE <> "SELL") or ($MODE <> "TRADE") THEN _sendMessage ("Please Type it now.", "", "")

Sleep(5000)

Edited by botanic

Share this post


Link to post
Share on other sites



maybe...

If ($MODE <> "BUY") And ($MODE <> "SELL") And ($MODE <> "TRADE") THEN _sendMessage ("......

Also...........

change this...

while $clip <> "BUY" or "SELL" OR "TRADE"

to....

while $clip <> "BUY" or $clip <> "SELL" OR $clip <> "TRADE".... remember And/Or

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

thanks it was the and's i was using or's

Share this post


Link to post
Share on other sites

Welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0