Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &8&l[&6&lZC&8&l]&7 OX%{dw}%
- command /ox [<text>] [<text>]:
- trigger:
- if player has permissions "*" or "ox.admin":
- arg 1 is "brama":
- execute console command "pex user %player% add worldedit.*"
- execute console command "pex user %player% add worldguard.*"
- wait a tick
- execute player command "rg select ox-brama"
- wait a tick
- execute player command "//set 0"
- wait 12 seconds
- execute console command "pex user %player% add worldedit.*"
- execute console command "pex user %player% add worldguard.*"
- execute player command "//undo"
- execute player command "//set glass"
- execute console command "pex user %player% remove worldedit.*"
- execute console command "pex user %player% remove worldguard.*"
- arg 1 is not set:
- send "&cUzycie:"
- send "&c/ox tak/nie <pytanie"
- send "&c/ox start/stop"
- send "&c/ox brama"
- if arg 1 is "start":
- if {ox} is false:
- set {ox} to true
- broadcast "{@logo} Event wystartowal"
- wait a tick
- if {ox} is true:
- send "Event jest juz wlaczony.."
- if arg 1 is "stop":
- if {ox} is true:
- set {ox} to false
- broadcast "{@logo} Event zatrzymany"
- wait a tick
- if {ox} is false:
- send "event jest juz wylaczony"
- if arg 1 is "tak" or "yes":
- arg 2 is set:
- if {ox} is true:
- execute console command "pex user %player% add worldedit.*"
- execute console command "pex user %player% add worldguard.*"
- wait a tick
- execute player command "rg select ox-tak"
- broadcast "{@logo}&2&l %arg 2%"
- wait 6 seconds
- execute player command "rg select ox-tak"
- wait 1 seconds
- execute player command "//set 0"
- wait 2 seconds
- execute player command "//undo"
- execute console command "pex user %player% remove worldedit.*"
- execute console command "pex user %player% remove worldguard.*"
- if {ox} is false:
- send "Event ox jest wylaczony.."
- arg 2 is not set:
- send "Uzycie /ox tak <pytanie>"
- if arg 1 is "nie" or "no":
- arg 2 is set:
- if {ox} is true:
- execute console command "pex user %player% add worldedit.*"
- execute console command "pex user %player% add worldguard.*"
- execute player command "rg select ox-nie"
- broadcast "{@logo}&2&l %arg 2%"
- wait 7 seconds
- execute player command "rg select ox-nie"
- execute player command "//set 0"
- wait 3 seconds
- execute player command "//undo"
- execute console command "pex user %player% remove worldedit.*"
- execute console command "pex user %player% remove worldguard.*"
- if {ox} is false:
- send "Event ox jest wylaczony.."
- arg 2 is not set:
- send "Uzycie /ox nie <pytanie>"
- on join:
- execute console command "pex user %player% remove worldedit.*"
- execute console command "pex user %player% remove worldguard.*"
Advertisement
Add Comment
Please, Sign In to add comment