options: tag: &8[&6&lEVENT&8] command /event [] []: trigger: if arg 1 is not set: execute player command "event help" if argument 1 is "help": send "&a-=-=-=-=-= &6EVENT &a-=-=-=-=-=" send "&6/event ustaw &c- ustawia spawn eventu" send "&6/event oglos &c- oglasza event" send "&6/event tp &c- teleportuje na event" send "&6/event reload &c- reloaduje plugin" send "&a-=-=-=-=-= &6EVENT &a-=-=-=-=-=" if argument 1 is "ustaw": if argument 2 is not set: if player has permission "event.ustaw": set {event::miejsce} to location of player send "{@tag} &aUstawiles spawn eventu!" else: send "&cNie masz permisji!" if argument 1 is "oglos": if argument 2 is set: if player has permission "event.oglos": send "{@tag} &6ZAPRASZAMY NA EVENT %arg 2%! JESLI CHCESZ DOLANCZYC NAPISZ: /event tp" else: send "&cNie masz permisji!" else: send "&cPodaj gracza!" if argument 1 is "tp": if argument 2 is not set: teleport player to {event::miejsce} send "&aTeleportowales sie na spawn eventu!" if arg 1 is "reload": send "{@tag} &bPrzeladowywanie..." wait 1 second execute player command "sk reload %script%" wait 20 ticks send "{@tag} &bPrzeladowano plugin." if arg 1 is not "tp" or "ustaw" or "oglos" or "help": send "{@tag} &bUknown argument. Type &3/event help"