#Autor: EndDragos
#Zezwalam na edytowanie wszystkiego oprĂłcz tego co @up :P czyli autora.
#Version: 2.0
options:
tag: &f[&aSKLEP&6PSC&f]
# NEXT info #
ranga1: ADMIN # nazwa rangi
ranga1nr: 91955 # numer pod ktĂłry nalezy wyslac sms'a
ranga1kod: HPAY.ENCH # tresc smsa na tÄ… range
# NEXT info #
ranga2: ADMIN1
ranga2nr: 91955
ranga2kod: HPAY.ENCH
# NEXT info #
ranga3: ADMIN2
ranga3nr: 91955
ranga3kod: HPAY.ENCH
czas: 1
variables:
{spam.%player%} = false
command /kod [<text>] [<text>]:
trigger:
if arg 1 is set:
if arg 2 is set:
if length of arg 2 = 16:
if {spam.%player%} is false:
if arg 1 is "{@ranga1}" or "{@ranga2}" or "{@ranga3}": # aby dodac wiecej daj za "{@ranga3}" or "TWOJARANGA": itd #
log "-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=" to "kody/kod"
log " Gracz: %player% Kod: %arg 2%" to "kody/kod"
log "-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=" to "kody/kod"
send ""
send ""
send "{@tag}"
send "&fJezeli na podany kod PaySafeCard zadziala, dostaniesz range w ciagu &c50-290min &6&lPSS NIE PODAWAJ NIKOMU KODU PAYSAFECARD NAWET WLASCICIELA! "
send ""
send ""
send _Dudix_ title "&4Rekrutacja off" with subtitle "&cAle mozesz kupic range &f/ADMIN" for 6 seconds
set {spam.%player%} to true
wait {@czas} seconds
set {spam.%player%} to false
else:
send "{@tag}"
send "&c&6&lDUDI&e&lMC &7» &eNie ma takiej rangi!"
else:
send "&c&6&lDUDI&e&lMC &7» &eProsze nie spamic"
else:
send "{@tag}"
send "&c&6&lDUDI&e&lMC &7» &eKod PaySafeCard ma 16 cyfr!"
else:
send ""
send "&c&6&lDUDI&e&lMC &7» &6&lPoprawne uzycie to /kod ADMIN [kod PAYSAFECARD] (PSS NIE PODAWAJ NIKOMU KODU PAYSAFECARD NAWET WLASCICIELA!)"
send ""
else:
send ""
send "&c&6&lDUDI&e&lMC &7» &6&lPoprawne uzycie to /kod ADMIN [kod PAYSAFECARD]"
send ""
on rightclick on stone button:
block behind target block is sponge:
set {_targetx} to a random integer between -700 and 700
set {_targetz} to a random integer between -700 and 700
set {_targety} to 0
set {_random.pos} to location at {_targetx}, {_targety}, {_targetz}
biome at {_random.pos} is ocean or river or deep ocean:
send "&8» &4Blad! &3Lokacja znajduje sie na oceanie!"
else:
loop blocks above the block at location of {_random.pos}:
if block at location of loop-block is blocktpr:
if block above the block at location of loop-block is air or water:
if block 1 above the block at location of loop-block is air:
if block 2 above the block at location of loop-block is air:
set {_pos} to block above the block at location of loop-block
apply regeneration 10 to the player for 2 seconds
teleport player to {_pos}
send "&6&lDUDI&e&lMC &7» &6Zostales przeteleportowany na koordynaty &2%location of player%"
wait 3 seconds
stop
command /sms:
trigger:
send "&6&m--------- &f&lITEMSHOP &6&m---------" to player
send " &8&o>> &6Usluge mozna zakupic na stronie:" to player
send " &8&o>> &7&odudimc.pl" to player
command /www:
trigger:
send "&6&m--------- &f&lITEMSHOP &6&m--------- " to player
send " &8&o>> &6Usluge mozna zakupic na stronie:" to player
send " &8&o>> &7&odudimc.pl" to player
on death of player:
if attacker is a player:
send player title "&fGRATULACJE!" with subtitle "&6* &cZabiles gracza &f%victim% &6*" for 4 seconds
on death of a player:
attacker is a player
send "Dostajesz 10$ za zabicie %victim%." to attacker
execute server command "/eco give %attacker% 10"
on death:
attacker is a player
victim is not a player
send "Za swoj pogrzeb musiales zaplacic 5$." to attacker
execute server command "/eco give %attacker% -5"
Pytanie
Gość dudimsp2
Odnośnik do komentarza
https://skript.pl/temat/31942-poprawa-bled%C3%B3w/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.