variables: {lvl::%player%} = 1 {exp::%player%} = 0 {wymag::%player%} = 100 options: next: 1,2 tag: &8[&6Parkour&8] chat: &8[&3LvL {LVL}&8] &8{PLAYER} &2:&c&o {MESSAGE} on chat: cancel event set {_chat} to "{@chat}" replace all "{PLAYER}" with "%colored display name of player%" in {_chat} replace all "{MESSAGE}" with "%colored message%" in {_chat} replace all "{LVL}" with "%{lvl::%player%}%" in {_chat} broadcast "%{_chat}%" on death: if attacker is a player: if victim is a zombie: if victim's name is "&6Slaby Zombie &8[&6Lvl.1&8]": add 2 to {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 250: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "&8> &7Awansowales na &6%{lvl::%attacker%}% poziom&7!" to attacker on death: if attacker is a player: if victim is a zombie: if victim's name is "&6Zombie &8[&6Lvl.3&8]": add 4 {exp::%attacker%} if {exp::%attacker%} > {wymag::%attacker%}: if {lvl::%attacker%} < 250: set {_exp} to ({exp::%attacker%} - {wymag::%attacker%}) set {exp::%attacker%} to {_exp} set {wymag::%attacker%} to (({wymag::%attacker%} / 5 ) * 6) add 1 to {lvl::%attacker%} send "%8> &7Awansowales na &6 %{lvl::%attacker%}% poziom!" to attacker if {lvl::%attacker%} = 10: send "&7Gracz &5%attacker% &7osiągnął właśnie 10 lvl." to all players if {lvl::%attacker%} = 20: send "&7Gracz &5%attacker% &7osiągnął właśnie 20 lvl." to all players if {lvl::%attacker%} = 30: send "&7Gracz &5%attacker% &7osiągnął właśnie 30 lvl." to all players if {lvl::%attacker%} = 40: send "&7Gracz &5%attacker% &7osiągnął właśnie 40 lvl." to all players else: send "&3&lRPG &1> &aOsiagnales najwyzszy, &6%{lvl::%attacker%}% wymag&a!" to attacker command /poziom []: trigger: set {_next} to ({wymag::%player%} - {exp::%player%}) send "&3&lRPG &1> &aAktualnie posiadasz &5%{exp::%player%}% xp &a, &5%{lvl::%player%}% poziom&7. Do nastepnego poziomu brakuje Ci &d%{_next}% xp&a." send "&3&lRPG &1> &aWymagane: &6%{wymag::%player%}% &axp" command /resetujpoziom: description: Resetuje poziom gracza trigger: set {wymag::%player%} to 100 set {exp::%player%} to 0 set {lvl::%player%} to 1 send "&3&lRPG &1> &aPomyślnie zresetowałeś/aś swój poziom" to player