Enter room with Admin tag?

How do I make it where you can only enter a room if your tag is playername (Admin)?

if(playertouchsme&&strequals(#g,guild)){ hide; }

Or setlevel level;

Here, lemme help, lol. I’d do 2 things :0 For EXTRA security…
Put this NPC as the door…

if(playerenters){setimg door.png;}
if(playertouchsme){
if(strequals(#g,admin)){
setlevel2 LEVELNAME.NW,X,Y;
}
else if(!strequals(#g,admin)){
say2 #i(#3,0,64,32,32): The door is locked!;
}
}

If you wanted SUPER high security…you could place this into your level :0 In case somebody got in some how who isn’t an admin…

if(playerenters && !strequals(#g,admin)){
setlevel2 LEVELNAME,X,Y;
}

Make sure to replace LEVELNAME,X,Y; with the correct things for each script part

[QUOTE=Alex;71036]
Here, lemme help, lol. I’d do 2 things :0 For EXTRA security…
Put this NPC as the door…

if(playerenters){setimg door.png;}
if(playertouchsme && strequals(#g,admin)){
setlevel2 LEVELNAME.NW,X,Y;
}
else if(playertouchsme && !strequals(#g,admin)){
say2 #i(#3,0,64,32,32): The door is locked!;
}

If you wanted SUPER high security…you could place this into your level :0 In case somebody got in some how who isn’t an admin…

if(playerenters && !strequals(#g,admin)){
setlevel2 LEVELNAME,X,Y;
}

Make sure to replace LEVELNAME,X,Y; with the correct things for each script part
[/QUOTE]

Two playertouchsme flags >:| shame on you!

oh shuttup xD I’ll fix it x.x meh, you and jatz…always being differnet…I wonder why :0

[QUOTE=Alex;71064]oh shuttup xD I’ll fix it x.x meh, you and jatz…always being differnet…I wonder why :0[/QUOTE]

All my server flags r like that lol