botanic Posted December 19, 2006 Posted December 19, 2006 (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 December 19, 2006 by botanic
Valuater Posted December 19, 2006 Posted December 19, 2006 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)
botanic Posted December 19, 2006 Author Posted December 19, 2006 thanks it was the and's i was using or's
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now