Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.