Graal Forums

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

funnylinkwantsbomys 04-04-2001 08:54 AM

i found out a script that closes graal when you say anything rofl it really does the script is
// NPC made by Funnylink
if (playersays(heal)) {setlevel2 hospital1bomyroom.graal, 26, 27;} its a bad npc and when you say heal it gives you illigal operations rofl

04-04-2001 09:14 AM

olorlrfromaalalamala.alam,aoama
SHUT UP.

MoonAngel 04-04-2001 11:19 AM

u just have a crappy cpu, cause.. that script is mainly used for doors or something.. and it works for almost everyone =P

Lion'el-Jonson 04-04-2001 12:20 PM

HAW HAW HAW! ROLFZMAOLOLZ!

MoonAngel 04-04-2001 01:27 PM

has Lion'el-Jonson said

HAW HAW HAW! ROLFZMAOLOLZ!

vergil 04-04-2001 02:37 PM

used for doors.....?

grim_squeaker_x 04-04-2001 06:34 PM

Erm.
 
I usually use:
NPC Code:
if (playertouchsme) {
hide;
dontblock;
timeout = 3;
timereverywhere;
}
if (timeout) {
show;
blockagain;
}


For doors, then I just put the link somewhere behind them.

MoonAngel 04-05-2001 02:36 AM

i mean password doors... whatever!

like

if (playersays(UBERFUN)&&playertouchsme) {
setlevel2 blahblah.graal,32,60;
}

anyways, who cares? get a new cpu =P

grim_squeaker_x 04-05-2001 05:46 PM

Heh.
 
Password door script (for me):
NPC Code:
if (playerchats&&strequals(#c,blahblah)) {
hidelocal;
dontblocklocal;
setplayerprop #c,;
timeout = 3;
}
if (timeout) {
showlocal;
blockagainlocal;
}


vergil 04-06-2001 01:50 AM

i dont think you use timereverywhere Grim, doesn't that err make the timeout global.. that would effect the other scripts

grim_squeaker_x 04-06-2001 01:53 AM

Blah.
 
You're probably right, well I've got no online scripting experience whatsoever so that might have caused it ;)


All times are GMT +2. The time now is 09:07 PM.

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