 |
DanaLea Beginner
Joined: 31 Jul 2002 Posts: 19 Location: USA
|
Posted: Sun May 25, 2003 12:39 am
a question so simple it hurts to ask... |
I looked and can't find the information I need (or rather I don't have hours and hours to read through all the documtation to find the answer to a simple question.)
I have a variable called autohunt which has a value of yes or no. if it's yes i want some commands excuted. But I can't figure out out to test the value. This is what I have (which isn't working)
#IF (@autohunt = yes) {
n
hunt @huntmob
}
can anyone help?
thanks
-dana |
|
|
 |
Lain Novice
Joined: 26 Oct 2001 Posts: 38
|
Posted: Sun May 25, 2003 2:01 am |
You need to put quotation marks around the word "yes".
#IF (@autohunt = "yes") {
n
hunt @huntmob
}
Lain |
|
|
 |
|
|