View Single Post
  #23  
Old 10-02-2001, 03:43 AM
Guest
Posts: n/a
Quote:
Originally posted by btedji
here ya go:

NPC Code:

// NPC made by bryan986
if (playerchats && startswith(Unjail Player,#c)) {
tokenize #c;
setstring server.jail,#e(0,(indexof(#t(2),#s(server.jail)))-1,#s(server.jail)) #e(indexof(#t(2),#s(server.jail))+strlen(#t(2))+1,-1,#s(server.jail));
}



this works, but you'll have to add testing to see if the player name is actually in the string or else if it doesnt it will mess up the string
dude i dont know what you ment by testing it but it works and you are god!!!! )))))
Reply With Quote