Thread: Jailer Script
View Single Post
  #5  
Old 06-12-2001, 08:56 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
but...

Im not sure that would work.... Simply for the fact that the player chatting has set the flag therefor all actions are bassed on him. whethere or not its looking for another player... I duno though, I havnt been scripting non - p2p for a while so im a lil out of it.. But im pretty sure thats not posible..

You could however have something in a players wepons (system npc?) and then you could do
NPC Code:

if (playerchats && strcontains(#c,jail)) {
tokenize #c;
if (strequals(#t(0),jail)) {
setstring server.jailplayer,#t(1);
}
}



and in the players system have

NPC Code:
 
if (strequals(#a,#s(server.jailplayer))) {
setlevel2 jail.graal,30,30;
setstring server.jailplayer,;
}



I duno. Pick a number. anynumber. hehe
__________________

subliminal message: 1+1=3
Reply With Quote