Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Script (https://forums.graalonline.com/forums/showthread.php?t=59611)

Foggy 06-24-2005 08:11 PM

Script
 
If anyone could tell me the form for a script that responds when saying something plz send to this Address or replay back plz

THX,
FOGGY

maximus_asinus 06-24-2005 08:38 PM

I assume you mean with the NPC Server or...?

Foggy 06-24-2005 09:40 PM

yes

Kaimetsu 06-24-2005 09:58 PM

NPC Code:
if (playerchats) {
if (strequals(#c,whatever)) {
//do stuff
}
}



playerchats is an event, strequals is a function that checks two strings for equality, #c is a pseudo-variable that holds the player's chat text.

Curt1zzle 06-24-2005 10:33 PM

Quote:

Originally Posted by Kaimetsu
NPC Code:
if (playerchats) {
if (strequals(#c,whatever)) {
//do stuff
}
}



playerchats is an event, strequals is a function that checks two strings for equality, #c is a pseudo-variable that holds the player's chat text.


As much as that helped him, it didn't.

He wants the NPC-Server to respond to PM's, I believe.

Kaimetsu 06-24-2005 11:12 PM

Quote:

Originally Posted by Curt1zzle
He wants the NPC-Server to respond to PM's, I believe.

Y'think? How can you tell?

Curt1zzle 06-24-2005 11:13 PM

Quote:

Originally Posted by Kaimetsu
Y'think? How can you tell?

Woman's intuition.

Kaimetsu 06-24-2005 11:17 PM

Quote:

Originally Posted by Curt1zzle
Woman's intuition.

Oh. See, I don't have that.

Curt1zzle 06-24-2005 11:30 PM

Quote:

Originally Posted by Kaimetsu
Oh. See, I don't have that.

It's sort of like the Spider Sense, except it strikes back at me about once a month... :whatever:

Chris 06-25-2005 12:32 AM

Quote:

Originally Posted by Curt1zzle
It's sort of like the Spider Sense, except it strikes back at me about once a month... :whatever:

http://pics.drugstore.com/prodimg/10182/200.jpg

Blitz_Hunter 06-25-2005 01:17 AM

Quote:

Originally Posted by Chris

XD! *****. Nice.
;)

Curt1zzle 06-25-2005 05:31 AM

Quote:

Originally Posted by Chris

Oh hell yes...that and a pint of Ben and Jerry's cherry garcia!

Foggy 06-25-2005 11:50 AM

THANX alot peole that will do thx

KuJi 06-26-2005 03:15 AM

Was what he wanted even done?

Python523 06-26-2005 04:20 AM

This thread is wayyyyyyyy off topic and just plain pointless.


All times are GMT +2. The time now is 02:14 PM.

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