Skocz do zawartości
  • 0

Komenda /zw


DJ_CITROX

Pytanie

Siemka ! Poszukuje skrypt na komende /zw CzasNieObecny Powód

że napisze sie np /zw 5min Ide Jesc           No i na czacie sie pojawi : Gracz NICK jest z/w z powodu : "Ide Jesc" . Nie Bedzie go przez 5 Minut

 

 

A Jeżeli ktoś wpisze np /zw 5 Jesc to pojawi sie : Napisz Na Jaki Czas Poprawnie ! NP : 5min / 5s / 5h

Edytowane przez DJ_CITROX
Odnośnik do komentarza
Udostępnij na innych stronach

20 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

i jak to ma działać teraz ? :D

 

 

Jest problem z :

2014-08-14 23:57:32 [iNFO] [skript] Reloading daj.sk...
2014-08-14 23:57:32 [sEVERE] 'argument(s)' cannot be used if the command has multiple arguments. Use 'argument 1', 'argument 2', etc. instead (daj.sk, line 11: send "&3Gracz &7%player% &3jest z/w z powodu: ""&7%arg%"". Nie Bedzie go przez %arg 2% Minut" to all players')
2014-08-14 23:57:32 [iNFO] [skript] Encountered 1 error while reloading daj.sk!

Edytowane przez DJ_CITROX
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
command /zw [<text&gt] [<number&gt]:permission: zaraz.wracam	trigger:		if {zw.%player%} is false:			if arg 2 is set:				send "&3Gracz &7%player% &3jest z/w z powodu: ""&7%arg 1%"". Nie Bedzie go przez %arg 2% Minut" to all players                set {zw.%player%} to true                wait arg 2 minutes                set {zw.%player%} to false
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Kurde jest problem ! Bo chciałem zrobić tak :

 

command /zw [<text&gt] [<number&gt]:
    permission: zarazwracam
    permission message : Nie Masz Uprawnien Do Tej Komendy
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                send "&3Gracz &7%player% &3jest z/w z powodu: &3""&7%arg 1%&3""&3.&3 Nie Bedzie go przez &7%arg 2% Minut" to all players
 
command /zw [<text&gt] [<number&gt]:
    permission: zarazwracam.vip
    permission message : Nie Masz Uprawnien Do Tej Komendy
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                send "&6&lVIP &7%player% &ajest z/w z powodu: &a""&7%arg 1%&a""&a.&a Nie Bedzie go przez &7%arg 2% Minut" to all players
 
command /zw [<text&gt] [<number&gt]:
    permission: zarazwracam.supervip
    permission message : Nie Masz Uprawnien Do Tej Komendy
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                send "&a&lSuperVIP &7%player% &6jest z/w z powodu: &6""&7%arg 1%&6""&6.&6 Nie Bedzie go przez &7%arg 2% Minut" to all players
 
 
 
Ktoś powie jak zrobić aby można używać te same komende bo chce nadać tylko aby z innymi uprawnieniami pisało inaczej na czacie innym rangom.
 
 
a i też chciałem zrobić komende /drop vip i /drop supervip ale /drop supervip nie działało bo jest /drop vip . jak to zrobić ?
 
 
I Nie Działa to twoje herhor bo errory . no to moze byc takie co podałem :c
Edytowane przez Wojciu
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Prosze :>

Skript na drop:

command /drop [<text&gt]:	trigger:		if player has permission "drop.gracz"			send "Drop gracza:" to player			send "DROP -1 linijka" to player			send "Drop 2" to player			send " I tak dalej dodajesz sobie linie" to player		else:			if player has permission "drop.vip":				send "I tak dalej dodawaj linie jak powyzej" to player			else:				if player has permission "drop.supervip":					send "I drop" to player
Edytowane przez Ogorek
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Nie działa mi edit więc napisz skrypt na zw tutaj

command /zw [<text&gt] [<number&gt]:    permission: zarazwracam    permission message : Nie Masz Uprawnien Do Tej Komendy    trigger:		if player has permission "zw.gracz":			if arg 1 is set:				if arg 2 is set:					send "&3Gracz &7%player% &3jest z/w z powodu: &3""&7%arg 1%&3""&3.&3 Nie Bedzie go przez &7%arg 2% Minut" to all players		else:			if player has permission "zw.vip"				if arg 1 is set:					if arg 2 is set:						send "&3Vip &7%player% &3jest z/w z powodu: &3""&7%arg 1%&3""&3.&3 Nie Bedzie go przez &7%arg 2% Minut" to all players			else:				if player has permission "zw.svip":					if arg 1 is set:						if arg 2 is set:							send "&3SuperVip &7%player% &3jest z/w z powodu: &3""&7%arg 1%&3""&3.&3 Nie Bedzie go przez &7%arg 2% Minut" to all players
Edytowane przez Ogorek
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

na drop mi chodzi o to że : aby gracz mógł zobaczyć jaki drop ma dana ranga czyli wpisze /drop vip  to pojawi się taka wiadomość jaką ja ustawię . 

 

z/w Też nie działa 5 błędów wywala . wolał bym mieć taki skrypt jak ja podałem tylko aby działał :d bo vipowi sie pojawia że nie ma uprawnień

Edytowane przez DJ_CITROX
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Łatwa sprawa z dropem jak i /zw.

---

Drop na pastebinie:

---

Poprawiona wersja Twojego /zw:

Screen: https://i.imgur.com/CxtJAOl.png

Potrzebne permissions:

- Gracz: zarazwracam.gracz,

- VIP: zarazwracam.vip,

- SuperVIP: zarazwracam.supervip.

 

Wszystko działa jak przedstawiłem na screenie, a dropu nawet nie muszę sprawdzać. :)

