View Single Post
  #1  
Old 01-09-2018, 06:46 PM
Lane
Sarnak
 
Join Date: Dec 2010
Posts: 62
Default Change Class + Zone ?

Hi guys, I'm trying to get this quest to change the client to a warrior while also zoning them to the Greater Faydark. Is this possible because the permaclass command causes you to disconnect?

Thank you

Code:
sub EVENT_SAY {
if($text =~/Hail/i) { 
quest::say ("Innoruuk deserved to die, as did you. It's a pity that [$Rallos] brought you here!");
}
if ($text =~/Rallos/i) {
quest::say ("Yes, my foolish father, Rallos Zek. He saved you! Now he demands you return to the world of the [$living].");
}
if ($text =~/living/i) {
quest::say ("Norrath you fool! Now do you [$pledge] allegiance to the Warlord?");
}
if ($text =~/pledge/i) {
quest::say ("Welcome young warrior. Now get out of my sight!");
quest::permaclass(1);
quest::movepc(138,0,0,0);
}
}
Reply With Quote