Code:
cmd create sc
cmd add sc load %staffs%
cmd add sc if varset(%staffs%) = %false% then let %staffs% = array(\" \")
cmd add sc if playergroup(%p%) in array(\"Guest\", \"VIP\", \"MVP\") then message %p% §cYou don't have the permission to use this command!
cmd add sc if playergroup(%p%) in array(\"Guest\", \"VIP\", \"MVP\") then exit
goto 10
let %msg% = join(%args%[1+], \" \")
ascon /cmd run scc %p% %msg%
exit
let %staffs%[] = %p%
save %staffs%
goto 7
exit
cmd create scc
cmd add scc load %staffs%
cmd add scc let %mes% = join(%args%[2+], \" \")
cmd add scc let %pl% = %args%[1]
cmd add scc message %staffs% §8[§6StaffChat§8] §f%pl% §8> §f%mes%
cmd add scc exit
cmd unregister scc