# Autorzy: iiPanda # Skrypt jest chroniony prawami autorskimi # Napisane na zlecenie Hvgdc # © iiPanda - 2017 # Pomysly i bledy piszcie na skype (kurunio301) lub email (jutuberek007@gmail.com) on join: set {%player%} to nieozeniony command /zwiazek [] []: trigger: if arg 1 is set: if arg 1 is online: if {%arg 1%} is nieozeniony: send "&aWitaj %arg 1%!&a Otrzymales/as zaproszenie do slubu od &c%player%&a!" send "&aZaprosiles gracza &c%arg 1% &ado slubu!" set {zwiazek.%arg 1%} to true set {%arg 1%} to %player% else: if arg 1 is set: if arg 1 is online: if {%arg 1%} is ozeniony: send "&aTen gracz jest juz ozeniony!" else: if arg 1 is not set: send "&aPodaj gracza!" else: if arg 1 is set: if arg 1 is tak: if arg 2 is set: if {zwiazek.%player%} is true: send "&aZaakceptowano zwiazek!" set {zwiazek.%player%} to %arg 2% broadcast "&c{%arg 2%} &aożenił się z &c%player%&a!" set {%arg 2%} to ozeniony set {%player%} to ozeniony else: if {zwiazek.%player%} is false: send "&aNie masz prosby slubu!" else: if {%player%} is not %arg 2%: send "&aTen gracz nie chcial z toba slubu!" else: if arg 1 is set: if arg 1 is nie: if arg 2 is set: if {zwiazek.%player%} is true: send "&aOdrzucono zwiazek!" set {zwiazek.%player%} to false set {%player%} to nieozeniony else: if {zwiazek.%player%} is false: send "&aNie masz prosby slubu!" else: if {%player%} is not %arg 2%: send "&aTen gracz nie chcial z toba slubu!" else: if arg 1 is tak or nie: if arg 2 is not set: send "&aPodaj gracza!" else: if arg 1 is tp: teleport player to {zwiazek.%player%} send "&aPrzeteleportowano do partnera!"