command /skulls:check []: trigger: loop {czaszki::*}: send "&8&l[&f☠&8&l]&7: &aGracz &c%loop-index% &aposiada ☠!" on death of player: "%all players%" contain "%attacker%" if {czaszki::%victim%} is set: add 100 to attacker's balance send "&aGracz &a%attacker% &azabil &aagresywnego gracza &a%victim%&a!" to all players send title "&f☠" with subtitle "&2Zabiłeś &2agresywnego &2gracza! &2+100$" to attacker for 5 seconds with fadein 1 second and fade out 1 second execute console command "/tab player %victim% tagsuffix " execute console command "/tab player %victim% tabsuffix " clear {czaszki::%victim%} else: set {czaszki::%attacker%} to 24*60 remove 1000 from ("%attacker%" parsed as player)'s balance send title "&f☠" with subtitle "&4Zabiłeś &4pokojowego &4gracza! &4-1000$" to attacker for 5 seconds with fadein 1 second and fade out 1 second send "&cGracz &c%attacker% &czabil &cpokojowego &cgracza &c%victim%&c!" to all players execute console command "/tab player %attacker% tagsuffix &r ☠" execute console command "/tab player %attacker% tabsuffix &r ☠" every minute: loop {czaszki::*}: remove 1 from {czaszki::%loop-index%} if {czaszki::%loop-index%} is 0: clear {czaszki::%loop-index%} execute console command "/tab player %loop-index% tagsuffix " execute console command "/tab player %loop-index% tabsuffix " 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 command /skulls:reset []: permission: czaszki.reset permission message: &cNie masz uprawnień aby to zrobić! trigger: if arg is set: clear {czaszki::%arg 1%} send "&8&l[&f☠&8&l]&7: &c%arg 1% &fNie posiada już czaszki." execute console command "/tab player %argument% tagsuffix " execute console command "/tab player %argument% tabsuffix " stop else: send "&7Poprawne uzycie tej komendy:&a /skulls:reset nick" stop command /skulls:give []: permission: czaszki.give permission message: &cNie masz uprawnień aby to zrobić! trigger: if arg is set: set {czaszki::%arg 1%} to 24*60 send "&8&l[&f☠&8&l]&7: &c%arg 1% &fOtrzymuje czaszke" execute console command "/tab player %argument% tagsuffix &r ☠" execute console command "/tab player %argument% tabsuffix &r ☠" stop else: send "&7Poprawne uzycie tej komendy:&a /skulls:give nick " stop