Thread: addjury
View Single Post
  #3  
Old 02-01-2002, 06:44 AM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
Well here is what I would do (not sure if it would work):
NPC Code:

//here is the chatting script
if (playerchats&&startswith(addjury,#c)) {
tokenize #c;
if (strequals(#t(1),1)) {
setstring server.jury1,#t(2);
}
if (strequals(#t(1),2)) {
setstring server.jury2,#t(2);
}
//repeat the above for multiple jury members
}

//here an example NPC for a jury entrance
if (playertouchsme) {
if (strequals(#a,#s(server.jury1)) {
playery-=1;
}
}


That was totally off the top of my head...sorry if it doesn't help.
__________________

-=Shard IceFire=-
Reply With Quote