command /czaszka [<text>]:
Trigger:
send "%{czaszka::%player%}%"
On death of player:
if {czaszki::%victim%} is set:
add 100 to attacker's balance
send "&aGracz &a%attacker% &azabil &aagresywnego gracza &a%victim% &a- &anagroda &a100$" to all players
Clear {czaszki::%victim%}
Else:
set {czaszki::%attacker%} to 24*60
Remove 100 from attacker's balance
send attacker title "&f☠" with subtitle "" for 6 seconds
send "&cGracz &c%attacker% &czabil &cpokojowego &cgracza &c%victim% &c- &ckara &c100$ &ci &cczaszka" to all players
Every minute:
loop {czaszki::*}:
Remove 1 from {czaszki::%loop-index%}
If {czaszki::%loop-index%} is 0:
Clear {czaszki::%loop-index%}
on join:
while player is online:
if {czaszki::%player%} is more than 0:
set {czaszka::%player%} to "☠"
else:
set {czaszka::%player%} to "&f"
wait 10 second