variables: ranga.%player% = "Wloczega" command /awansuj : trigger: if {dowoKH.%player%} is 1: if argument 2 is "Paladyn": set {mag.%player%} to 1 set {ranga.%argument 1%} to "&CPaladyn&f" set the maximum health of argument 1 to 30 send "&7Zostales Paladynem!&f" to arg-1 else if argument 2 is "Rycerz": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&CRycerz&f" set the maximum health of argument 1 to 25 send "&7Zostales Rycerzem Innosa!&f" to arg-1 else if argument 2 is "cStraznik": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&CeStraznik&f" set the maximum health of argument 1 to 20 send "&7Od dzisiaj jestes elitarnym straznikiem Khorinis!&f" to arg-1 else if argument 2 is "Straznik": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&CStraznik&f" set the maximum health of argument 1 to 15 send "&7Zostales straznikiem Khorinis!&f" to arg-1 else if argument 2 is "Obywatel": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&7Obywatel&f" set the maximum health of argument 1 to 10 send "&7Od dzisiaj jestes pelnoprawnym obywatelem Khorinis!&f" to arg-1 else if argument 2 is "Farmer": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&7Farmer&f" set the maximum health of argument 1 to 10 send "&7Zostales farmerem!&f" to arg-1 else if argument 2 is "Mysliwy": set {skora.%player%} to 1 set {ranga.%argument 1%} to "Mysliwy" set the maximum health of argument 1 to 15 send "&7Zostales mysliwym!&f" to arg-1 else if {dowoNA.%player%} is 1: if argument 2 is "eLowcaSmokow": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&9eLowcaSmokow&f" set the maximum health of argument 1 to 30 send "&7Od dnia dzisiejszego jestes elitarnym lowca smokow!&f" to arg-1 else if argument 2 is "LowcaSmokow": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&9LowcaSmokow&f" set the maximum health of argument 1 to 25 send "&fOd teraz mozesz nazywac sie lowca smokow!&f" to arg-1 else if argument 2 is "eNajemnik": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&9eNajemnik&f" set the maximum health of argument 1 to 20 send "&7Zostales elitarnym najemnikiem Lee!&f" to arg-1 else if argument 2 is "Najemnik": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&9Najemnik&f" set the maximum health of argument 1 to 15 send "&7Od dzisiaj jestes najemnikiem!&f" to arg-1 else if argument 2 is "Farmer": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&7Farmer&f" set the maximum health of argument 1 to 10 send "&7Zostales farmerem!&f" to arg-1 to arg-1 else if argument 2 is "Mysliwy": set {skora.%player%} to 1 set {ranga.%argument 1%} to "Mysliwy" set the maximum health of argument 1 to 15 send "&7Zostales mysliwym!&f" to arg-1 else if {dowoKL.%player%} is 1: if argument 2 is "Nowicjusz": set {ranga.%argument 1%} to "&ENowicjusz&f" set {mag.%argument 1%} to 1 set the maximum health of argument 1 to 15 send "&7Zostales nowicjuszem w Klasztorze Innosa!&f" to arg-1 else if argument 2 is "MagOgnia": set {ranga.%argument 1%} to "&6MagOgnia&f" set {mag.%argument 1%} to 1 set the maximum health of argument 1 to 20 send "&7Od teraz jestes Magiem w sluzbie Innosa!&f" to arg-1 else if {dowoBA.%player%} is 1: if argument 2 is "Zwiadowca": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&2Zwiadowca&f" set the maximum health of argument 1 to 15 send "&7Jestes zwiadowca!&f" to arg-1 else if argument 2 is "Rabus": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&2Rabus&f" set the maximum health of argument 1 to 20 send "&7Zostales rabus!&f" to arg-1 else if argument 2 is "Bandyta": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&2Bandyta&f" set the maximum health of argument 1 to 25 send "&7Zostales bandyta!&f" to arg-1 set {mag.%player%} to 0 else if argument 2 is "sBandyta": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&2StarszyBandyta&f" set the maximum health of argument 1 to 30 send "&7Jestes starszym bandyta!&f" to arg-1 else: send "&cNie jestes dowodca&f" command /dowodca : permission: awansuj.dowodca trigger: if argument 2 is "dowoKH": set {mag.%player%} to 1 set {ranga.%argument 1%} to "&CLord&f" to arg-1 set the maximum health of argument 1 to 40 set {dowoKH.%argument 1%} to 1 send "&cZostales Lordem w Khorinis!&f" to arg-1 else if argument 2 is "dowoNA": set {mag.%player%} to 0 set {ranga.%argument 1%} to "&9Dowodca&f" set the maximum health of argument 1 to 40 set {dowoNA.%argument 1%} to 1 send "&cZostales Dowodca najemnikow!&f" to arg-1 else if argument 2 is "dowoKL": set {ranga.%argument 1%} to "&4ArcymagOgnia&f" set the maximum health of argument 1 to 30 set {dowoKL.%argument 1%} to 1 set {mag.%argument 1%} to 1 send "&cZostales Arcymagiem ognia w Klasztorze Innosa!&f" to arg-1 else if argument 2 is "dowoBA": set {mag.%player%} to 0 set {dowoBA.%argument 1%} to 1 set {ranga.%argument 1%} to "&2Herszt&f" set the maximum health of argument 1 to 35 send "&cZostales Hersztem bandytow!&f" to arg-1 on death of wolf: attacker is player: victim is wolf: chance of 20%: drop 2 raw beef named "&fSurowe mieso" at victim chance of 40%: drop 1 raw beef named "&fSurowe mieso" at victim if {ranga.%attacker%} is "Mysliwy": drop 1 leather named "&fSkora wilka" at victim drop 2 raw beef named "&fSurowe mieso" at victim command /mysliwy : permission: mysliwy.das trigger: set {skora.%argument 1%} to 1 set the maximum health of argument 1 to 15 set {ranga.%argument 1%} to "Mysliwy" send "&cZostales mysliwym!&f"