Difference between revisions of "RemoveSpell"
Jump to navigation
Jump to search
imported>JOG (Another example) |
imported>Csimbi m (→See Also: - added link to preventing messages) |
||
Line 15: | Line 15: | ||
==See Also== | ==See Also== | ||
[[AddSpell]] | [[AddSpell]] | ||
[[Preventing messages]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Magic Functions]] | [[Category: Magic Functions]] |
Revision as of 09:29, 21 January 2007
Removes the specified spell from the caller's spell list. This function returns 1 if the spell is successfully removed from the caller, and 0 if the spell cannot be removed (e.g. if they don't have the spell in their spell list in the first place)
Syntax:
RemoveSpell SpellID
Examples:
RemoveSpell DisTickleBritch
If Removespell WeirdAbility == 0 ; Toggle Ability on/off Addspell WeirdAbility Endif