Facebook
From BEDI CHCE TECHNIKA #3, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 266
  1. command /saveeq:
  2.         trigger:
  3.                 add 1 to {backeq.liczba.%player%}
  4.                 if {collow.%player%} is false:
  5.                         send "&6Ekwipunek Zostal Zapisany :)" to player
  6.                         set {collow.%player%} to true
  7.                         if {backeq.liczba.%player%} is 1:
  8.                                 delete {eq.%player%.1::*}
  9.                                 set {czas.%player%.1} to now
  10.                                 set {forma.%player%.1::*} to "&2ZAPIS WYKONANY PRZEZ GRACZA"
  11.                                 set {ostatni.%player%.1::*} to "&2ZAPIS 1"
  12.                                 delete {liczbaitow.%player%.1}
  13.                                 loop all items in the player's inventory:
  14.                                         wait 5 ticks
  15.                                         add loop-item to {eq.%player%.1::*}
  16.                                         add 1 to {liczbaitow.%player%.1}
  17.                         if {backeq.liczba.%player%} is 2:
  18.                                 delete {eq.%player%.2::*}
  19.                                 set {czas.%player%.2} to now
  20.                                 set {forma.%player%.2::*} to "&2ZAPIS WYKONANY PRZEZ GRACZA"
  21.                                 set {ostatni.%player%.1::*} to "&2ZAPIS 2"
  22.                                 delete {liczbaitow.%player%.2}
  23.                                 loop all items in the player's inventory:
  24.                                         wait 5 ticks
  25.                                         add loop-item to {eq.%player%.2::*}
  26.                                         add 1 to {liczbaitow.%player%.2}
  27.                         if {backeq.liczba.%player%} is 3:
  28.                                 delete {eq.%player%.3::*}
  29.                                 set {czas.%player%.3} to now
  30.                                 set {forma.%player%.3::*} to "&2ZAPIS WYKONANY PRZEZ GRACZA"
  31.                                 set {ostatni.%player%.1::*} to "&2ZAPIS 3"
  32.                                 delete {liczbaitow.%player%.3}
  33.                                 loop all items in the player's inventory:
  34.                                         wait 5 ticks
  35.                                         add loop-item to {eq.%player%.3::*}
  36.                                         add 1 to {liczbaitow.%player%.3}
  37.                         if {backeq.liczba.%player%} is 4:
  38.                                 delete {eq.%player%.4::*}
  39.                                 set {czas.%player%.4} to now
  40.                                 set {forma.%player%.4::*} to "&2ZAPIS WYKONANY PRZEZ GRACZA"
  41.                                 set {ostatni.%player%.1::*} to "&2ZAPIS 4"
  42.                                 delete {liczbaitow.%player%.4}
  43.                                 loop all items in the player's inventory:
  44.                                         wait 5 ticks
  45.                                         add loop-item to {eq.%player%.4::*}
  46.                                         add 1 to {liczbaitow.%player%.4}
  47.                         if {backeq.liczba.%player%} is bigger than 5:
  48.                                 delete {eq.%player%.5::*}
  49.                                 set {czas.%player%.5} to now
  50.                                 set {forma.%player%.5::*} to "&2ZAPIS WYKONANY PRZEZ GRACZA"
  51.                                 set {ostatni.%player%.1::*} to "&2ZAPIS 5"
  52.                                 set {backeq.liczba.%player%} to 0
  53.                                 delete {liczbaitow.%player%.5}
  54.                                 loop all items in the player's inventory:
  55.                                         wait 5 ticks
  56.                                         add loop-item to {eq.%player%.5::*}
  57.                                         add 1 to {liczbaitow.%player%.5}
  58.                         wait 1200 ticks
  59.                         set {collow.%player%} to false
  60.                         Stop
  61.                 if {collow.%player%} is true:
  62.                         send "&4EQ Mozna Zapisywac Co Minute." to player
  63.  
  64. command /backeq [<player>] [<text>]:   
  65.         trigger:
  66.                 if player has permission "pvpbosnko.eq.back":
  67.                         if arg 1 is not set:
  68.                                 send "&c/BackEQ NICK" to player
  69.                                 stop
  70.                         if arg 1 is set:
  71.                                 if arg 2 is not set:
  72.                                         open chest with 5 rows named "&5BACKEQ" to player
  73.                                         wait 2 ticks
  74.                                         format slot 0 of player with 1 of chest named "&6Zapisy Eq Gracza %player-arg%" to run [execute player command "/backeq %player-arg%"]
  75.                                         format slot 8 of player with 1 of fire named "&6EXIT" to close
  76.                                         format slot 20 of player with 1 of zombie head named "%{forma.%player-arg%.1::*}%" with lore "&7DATA: &2%{czas.%player-arg%.1}%||&7LICZBA ITEMOW: &2%{liczbaitow.%player-arg%.1}%" to run [execute player command "/backeq %player-arg% 1"]
  77.                                         format slot 21 of player with 1 of zombie head named "%{forma.%player-arg%.2::*}%" with lore "&7DATA: &2%{czas.%player-arg%.2}%||&7LICZBA ITEMOW: &2%{liczbaitow.%player-arg%.2}%" to run [execute player command "/backeq %player-arg% 2"]
  78.                                         format slot 22 of player with 1 of zombie head named "%{forma.%player-arg%.3::*}%" with lore "&7DATA: &2%{czas.%player-arg%.3}%||&7LICZBA ITEMOW: &2%{liczbaitow.%player-arg%.3}%" to run [execute player command "/backeq %player-arg% 3"]
  79.                                         format slot 23 of player with 1 of zombie head named "%{forma.%player-arg%.4::*}%" with lore "&7DATA: &2%{czas.%player-arg%.4}%||&7LICZBA ITEMOW: &2%{liczbaitow.%player-arg%.4}%" to run [execute player command "/backeq %player-arg% 4"]
  80.                                         format slot 24 of player with 1 of zombie head named "%{forma.%player-arg%.5::*}%" with lore "&7DATA: &2%{czas.%player-arg%.5}%||&7LICZBA ITEMOW: &2%{liczbaitow.%player-arg%.5}%" to run [execute player command "/backeq %player-arg% 5"]
  81.                                         format slot 44 of player with 1 of cobweb named "&7OSTATNI ZAPIS" with lore "&9%{ostatni.%player-arg%.1::*}%" to run [execute player command "/backeq %player-arg%"]
  82.                                         stop
  83.                         if arg 2 is "1":
  84.                                 clear the player's inventory
  85.                                 execute player command "/backeq %player-arg%"
  86.                                 if {eq.%player-arg%.1::*} is set:
  87.                                         loop {eq.%player-arg%.1::*}:
  88.                                                 add loop-value to the player
  89.                                         stop
  90.                                 if {eq.%player-arg%.2::*} is not set:
  91.                                         send "&4BLAD KRYTYCZNY" to player
  92.                         if arg 2 is "2":
  93.                                 clear the player's inventory
  94.                                 execute player command "/backeq %player-arg%"
  95.                                 if {eq.%player-arg%.2::*} is set:
  96.                                         loop {eq.%player-arg%.2::*}:
  97.                                                 add loop-value to the player
  98.                                         stop
  99.                                 if {eq.%player-arg%.2::*} is not set:
  100.                                         send "&4BLAD KRYTYCZNY" to player
  101.                         if arg 2 is "3":
  102.                                 clear the player's inventory
  103.                                 execute player command "/backeq %player-arg%"
  104.                                 if {eq.%player-arg%.3::*} is set:
  105.                                         loop {eq.%player-arg%.3::*}:
  106.                                                 add loop-value to the player
  107.                                         stop
  108.                                 if {eq.%player-arg%.2::*} is not set:
  109.                                         send "&4BLAD KRYTYCZNY" to player
  110.                         if arg 2 is "4":
  111.                                 clear the player's inventory
  112.                                 execute player command "/backeq %player-arg%"
  113.                                 if {eq.%player-arg%.4::*} is set:
  114.                                         loop {eq.%player-arg%.4::*}:
  115.                                                 add loop-value to the player
  116.                                         stop
  117.                                 if {eq.%player-arg%.2::*} is not set:
  118.                                         send "&4BLAD KRYTYCZNY" to player
  119.                         if arg 2 is "5":
  120.                                 clear the player's inventory
  121.                                 execute player command "/backeq %player-arg%"
  122.                                 if {eq.%player-arg%.5::*} is set:
  123.                                         loop {eq.%player-arg%.5::*}:
  124.                                                 add loop-value to the player
  125.                                         stop
  126.                                 if {eq.%player-arg%.2::*} is not set:
  127.                                         send "&4BLAD KRYTYCZNY" to player
  128.                                        
  129. every 30 minutes:
  130.         loop all players:
  131.                 add 1 to {backeq.liczba.%loop-player%}
  132.         wait 100 ticks
  133.         loop all players:
  134.                 send "&6Twoje Eq Zostalo Zapisane Z Daty &8&l>> &7%now%" to loop-player
  135.                 if {backeq.liczba.%loop-player%} is 1:
  136.                         delete {eq.%loop-player%.1::*}
  137.                         set {forma.%loop-player%.1::*} to "&cZAPIS WYKONANY PRZEZ SERWER"
  138.                         set {czas.%loop-player%.1} to now
  139.                         set {ostatni.%loop-player%.1::*} to "&2ZAPIS 1"
  140.                         delete {liczbaitow.%loop-player%.1}
  141.                         loop all items in the loop-player's inventory:
  142.                                 wait 5 ticks
  143.                                 add loop-item to {eq.%loop-player%.1::*}
  144.                                 add 1 to {liczbaitow.%loop-player%.1}
  145.                 if {backeq.liczba.%loop-player%} is 2:
  146.                         delete {eq.%loop-player%.2::*}
  147.                         set {forma.%loop-player%.2::*} to "&cZAPIS WYKONANY PRZEZ SERWER"
  148.                         set {czas.%loop-player%.2} to now
  149.                         set {ostatni.%loop-player%.1::*} to "&2ZAPIS 2"
  150.                         delete {liczbaitow.%loop-player%.2}
  151.                         loop all items in the loop-player's inventory:
  152.                                 wait 5 ticks
  153.                                 add loop-item to {eq.%loop-player%.2::*}
  154.                                 add 1 to {liczbaitow.%loop-player%.2}
  155.                 if {backeq.liczba.%loop-player%} is 3:
  156.                         delete {eq.%loop-player%.3::*}
  157.                         set {forma.%loop-player%.3::*} to "&cZAPIS WYKONANY PRZEZ SERWER"
  158.                         set {czas.%loop-player%.3} to now
  159.                         set {ostatni.%loop-player%.1::*} to "&2ZAPIS 3"
  160.                         delete {liczbaitow.%loop-player%.3}
  161.                         loop all items in the loop-player's inventory:
  162.                                 wait 5 ticks
  163.                                 add loop-item to {eq.%loop-player%.3::*}
  164.                                 add 1 to {liczbaitow.%loop-player%.3}
  165.                 if {backeq.liczba.%loop-player%} is 4:
  166.                         delete {eq.%loop-player%.4::*}
  167.                         set {forma.%loop-player%.4::*} to "&cZAPIS WYKONANY PRZEZ SERWER"
  168.                         set {czas.%loop-player%.4} to now
  169.                         set {ostatni.%loop-player%.1::*} to "&2ZAPIS 4"
  170.                         delete {liczbaitow.%loop-player%.4}
  171.                         loop all items in the loop-player's inventory:
  172.                                 wait 5 ticks
  173.                                 add loop-item to {eq.%loop-player%.4::*}
  174.                                 add 1 to {liczbaitow.%loop-player%.4}
  175.                 if {backeq.liczba.%loop-player%} is bigger than 5:
  176.                         delete {eq.%loop-player%.5::*}
  177.                         set {forma.%loop-player%.5::*} to "&cZAPIS WYKONANY PRZEZ SERWER"
  178.                         set {czas.%loop-player%.5} to now
  179.                         set {ostatni.%loop-player%.1::*} to "&2ZAPIS 5"
  180.                         set {backeq.liczba.%loop-player%} to 0
  181.                         delete {liczbaitow.%loop-player%.5}
  182.                         loop all items in the loop-player's inventory:
  183.                                 wait 5 ticks
  184.                                 add loop-item to {eq.%loop-player%.5::*}
  185.                                 add 1 to {liczbaitow.%loop-player%.5}