PDA

View Full Version : NPCServer getting PMs


Faheria_GP2
12-20-2001, 06:31 AM
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


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


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

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