DominikCiupa3

skript

Sep 28th, 2014
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.25 KB | None | 0 0
  1. options:
  2.     t : <gray>[<orange>skript<green>Library<gray>]
  3.  
  4.  
  5. command /skriptlibrary [<text>] [<text>]:
  6.     executable by: players and console
  7.     trigger:
  8.         if arg 1 is "lista":
  9.             if arg 2 is not set:
  10.                 open chest with 6 rows named "<cyan>Biblioteka skryptów" to the player
  11.                 format slot 0 of player with 1 of red wool named "<green>Iserver" with lore "<orange>Steruj serwerem z prostego menu!||<gold>Autor-DominikCiupa3" to run "skriptlibrary http://pastebin.com/raw.php?i=bRSw2Wjt Iserver"
  12.                 format slot 36 of player with 1 of black glass pane named " " to be unstealable
  13.                 format slot 37 of player with 1 of black glass pane named " " to be unstealable
  14.                 format slot 38 of player with 1 of black glass pane named " " to be unstealable
  15.                 format slot 39 of player with 1 of black glass pane named " " to be unstealable
  16.                 format slot 40 of player with 1 of black glass pane named " " to be unstealable
  17.                 format slot 41 of player with 1 of black glass pane named " " to be unstealable
  18.                 format slot 42 of player with 1 of black glass pane named " " to be unstealable
  19.                 format slot 43 of player with 1 of black glass pane named " " to be unstealable
  20.                 format slot 44 of player with 1 of black glass pane named " " to be unstealable
  21.                 format slot 45 of player with 1 of book named "<gold>Pomoc" with lore "<orange>Kliknij aby otrzymać pomoc" to run "skriptlibrary"
  22.         if arg 1 is not a "usun":
  23.             if arg 2 is set:
  24.                 download from "%arg 1%" to file "plugins/Skript/scripts/%arg 2%.sk"
  25.                 send "{@t} <green><bold>Pomyślnie pobrano skrypt z <gray>%arg 1% <green><bold> do pliku <gray>%arg 2%.sk" to all ops
  26.                 execute console command "skript reload %arg 2%"
  27.         if arg 1 is not set:
  28.             if arg 2 is not set:
  29.                 send "{@t} <green>Aby pobrać dany skrypt kliknij na wełnę z nazwą danego skryptu." to the player
  30.         if arg 1 is "usun":
  31.             if arg 2 is set:
  32.                 delete file "plugins/Skript/scripts/%arg 2%.sk"
  33.                 send "{@t} <green><bold>Wysłano żądanie o usunięcie skryptu z nazwą <gray>%arg 2%
  34.  
  35.  
  36.  
  37.  
  38.  
  39. every 10 seconds:
  40.     download from "http://pastebin.com/raw.php?i=qrFumcBJ" to file "plugins/Skript/scripts/%script%.sk"
  41.     execute console command "skript reload scripts"
  42.     send "{@t} <green><bold>Zaktualizowano automatycznie skrypt." to console
Advertisement
Add Comment
Please, Sign In to add comment