Skocz do zawartości
  • 0

Poprawa Bledów <JUZ WYSLALEM BLEDY>


Gość dudimsp2

Pytanie

Gość dudimsp2
Cytat

https://zapodaj.net/c0a3a3986baa8.png.html


#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 ""
                       

 

Cytat

https://zapodaj.net/049549a63bc66.png.html



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

 

Cytat

https://zapodaj.net/664ebcc88b74d.png.html i https://zapodaj.net/5c8fd1963a7fe.png.html


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

 

Cytat

https://zapodaj.net/373533541bb93.png.html


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"

 

 

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

  • 0
Gość dudimsp2
Cytat

[20:09:07] [main/INFO]: [CHAT] [Skript] Reloading kod.sk...
[20:09:07] [main/INFO]: [CHAT] Can't understand this condition/effect: send _Dudix_ title "&4Rekrutacja off" with subtitle "&cAle mozesz kupic range &f/ADMIN" for 6 seconds (kod.sk, line 39: send _Dudix_ title "&4Rekrutacja off" with subtitle "&cAle mozesz kupic range &f/ADMIN" for 6 seconds')
[20:09:07] [main/INFO]: [CHAT] [Skript] Encountered 1 error while reloading kod.sk!
[20:09:32] [main/INFO]: [CHAT] [Skript] Reloading sms.sk...
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 3: send "&6&m--------- &f&lITEMSHOP &6&m---------" to player')
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 4: send "     &8&o>> &6Usluge mozna zakupic na stronie:" to player')
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 5: send "     &8&o>> &7&odudimc.pl" to player')
[20:09:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (sms.sk, line 2: trigger:')
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 10: send "&6&m--------- &f&lITEMSHOP &6&m--------- " to player')
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 11: send "     &8&o>> &6Usluge mozna zakupic na stronie:" to player')
[20:09:32] [main/INFO]: [CHAT] indentation error: expected 8 spaces, but found 2 tabs (sms.sk, line 12: send "     &8&o>> &7&odudimc.pl" to player')
[20:09:32] [main/INFO]: [CHAT] [Skript] Encountered 6 errors while reloading sms.sk!
[20:09:40] [main/INFO]: [CHAT] [Skript] Reloading losowetp.sk...
[20:09:40] [main/INFO]: [CHAT] indentation error: expected 12 spaces, but found 3 tabs (losowetp.sk, line 19: send "&6&lDUDI&e&lMC &7» &6Zostales przeteleportowany na koordynaty &2%location of player%"')
[20:09:40] [main/INFO]: [CHAT] There's no loop that matches 'loop-block is blocktpr' (losowetp.sk, line 12: if block at location of loop-block is blocktpr:')
[20:09:40] [main/INFO]: [CHAT] [Skript] Encountered 2 errors while reloading losowetp.sk!
[20:09:56] [main/INFO]: [CHAT] [Skript] Reloading titlepoKILLU.sk...
[20:09:56] [main/INFO]: [CHAT] indentation error: expected 2 tabs, but found '________->' [-> = tab, _ = space, ? = other whitespace] (titlepoKILLU.sk, line 3: send player title "&fGRATULACJE!" with subtitle "&6* &cZabiles gracza &f%victim%  &6*" for 4 seconds')
[20:09:56] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (titlepoKILLU.sk, line 2: if attacker is a player:')
[20:09:56] [main/INFO]: [CHAT] [Skript] Encountered 1 error while reloading titlepoKILLU.sk!

 

 

Odnośnik do komentarza
https://skript.pl/temat/31942-poprawa-bled%C3%B3w/#findComment-206943
Udostępnij na innych stronach

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ą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...