I'm setting up a /clear command, but I haven't found a way to clear another players inv.
Also, could someone fix the aligning of the "if arg 1 is not set:" I get minor errors with it.
command /clear [<player>]:
aliases: /ci, /eclear
permission: scopes.clear
permission message: <light red>You don't have access to that command.
trigger:
if arg 1 is not set:
send "%nl% <gray>Your <light red>inventory<gray> has been cleared. %nl%"
clear the player's inventory
if arg 1 is set:
message "%nl% <gray>Your <light red>inventory<gray> has been cleared. %nl%"
clear the %arg 1's% inventory
Also, could someone fix the aligning of the "if arg 1 is not set:" I get minor errors with it.
command /clear [<player>]:
aliases: /ci, /eclear
permission: scopes.clear
permission message: <light red>You don't have access to that command.
trigger:
if arg 1 is not set:
send "%nl% <gray>Your <light red>inventory<gray> has been cleared. %nl%"
clear the player's inventory
if arg 1 is set:
message "%nl% <gray>Your <light red>inventory<gray> has been cleared. %nl%"
clear the %arg 1's% inventory