04.11.2011, 20:35
I'm not going to write the code for you while you have that horrid strtok command processor in use, but I'll explain a method of doing it:
Set a PVar when someone sends a PM to the person who should be receiving it, store the ID of the person who just sent the PM in the pvar, and in /reply, check the PVar and use the ID as the new receipient of the PM for /reply.
Clear the PVar when either of the players log off.
Set a PVar when someone sends a PM to the person who should be receiving it, store the ID of the person who just sent the PM in the pvar, and in /reply, check the PVar and use the ID as the new receipient of the PM for /reply.
Clear the PVar when either of the players log off.