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