btw. gdy administrator z permissions '*' wpisze /zw wezmie go za gracza. Dlatego usuń mu najlepiej w/w permissions (tj. zrób tak: -zarazwracam.gracz) i dodaj pod ostatnim else if coś takiego:

Gotowców nigdy nie daje. :X

Edytowane przez Wojciu
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

I wywala Takie Errory :c

 

2014-08-16 07:31:36 [iNFO] [skript] Reloading drop.sk...
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 6: send "&9&M&L------------&b&l[ &a&lDrop VIP &b&l]&9&M&L------------" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 7: send "&7&l&m>&c Diamond [1%%] [1-3]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 8: send "&7&l&m>&c Emerald [1%%] [1-3]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 9: send "&7&l&m>&c Iron Ingot [1.3%%] [1-5]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 10: send "&7&l&m>&c Gold Ingot [1.3%%] [1-5]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 11: send "&7&l&m>&c XP [80%%] [1-2]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 12: send "&9&M&L------------&b&l[ &a&lDrop VIP &b&l]&9&M&L------------" to player')
2014-08-16 07:31:36 [WARNING] 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. (Kity.sk, line 5: if arg 1 is "VIP":')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 14: send "&9&M&L------------&b&l[ &a&lDrop SuperVIP &b&l]&9&M&L------------" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 15: send "&7&l&m>&c Diamond [1.5%%] [1-3]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 16: send "&7&l&m>&c Emerald [1.5%%] [1-3]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 17: send "&7&l&m>&c Iron Ingot [2%%] [1-5]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 18: send "&7&l&m>&c Gold Ingot [2%%] [1-5]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 19: send "&7&l&m>&c XP [100%%] [1-2]" to player')
2014-08-16 07:31:36 [sEVERE] indentation error: expected 3 tabs, but found '->->________' [-> = tab, _ = space, ? = other whitespace] (Kity.sk, line 20: send "&9&M&L------------&b&l[ &a&lDrop SuperVIP &b&l]&9&M&L------------" to player')
2014-08-16 07:31:36 [sEVERE] Required entry 'trigger' is missing in 'command /drop [<text&gt]' (Kity.sk, starting at line 1) (Kity.sk, line 1: command /drop [<text&gt]:')
2014-08-16 07:31:36 [sEVERE] Unexpected entry 'if arg 1 is not set'. Check whether it's spelled correctly or remove it. (Kity.sk, line 2: if arg 1 is not set:')
2014-08-16 07:31:36 [sEVERE] Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (Kity.sk, line 4: else:')
2014-08-16 07:31:36 [iNFO] [skript] Encountered 17 errors while reloading drop.sk!

 

Edytowane przez Wojciu
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Command /zw:

Trigger:

If {pvp.%player%} is true:

Send "Nie Morzesz Zyc ZW Podcas Pvp"

Else:

If {zw.%player%} is false:

Set {zw.%player%} to true:

Broadcast "Gracz %player% jest teraz ZW"

Set {l.%player%} to location of player

Wait 1 minutes

Set {zw.%player%} to false

Else:

Send "Jestes Juz Zw"

On command:

If {zw.%player%} is true:

Cancel event

Send "&4Jestes ZW"

On walking:

If {zw.%player%} is true:

Teleport player to {l.%player}

On join:

If {zw.%player%} is not set:

Set {zw.%player%} to false

 

Edytowane przez Wojciu
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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