I found a fix for what I just placed for that #IF statement.
#IF ("%1"="specific") {
#SAY AUTOBREW
autobrew
} {
#SAY POTIONCHANGE
potionchange @autopot
}
Since I passed the test string through the %1 argument of the alias call, it works. For some reason when I do text #IF statements like the following:
#IF (@VARNAME="blazeward") {#var autopot {demonskin}}
Zmud seems to think that {#var autopot {demonskin}}
is the false part instead of the true because if I change the = to a != it will run the commands. If I insert brackets before or after the commands it still won't allow me to make a true command list. This is kinda weird. Infact I have some scripts that are the same as the working ones with no different options selected on the same character that don't work. Any idea why?
FIX: For some reason if I use
#IF (%1="dragonskin") {
#SAY AUTOBREW
autobrew
} {}
it will work, but only if I remove the "" around %1 even though it works in the other one.
Why do you taunt me with your darkness?
Your evil is stinking up our streets!
The END is near, the end if NEAR!