command /swinia [<text>] [<number>]:
trigger:
if player has permission "swinia.admin":
if arg-1 is "set":
if arg-2 is set:
if arg-2 is 1 or 2 or 3 or 4 or 5:
if arg-2 is not 5:
set {swiniaa.%arg-2%} to location of player
send "Ustawiono: %{swiniaa.%arg-2%}%" to the player
else:
set {swinka} to location of block at location of player
send "Ustawiono: %{swinka}%" to the player
every 2 real seconds:
loop 1 times:
if number of players in radius 7 around block at {swinka} is greater than 0:
spawn pig at {swiniaa.1}
set max health of last spawned entity to 0.5
set health of last spawned entity to 0.5
set name of last spawned entity to "&4Nooo, im died :c"
ignite last spawned entity
spawn pig at {swiniaa.2}
set max health of last spawned entity to 0.5
set health of last spawned entity to 0.5
set name of last spawned entity to "&4Nooo, im died :c"
ignite last spawned entity
spawn pig at {swiniaa.3}
set max health of last spawned entity to 0.5
set health of last spawned entity to 0.5
set name of last spawned entity to "&4Nooo, im died :c"
ignite last spawned entity
spawn pig at {swiniaa.4}
set max health of last spawned entity to 0.5
set health of last spawned entity to 0.5
set name of last spawned entity to "&4Nooo, im died :c"
ignite last spawned entity
{"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"}