cmd create door1 § Open door
1 cmd add door1 if %args% [1] = CODE then goto 4
2 cmd add door1 message %p% §e [§cD§e] §cWrong Code.
3 cmd add door1 exit
4 cmd add door1 message %p% §e [§aD§e] §aDoor open.
5 cmd add door1 block flat X Y Z 0 X Y Z
6 cmd add door1 sleep 3
7 cmd add door1 block flat X Y Z IDBLOCK X Y Z
8 cmd add door1 message %p% §e [§aD§e] §aDoor closed again.
at line 1 where "CODE" is stated must be a code
At lines 5 and 7 where "X Y & Z" is stated you have to fill in the coordinates of the door location
at line 7 where "ID" is stated you must enter the ID of the blocks / door
1 cmd add door1 if %args% [1] = CODE then goto 4
2 cmd add door1 message %p% §e [§cD§e] §cWrong Code.
3 cmd add door1 exit
4 cmd add door1 message %p% §e [§aD§e] §aDoor open.
5 cmd add door1 block flat X Y Z 0 X Y Z
6 cmd add door1 sleep 3
7 cmd add door1 block flat X Y Z IDBLOCK X Y Z
8 cmd add door1 message %p% §e [§aD§e] §aDoor closed again.
at line 1 where "CODE" is stated must be a code
At lines 5 and 7 where "X Y & Z" is stated you have to fill in the coordinates of the door location
at line 7 where "ID" is stated you must enter the ID of the blocks / door