quest::selfcast
quest::selfcast
Explaination: Makes the player cast a spell on themselves.
Full Command: quest::selfcast(spellid)
SpellID = The ID of the spell to cast taken from the spells_us.txt
Example:
# After hailing, the player casts bind affinity on themselves.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::selfcast($userid,2049);
}
}
|