|
wait so what code do i use?
|
You should use Beholder ones
Offline level editor hasn't been updated since around 2004 and uses GraalScript v1 (Because they don't love any of you)
GS1 :
PHP Code:
if(playerchats && strequals(#c,/open)
&& (strequals(#a,Graal771281) || strequals(#g,Events Team))) {
hide;
sleep 10;
show;
}
|
or maybe if you don't need the account/guild check:
PHP Code:
if (playerchats && strequals(#c,/open) {
hide;
sleep 10;
show;
}
For online usage you should use:
PHP Code:
function onPlayerChats() {
if (player.chat == "/open") {
hide();
sleep(5);
showagain(); //or just show() not sure
}
}