every 1 second in "world":
loop all players:
add 1 to {playtime.%loop-player%}
command /sethome <text>:
trigger:
if arg 1 is set:
set {home.%arg-1%} to position of player
send "&7You have set your home &8(%arg-1%)"
if arg 1 is not set:
send "&7Correct usage: &c/sethome <homename>"
command /home <text>:
trigger:
if arg 1 is set:
teleport player to {home.%arg-1%}
send "&7You have teleported to your home! &8(%arg-1%)"
if arg 1 is not set:
send "&7Correct usage: &c/home <homename>"
command /delhome <text>:
trigger:
if arg-1 is set:
delete {home.%arg-1%}
send "&7You have deleted your home! &8(%arg-1%)"
if arg 1 is not set:
send "&7Correct usage: &c/delhome <homename>"
command /gmc:
trigger:
send player title "&7You have changed" with subtitle "&aGamemode&7!" for 3 seconds
set player's gamemode to creative
stop
command /gms:
trigger:
send player title "&7You have changed" with subtitle "&aGamemode&7!" for 3 seconds
set player's gamemode to survival
stop
command /tphere [<player>]:
trigger:
teleport arg-1 to player
send player title "&7You have teleported" with subtitle "&c&l%arg-%&7!" for 3 seconds
send arg-1 title "&7You have been" with subtitle "&7Teleported" for 3 seconds
command /prm [<player>] [<text>]:
trigger:
if arg-1 is not set:
if arg-2 is not set:
send "&7You have not written any message to this player!"
if arg-1 is set:
if arg-2 is set:
send "&7You have sent &a%arg-2% &7to &a%arg-1%&7!"
send "&7From &a%player%&7: &a%arg-2%" to arg-1
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}