# Wymaga pyraTop REBORN- https://skript.pl/temat/36238-pyratop-reborn-skrypt-na-tworzenie-topki-wydanie-trzecie/ on first join: set {reputacja::limit::%player%} to 0 set {reptuacja::%player%} to 0 command /rep [] []: trigger: if arg 1 is "+": if offlineplayer is online: if {reputacja::limit::%player%} is 0: send "&7[&6REP&7] &a+rep dla %arg 2%" to player send "&7[&6REP&7] &a+rep od %player% !" to arg 2 set {reputacja::limit::%player%} to 1 add 1 to {reputacja::%arg 2%} else: send "&cOsiagnales limit reputacji!" to player else: send "&c%arg 2% jest offline!" to player if arg 1 is "-": if offlineplayer is online: if {reputacja::limit::%player%} is 0: send "&7[&6REP&7] &a-rep dla %arg 2%" to player send "&7[&6REP&7] &a-rep od %player% !" to arg 2 set {reputacja::limit::%player%} to 1 remove 1 from {reputacja::%arg 2%} if arg 1 is "gracz": if arg 2 is set: send "&7[&6REP&7] &7Liczba reputacji gracza %arg 2%: %{reputacja::%arg 2%}%" to player else: send "&cPodaj gracza!" to player if arg 1 is "top": send createTop("reptuacja", 10, all offline players)