EVENT_SAY{
[qote]
if ($1-=~ "Hail"){
say("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish.")}
if ($1-=~ "bind my soul"){
say("Very well. You will return to this spot when you die.") castspell($userid,2049)}
}
[/qote]
Ok the error you made is the following :
if ($1-=~ "bind my soul"){
say("Very well. You will return to this spot when you die.") castspell("$userid","2049")}
}
If you use this code for the Soulbinder instead it should work.. maybe you give it a try and tell me if it worked
|