patison234

SuperWand Beta v.2.0 [Skript 2.0.2]

Dec 5th, 2013
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # # # # # # # # # # # # # # # #
  2. # Script by PatisonPlayGames  #
  3. # Name: SuperWand             #
  4. # Version: Beta 2.0           #
  5. # Skript: 2.0.2               #
  6. # # # # # # # # # # # # # # # #
  7.  
  8.  
  9.  
  10. #=============================================#
  11. #  Licencja SuperWand by PatisonPlayGames!    #
  12. # + Nie zezwalam na:                          #
  13. # - Usuwanie tresci o autorze!                #
  14. # - Udostepnaniu skryptu innym!               #
  15. # - Podszywanie sie pod autora!               #
  16. # - Uzywanie kodu skryptu w swoich skryptach! #
  17. # - Zarabianie na skrypcie!                   #
  18. # + Zezwalam na:                              #
  19. # - Dodawanie kodu na swoja potrzebe!         #
  20. # - Modyfikowanie wiadomosci!                 #
  21. #=============================================#
  22.  
  23. options:
  24. # # # # # # # # # # # # # # #
  25. #                           #
  26. #       General Config      #
  27. #                           #
  28. # # # # # # # # # # # # # # #
  29.  
  30.  
  31.  
  32.     # Komenda uzywana w skrypcie:  
  33.     komenda: SuperWand
  34.     # Skroty do komendy wyzej: 
  35.     aliasy: sw, super, wand
  36.     # Tag wyswietlany przed wiadomosciami skryptu! 
  37.     tag: &8[&9SuperWand&8]
  38.     #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
  39.     sk: SuperWand
  40.  
  41.  
  42.    
  43. # # # # # # # # # # # # # # #
  44. #                           #
  45. #       Crafting Config     #
  46. #                           #
  47. # # # # # # # # # # # # # # #
  48.  
  49.  
  50.  
  51.     # Itemki jakie wkladamy do pieca . Pierwszy to na gorze drugi to na dole miedzy itemami wstawiamy and!
  52.     itemki: 1 redstone and 1 stick
  53.     # Item ktory ma z tego wyjsc a takze item usuwany po teleportacji!
  54.     item: stick
  55.     # Wpisz tutaj pierwzy item jaki wkladasz do gornego slota pieca:
  56.     item1: 1 redstone
  57.     # Wpisz tutaj item jaki wkladasz do dolnego slota pieca:
  58.     item2: 1 stick
  59.    
  60.    
  61.    
  62. # # # # # # # # # # # # # #
  63. #                         #
  64. #       Permissions       #
  65. #                         #
  66. # # # # # # # # # # # # # #
  67.  
  68.  
  69.  
  70.     # Wiadomosc przy braku uprawnienia:
  71.     permission: &4Nie masz uprawnien by uzywac tej komendy!
  72.  
  73.  
  74.    
  75. # Autor Config
  76.     version: Beta 2.0
  77.    
  78. # Burn Item
  79.  
  80. on rightclick on furnace:
  81.     if {transform.%clicked block%} is less than 100:
  82.         stop
  83.     if {transform.%clicked block%} is more than 99:
  84.         clear {transform.%clicked block%}
  85.     if {transform.%clicked block%} is not set:
  86.         loop 100 times:
  87.             wait 2 seconds
  88.             if clicked block contains {@itemki}:
  89.                 wait 1 tick
  90.                 add 1 {@item} of infinity 10 named "&4Teleport na spawn!" to clicked block
  91.                 wait 1 tick
  92.                 remove {@item1} from clicked block
  93.                 remove {@item2} from clicked block
  94.                
  95. # Teleportation ...
  96.  
  97. on rightclick with a stick of infinity 10:
  98.     if player has permission "superwand.vip.teleport" or "superwand.admin" or "superwand.vip":
  99.         remove 1 {@item} of infinity 10 from the player
  100.         teleport player to {teleport.spawn}
  101.         send "{@tag}&7Teleportacja..."
  102.         stop
  103.     else:
  104.         set {_pos} to location of player
  105.         send "{@tag}&7Czekaj &65 sekund&7, nie wolno Ci sie ruszyc!"
  106.         if {_pos} isn't location of player:
  107.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  108.             stop
  109.         wait 1 second
  110.         if {_pos} isn't location of player:
  111.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  112.             stop
  113.         wait 1 second
  114.         if {_pos} isn't location of player:
  115.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  116.             stop
  117.         wait 1 second
  118.         if {_pos} isn't location of player:
  119.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  120.             stop
  121.         wait 1 second
  122.         if {_pos} isn't location of player:
  123.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  124.             stop
  125.         wait 1 second
  126.         if {_pos} is location of player:
  127.             remove 1 {@item} of infinity 10 from the player
  128.             teleport player to {teleport.spawn}
  129.             send "{@tag}&7Teleportacja..."
  130.             stop
  131.         else:
  132.             send "{@tag}&cWykryto ruch, teleportacja anulowana!"
  133.             stop
  134.        
  135. # Basic Commands
  136.  
  137. command /{@komenda} [<text>]:
  138.     aliases: {@aliasy}
  139.     trigger:
  140.         if arg 1 is not set:
  141.             send "&7============{@tag}================"
  142.             send "&6/{@komenda} - &aPokazuje liste komend!"
  143.             send "&6/{@komenda} wand - &aDaje graczowi rożdżke!"
  144.             send "&6/{@komenda} setspawn - &a Ustawia spawn dla teleportacji!"
  145.             send "&6/{@komenda} reload - &aPrzeladowywuje skrypt!"
  146.             send "&6/{@komenda} wersja - &aPokazuje wersje skryptu!"
  147.             send "&6/{@komenda} autor - &aNotka o autorze!"
  148.             send "&7=================================="
  149.             stop
  150.         if arg 1 is "help" or "pomoc":
  151.             send "&7============{@tag}================"
  152.             send "&6/{@komenda} - &aPokazuje liste komend!"
  153.             send "&6/{@komenda} wand - &aDaje graczowi rożdżke!"
  154.             send "&6/{@komenda} setspawn - &a Ustawia spawn dla teleportacji!"
  155.             send "&6/{@komenda} reload - &aPrzeladowywuje skrypt!"
  156.             send "&6/{@komenda} wersja - &aPokazuje wersje skryptu!"
  157.             send "&6/{@komenda} autor - &aNotka o autorze!"
  158.             send "&7=================================="
  159.             stop
  160.         if arg 1 is "wand":
  161.             if player has permission "superwand.vip.wand" or "superwand.admin" or "superwand.vip":
  162.                 give {@item} of infinity 10 named "&4Teleport na spawn!" to the player
  163.                 send "{@tag} &aOtrzymano rozdzke !"
  164.                 stop
  165.             else:
  166.                 send "{@tag} {@permission}"
  167.                 stop
  168.         if arg 1 is "setspawn" or "ustawspawn":
  169.             if player has permission "superwand.setspawn" or "superwand.admin":
  170.                 set {teleport.spawn} to location of player
  171.                 send "{@tag}&7Ustawiono spawn dla teleportacji !"
  172.                 stop
  173.             else:
  174.                 send "{@tag} {@permission}"
  175.                 stop
  176.         if arg 1 is "reload" or "przeladuj":
  177.             if player has permission "superwand.reload" or "superwand.admin":
  178.                 execute console command "/sk reload {@sk}"
  179.                 send "{@tag} &aPrzeladowano..."
  180.                 stop
  181.             else:
  182.                 send "{@tag} {@permission}"
  183.         if arg 1 is "wersja" or "version":
  184.             send "&7----------------------------------------------"
  185.             send " &8Nazwa: &aSuperWand"
  186.             send " &8Wersja: &a&n{@version}"
  187.             send "&7----------------------------------------------"
  188.             stop
  189.         if arg 1 is "author" or "autor":
  190.             send "&7----------------------------------------------"
  191.             send " &8Autor: &aPatisonPlayGames"
  192.             send " &8Nazwa: &aSuperWand"
  193.             send "&8 &8&nYou&4&nTube:&a &nwww.youtube.com/PatisonPlayGames"
  194.             send "&7----------------------------------------------"
  195.             stop
  196.         if arg 1 is not "setspawn" or "ustawspawn" or "help" or "pomoc" or "reload" or "przeladuj" or "wersja" or "version" or "author" or "autor":
  197.             send "{@tag} &4Nie ma takiej komendy! &aWpisz /{@komenda}!"
  198.             stop
  199.            
  200. #Config Load
  201.  
  202. on skript start:
  203.     send "&8SuperWand wymaga wersji Skript 2.0.2 ..." to the console
  204.     wait 1 seconds
  205.     send "&8Serwer pracuje na wersji: %skript version%" to the console
  206.     send "" to the console
  207.     send "&8--------------------------------------------------------------" to the console
  208.     send "&8|                                                            |" to the console
  209.     send "&8|                  Enable &9SuperWand                      &8|" to the console
  210.     send "&8|                                                            |" to the console
  211.     send "&8--------------------------------------------------------------" to the console
  212.     send "" to the console
  213.     send "&8Autor: &ePatisonPlayGames" to the console
  214.     send "&8Version: &7{@version}" to the console
  215.     send "" to the console
  216.    
  217.    
  218. #------------------------------------------------ End of Script / Thanks for Use ---------------------------------#
  219. #-------------------------------- © by PationPlayGames - Author / YouTube www.youtube.com/PatisonPlayGames -------#
Advertisement
Add Comment
Please, Sign In to add comment