Its not working, I dont know why
Code:
command /tempban [<player>] [<timespan>] [<text>]:
permission: tempban.mod.expadorsystem
permission message: &cYou don't have access to this command!
trigger:
if arg 1 is not set:
send "&cYou must specify a player name" to player
if arg 2 is not a number:
send "&cYou must specify a duration for the ban" to player
stop
if arg 3 is "":
send "&cYou must specify a reason for the ban" to player
stop
ban arg 1 due to arg 3 for arg 2
set {_bannedPlayer} to arg 1
set {_duration} to arg 2
set {_reason} to arg 3
send "&aYou have succesfully &cTEMP-BANNED &e%arg 1% &afor &e%arg 2% &aand reason &e%arg 3%"