Code:
command /ban <player = %offlineplayer%> [<text>]:
trigger:
if arg-1 is not set:
send "&cPlease provide a user to ban."
if arg-1 is set:
if arg-2 contains "-s":
replace all "-s" with "" in arg-2
ban player due to arg-2
send "&e%arg-1% &chas been banned due to &a%arg-2% &7(Silent)" to all player where input is [permission.sk]
else: