Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   NPCServer getting PMs (https://forums.graalonline.com/forums/showthread.php?t=19243)

Faheria_GP2 12-20-2001 06:31 AM

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

RICEJERRRY4 12-21-2001 03:57 PM

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

royce 12-22-2001 03:56 AM

yah.....a npc server bot......lol coolio

spi 12-22-2001 07:49 AM

make it like smarterchild

Python523 12-22-2001 02:11 PM

Quote:

Originally posted by spi
make it like smarterchild
I always get ignored by smarterchild, just because I say your mom he always says apoliogize

Faheria_GP2 12-23-2001 08:39 AM

yes, i was thinking about making Faheria's NPC-Server answer questions about players

such as

"Nick of [account]" or "Info: [account]", or maybe "Gralatcount"

while providing a smarterchild like atmosphere

Slaktmaster 12-24-2001 10:42 PM

sex bot

PHP Code:

if (strequals(#p(0),hi)) {pm "TAKE ME! HARD! =)" 



All times are GMT +2. The time now is 06:39 AM.

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