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
  #1  
Old 12-20-2001, 06:31 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
NPCServer getting PMs

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...
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 10:43 PM.


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