View Single Post
  #4  
Old 08-05-2002, 12:25 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
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
Reply With Quote