$spell(available) available??!

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

motd2k
a ghoul
a ghoul
Posts: 141
Joined: Fri Oct 25, 2002 9:46 am

$spell(available) available??!

Post by motd2k » Sun Sep 14, 2003 8:09 am

Had a quick search but couldnt find anything relevent. Does anyone know if its possible to 'check' if a spell memmed into a gem is available, i.e. if it's recast timer has expired and it's no longer greyed?


Thanks

MOTD

EDIT: Okay found it should be /if n $char(gem,"Ice Shock")!=-2.... but $char(gem,"Ice Shock") always=-2.... possible bug in $char(gem)