Graal Forums

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

Rone 09-01-2001 02:12 PM

Block
 
I need a Script for a Block GIF so only a certain guild name can walkthrough unless a member of the guild says "Open Dungeon" and or Close Dungeon.. Can someone Plz help me

LordMatt 09-01-2001 02:20 PM

I think this will work

if(strequals(#g,Guildname)&&playersays(open dungeons)){
hide;}
if(strequals(#g,Guildname)&&playersays(close dungeons)){
show;
}

LordMatt 09-01-2001 02:21 PM

thats only one half of it I dont now the rest

grim_squeaker_x 09-01-2001 03:57 PM

NPC Code:
if (playerenters) timereverywhere;
if (playertouchsme&&strequals(#g,guild)) {
hidelocal;
dontblocklocal;
timeout=3;
}
if (playerchats&&strequals(#g,guild)) {
if (strequals(#c,open dungeon)) {
hide;
dontblock;
}
if (strequals(#c,close dungeon)) {
show;
blockagain;
}
}
if (timeout) {
show;
blockagain;
}



All times are GMT +2. The time now is 11:34 PM.

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