Code:
if ($1 == +v || -v || +h || -h || +o || -o || +m || -m || +i || -i)
This line is wrong, if you want to compare $1 with all of this, use either:
Quote:
if ($1 == +v) || ($1 == -v) || (...) { }
or $istok :
Code:
if ($istok(+v -v +h -h ...,$1,32)) { }


#mircscripting @ irc.swiftirc.net == the best mIRC help channel