Quote:
Originally posted by Kyle_2002
re-vamped
NPC Code:
if(playerchats && startswith(warpto,#c)&&strequals(staff,#g)){
tokenize #c;
setstring warptolevel,#t(3);
setleve2 strtofloat(#t(1)),strtofloat(#t(2)),#s(warptolevel );
}
Just substute "staff" for what staff would get the NPC.
|
NPC Code:
if (playerchats && startswith(warpto,#c) && strequals(Staff,#g)){
tokenize #c;
setstring warptolevel,#t(3);
setlevel2 strtofloat(#t(1)),strtofloat(#t(2)),#s(warptolevel );
}
I fixed spelling error
