hey, i know most of you got annoyed because i was asking for scripts that were wayyy above my scripting level, so iv decided to stick to easier things for now, basicly what iv tried to make is a door that if u write /open and your account is allowed to it will alloe you to enter the level when you touch it but if the account writes /close it closes it and you cant enter the level..
here is what i have so far..
the account and /open and /close work
but i cant get the if playertouchsme bit to work..
as for the player.chat once i get it working il change that to setlevel2("level.nw",30,30);
PHP Code:
function onPlayerChats(){
if (player.account == "Graal780374"){
if (player.chat == "/open"){
this.chat = "Secret Room Is Open!";
if (playertouchsme){
player.chat = "open";
}
}
if (player.chat == "/close"){
this.chat = "Secret Room Is Closed!";
}
if (playertouchsme){
player.chat = "closed";
}
}
}
Any Help Your Willing TO Give Is Much Appreciated
Thanks
-Gunderak