botanic Posted December 19, 2006 Share 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 Link to comment Share on other sites More sharing options...
Valuater Posted December 19, 2006 Share 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) Link to comment Share on other sites More sharing options...
botanic Posted December 19, 2006 Author Share Posted December 19, 2006 thanks it was the and's i was using or's Link to comment Share on other sites More sharing options...
Valuater Posted December 19, 2006 Share Posted December 19, 2006 Welcome 8) Link to comment Share on other sites More sharing options...
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