Password blocks? that has to be the easiest thing to script in all of graal. I'm Suprised they haven't done it.
Let's say the player sets the password with a gui and it sets "this.password".
No clue what their api for the gui/furniture is so I'll just show this
PHP Code:
//#CLIENTSIDE
function onplayerchats()
{
if(player.chat == this.password)
{
hide();
sleep(2);
show();
}
}
|
Itīs not only that simple part. You also have to place the stuff to set the password which will kept stored on the level even if it gets updated. I can understand that itīs not hard but they will be able to do it.