PM Reply command
#2

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.
Reply


Messages In This Thread
PM Reply command - by Join7 - 04.11.2011, 20:27
Re: PM Reply command - by Calgon - 04.11.2011, 20:35
Re: PM Reply command - by Join7 - 04.11.2011, 20:53
Re: PM Reply command - by Join7 - 05.11.2011, 08:38

Forum Jump:


Users browsing this thread: 2 Guest(s)