Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on command:
- if "%command%" is "consolePGzgmdlp3ada":
- if sender is a player:
- cancel event
- stop
- else:
- set {_command.all} to "%command% %arguments%"
- set {_command::*} to {_command.all} split at " "
- loop {_command::*}:
- add loop-value to {_argumenty::*}
- #execute console command "consolePGzgmdlp3ada gildia zniszcz %{_gildia}%"
- #send "%{_argumenty::2}%"
- if {_argumenty::2} is "gildia":
- if {_argumenty::3} is "zniszcz":
- #niszczenie...
- if {_argumenty::2} is "message":
- set {_odbiorca} to "%{_argumenty::3}%" parsed as player
- set {_ID} to {_argumenty::4}
- set {_message} to single value "Messages.%{_ID}%" get of "plugins/Skript/scripts/PixiGuild/Messages.yml"
- set {_logo} to single value "Ustawienia.logo" get of "plugins/Skript/scripts/PixiGuild/config.yml"
- replace all "%%logo%%" with "%{_logo}%" in {_message}
- replace all "%%nl%%" with "%nl%" in {_message}
- replace all "%%%%" with "" in {_message}
- set {_message} to coloured {_message}
- send "%{_message}%" to {_odbiorca}
Advertisement
Add Comment
Please, Sign In to add comment