command /bh [<player>]:
permission: bh.sk
permission message: &4Blad: &cNie masz dostepu do tej komendy!
trigger:
if player-arg is not set:
send "&4Blad: &cPodaj gracza!"
stop
else:
wait 1 tick
open chest with 6 rows named "&2MODMENU &7%player%" to player
loop 9 times:
format slot loop-number -1 of player with 1 gray glass pane named " " to close
format slot 9 of player with 1 gray glass pane named " " to close
format slot 18 of player with 1 gray glass pane named " " to close
format slot 27 of player with 1 gray glass pane named " " to close
format slot 36 of player with 1 gray glass pane named " " to close
format slot 45 of player with 1 gray glass pane named " " to close
format slot 17 of player with 1 gray glass pane named " " to close
format slot 26 of player with 1 gray glass pane named " " to close
format slot 35 of player with 1 gray glass pane named " " to close
format slot 44 of player with 1 gray glass pane named " " to close
format slot 53 of player with 1 gray glass pane named " " to close
format slot 46 of player with 1 gray glass pane named " " to close
format slot 47 of player with 1 gray glass pane named " " to close
format slot 48 of player with 1 gray glass pane named " " to close
format slot 49 of player with 1 gray glass pane named " " to close
format slot 50 of player with 1 gray glass pane named " " to close
format slot 51 of player with 1 gray glass pane named " " to close
format slot 52 of player with 1 gray glass pane named " " to close
format slot 21 of player with 1 diamond boots named "&c&lBAN" with lore "&eZbanuj gracza za swoje winy,||&ektore stworzyl na tym serwerze!" to close then run [execute player command "/bhr %player-arg%"]
format slot 23 of player with 1 golden boots named "&e&lKICK" with lore "&eWyrzuc gracza za swoje winy,||&ektore stworzyl na tym serwerze!" to close then run [execute player command "/bkick %player-arg%"]
command /bhr [<player>]:
permission: bh.sk
permission message: &4Blad: &cNie masz dostepu do tej komendy!
trigger:
if player-arg is not set:
send "&4Blad: &cPodaj gracza!"
stop
else:
wait 1 tick
open chest with 6 rows named "&2BANHAMMER &7%player%" to player
loop 9 times:
format slot loop-number -1 of player with 1 gray glass pane named " " to close
format slot 9 of player with 1 gray glass pane named " " to close
format slot 18 of player with 1 gray glass pane named " " to close
format slot 27 of player with 1 gray glass pane named " " to close
format slot 36 of player with 1 gray glass pane named " " to close
format slot 45 of player with 1 gray glass pane named " " to close
format slot 17 of player with 1 gray glass pane named " " to close
format slot 26 of player with 1 gray glass pane named " " to close
format slot 35 of player with 1 gray glass pane named " " to close
format slot 44 of player with 1 gray glass pane named " " to close
format slot 53 of player with 1 gray glass pane named " " to close
format slot 46 of player with 1 gray glass pane named " " to close
format slot 47 of player with 1 gray glass pane named " " to close
format slot 48 of player with 1 gray glass pane named " " to close
format slot 49 of player with 1 gray glass pane named " " to close
format slot 50 of player with 1 gray glass pane named " " to close
format slot 51 of player with 1 gray glass pane named " " to close
format slot 52 of player with 1 gray glass pane named " " to close
format slot 20 of player with 1 diamond boots named "&c&lBAN ZA CHEATY" with lore "&eZbanuj gracza za cheaty!" to close then run [execute console command "/ban %player% cheaty"]
format slot 22 of player with 1 diamond boots named "&c&lBAN ZA REKLAME" with lore "&eZbanuj gracza za reklame!" to close then run [execute console command "/ban %player% reklama"]
format slot 24 of player with 1 diamond boots named "&c&lBAN ZA OBRAZE" with lore "&eZbanuj gracza za obraze!" to close then run [execute console command "/ban %player% obraza"]
format slot 30 of player with 1 diamond boots named "&c&lBAN ZA BUGOWANIE" with lore "&eZbanuj gracza za reklame!" to close then run [execute console command "/ban %player% bugowanie"]
format slot 32 of player with 1 diamond boots named "&c&lBAN ZA BLUZGI" with lore "&eZbanuj gracza za bluzgi!" to close then run [execute console command "/ban %player% bluzgi"]
command /bkick [<player>]:
permission: bh.sk
permission message: &4Blad: &cNie masz dostepu do tej komendy!
trigger:
if player-arg is not set:
send "&4Blad: &cPodaj gracza!"
stop
else:
wait 1 tick
open chest with 6 rows named "&2KICK &7%player%" to player
loop 9 times:
format slot loop-number -1 of player with 1 gray glass pane named " " to close
format slot 9 of player with 1 gray glass pane named " " to close
format slot 18 of player with 1 gray glass pane named " " to close
format slot 27 of player with 1 gray glass pane named " " to close
format slot 36 of player with 1 gray glass pane named " " to close
format slot 45 of player with 1 gray glass pane named " " to close
format slot 17 of player with 1 gray glass pane named " " to close
format slot 26 of player with 1 gray glass pane named " " to close
format slot 35 of player with 1 gray glass pane named " " to close
format slot 44 of player with 1 gray glass pane named " " to close
format slot 53 of player with 1 gray glass pane named " " to close
format slot 46 of player with 1 gray glass pane named " " to close
format slot 47 of player with 1 gray glass pane named " " to close
format slot 48 of player with 1 gray glass pane named " " to close
format slot 49 of player with 1 gray glass pane named " " to close
format slot 50 of player with 1 gray glass pane named " " to close
format slot 51 of player with 1 gray glass pane named " " to close
format slot 52 of player with 1 gray glass pane named " " to close
format slot 20 of player with 1 golden boots named "&c&lKICK ZA SPAM" with lore "&eWyrzuc gracza za cheaty!" to close then run [execute console command "/kick %player% spam"]
format slot 22 of player with 1 golden boots named "&c&lKICK ZA FLOOD" with lore "&eWyrzuc gracza za reklame!" to close then run [execute console command "/kick %player% flood"]
format slot 24 of player with 1 golden boots named "&c&lKICK ZA CAPSLOCKA" with lore "&eWyrzuc gracza za capslocka!" to close then run [execute console command "/kick %player% capslock"]
format slot 30 of player with 1 golden boots named "&c&lKICK ZA BUGOWANIE" with lore "&eWryzuc gracza za reklame!" to close then run [execute console command "/kick %player% bugowanie"]
format slot 32 of player with 1 golden boots named "&c&lKICK ZA BLUZGI" with lore "&eWyrzuc gracza za bluzgi!" to close then run [execute console command "/kick %player% bluzgi"]
skrypt nie dziala jak klikne w ban nie otwiera sie menu, ale otwiera sie jak wpisze /bhr, w przypadku kickow tak samo...
prosze o pomoc
Pytanie
Fifixd 0
skrypt:
skrypt nie dziala jak klikne w ban nie otwiera sie menu, ale otwiera sie jak wpisze /bhr, w przypadku kickow tak samo...
prosze o pomoc
Odnośnik do komentarza
https://skript.pl/temat/38188-execute-console-command-nie-dziala/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ą.