Advertisement
Guest User

OX

a guest
Mar 26th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     tag: &7[&4&lOX&7]
  3.  
  4. command /ox [<text>] [<text>] [<text>]:
  5.     permission: event.ox
  6.     permission message: &4Nie masz dostepu do tej komendy.
  7.     trigger:
  8.         arg 1 is not set:
  9.             send "&a=========={@tag}&a=========="
  10.             send "&f/ox start - oglasza event"
  11.             send "&f/ox pytanie - zadaje pytanie"
  12.             send "&a=========={@tag}&a=========="        
  13.         arg 1 is "start":
  14.             send "{@tag}&f Za 2 minuty rozpocznie sie EVENT OX!" to all players
  15.             wait 30 second
  16.             send "{@tag}&f Wejscie do komory eventowej zostalo otwarte!" to all players
  17.             execute player command "/region select wejscieox"
  18.             execute player command "//set 0"
  19.             wait 30 second
  20.             send "{@tag}&f Event rozpocznie sie za 60 sekund!" to all players
  21.             wait 30 second
  22.             send "{@tag}&f Event rozpocznie sie za 30 sekund!" to all players
  23.             wait 15 second
  24.             send "{@tag}&f Event rozpocznie sie za 15 sekund!" to all players
  25.             wait 5 second
  26.             send "{@tag}&f Event rozpocznie sie za 10 sekund!" to all players
  27.             wait 5 second
  28.             send "{@tag}&f Event rozpocznie sie za 5 sekund!" to all players
  29.             wait 1 second
  30.             send "{@tag}&f Event rozpocznie sie za 4 sekundy!" to all players
  31.             wait 1 second
  32.             send "{@tag}&f Event rozpocznie sie za 3 sekundy!" to all players
  33.             wait 1 second
  34.             send "{@tag}&f Event rozpocznie sie za 2 sekundy!" to all players
  35.             wait 1 second
  36.             send "{@tag}&f Event rozpocznie sie za 1 sekunde!" to all players
  37.             wait 1 second
  38.             send "{@tag}&f Wejscie do komory eventowej zostalo zamkniete!" to all players
  39.             execute console command "/chat off"
  40.             execute player command "/region select wejscieox"
  41.             execute player command "//set glass"
  42.             execute player command "/region select bialeox"
  43.             execute player command "//set wool"
  44.             execute player command "/region select zieloneox"
  45.             execute player command "//set wool:5"
  46.             execute player command "/region select czerwoneox"
  47.             execute player command "//set wool:red"
  48.             wait 1 second
  49.             send "{@tag}&f EVENT OX rozpoczal sie!" to all players
  50.         arg 1 is "pytanie":
  51.             arg 2 is not set:
  52.                 send "&a/ox pytanie &7[&cTresc&7] [&cOdpowiedz TAK/NIE&7]"
  53.                 stop
  54.             arg 3 is not set:
  55.                 send "&a/ox pytanie &7[&cTresc&7] [&cOdpowiedz TAK/NIE&7]"
  56.                 stop
  57.             broadcast "{@tag}&f %arg 2%"
  58.             wait 5 second
  59.             send "{@tag}&f Biale pole zniknie za 5 sekund." to all players
  60.             wait 1 second
  61.             send "{@tag}&f Biale pole zniknie za 4 sekundy." to all players
  62.             wait 1 second
  63.             send "{@tag}&f Biale pole zniknie za 3 sekundy." to all players
  64.             wait 1 second
  65.             send "{@tag}&f Biale pole zniknie za 2 sekundy." to all players
  66.             wait 1 second
  67.             send "{@tag}&f Biale pole zniknie za 1 sekunde." to all players
  68.             wait 1 second
  69.             send "{@tag}&f Biale pole zniklo." to all players
  70.             execute player command "/region select BialeOX"
  71.             execute player command "//set 0"
  72.             wait 5 second
  73.             arg 3 is "tak":
  74.                 send "{@tag}&f Poprawna odpowiedz to &2&lTAK&f!" to all players
  75.                 execute player command "/region select CzerwoneOX"
  76.                 execute player command "//set 0"
  77.                 wait 3 second
  78.                 execute player command "/region select CzerwoneOX"
  79.                 execute player command "//set 35:14"
  80.                 execute player command "/region select BialeOX"
  81.                 execute player command "//set 35:0"
  82.                 stop
  83.             arg 3 is "nie":
  84.                 send "{@tag}&f Poprawna odpowiedz to &4&lNIE&f!" to all players
  85.                 execute player command "/region select ZieloneOX"
  86.                 execute player command "//set 0"
  87.                 wait 3 second
  88.                 execute player command "/region select ZieloneOX"
  89.                 execute player command "//set 35:5"
  90.                 execute player command "/region select BialeOX"
  91.                 execute player command "//set 35:0"
  92.                 stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement