poorly written.
I dunno why this junk is on SpigotMC.
this "dev" just likes to spam crap on this website for who knows what reason.
anyone could whip this crap up in 3 minutes tops.
You don't even know how staff chats work, so let me spill it on you.
A good staff chat skript should be customizable, without modifying the source code.
Your code has one single command with no customization.
You used 'admin chat' but don't have an independent admin chat .
You clearly don't know what required command args are, because you made this convoluted line:
if arg-1 is not set:
send "&cUsage: &4/staffchat message"
if arg-1 is set:
You didn't even use 'else:' for this (lmao)
You don't send the messages to console
You don't have chat prefix support (Ia. #[msg])
Why would you loop all players when you can
'send "x" to all players where [input has permission "y"]'
Poorly coded, bad skript, bad author. You are littering spigotmc with spam low effort posts and having your friends review them