View Single Post
  #2  
Old 12-21-2001, 03:57 PM
RICEJERRRY4 RICEJERRRY4 is offline
Registered User
Join Date: Jul 2001
Location: VA
Posts: 133
RICEJERRRY4 is on a distinguished road
Send a message via AIM to RICEJERRRY4
Re: NPCServer getting PMs

Quote:
Originally posted by Faheria_GP2
I think that whenever NPC-Server gets a PM, it should trigger "actionPM" to the control NPC, and in order to PM back, it would be something like

PM Faheria_GP2,Text;

so, some things could be added to the Control-NPC like

NPC Code:

if (actionPM) {
tokenize #p(0);
if (strequals(#p(0),Hello)) {
PM #p(1),Hi!;
}
}



In this example, #p(0) is the PM text, while #p(1) is the account of the player that sent it

I dunno if this is possible/practical or not, but it would be handy to have...
I like the Idea
__________________
Graal Nick Name:Rice
E-Mail:Forgot
Aim:Nothing5001

Reply With Quote