Jump to content
Sign in to follow this  
botanic

<> not working?

Recommended Posts

botanic

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
Valuater

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.