What I mean is, I want a list var to send like this
Instead of
My code kinda bad but here it is:
Code:
"1, 2, 3"
Code:
"1, 2, and 3"
My code kinda bad but here it is:
Code:
options:
useperm: "plugins.see"
command /plugins [<text>] [<text>]:
trigger:
player does not have permission "@useperm":
send "Plugins (1): &a37"
arg-1 is not set:
player has permission "@useperm":
{plugins::*} is set:
send "Plugins (%{count}%): &a%{plugins::*}%"
else:
send "Plugins (0):"
else if arg-1 is set:
player has permission "@useperm":
arg-1 is "add":
arg-2 is set:
{plugins::*} does not contain arg-2:
add 1 to {count}
add arg-2 to {plugins::*}
else:
send "Plugins (): Hey, you already added this one buddy."
else:
send "Plugins (): Hey, you forgot to add the name lol"
else if arg-1 is "remove":
arg-2 is set:
{plugins::*} contains arg-2:
subtract 1 from {count}
remove arg-2 from {plugins::*}
else:
send "Plugins (): Hey, that does not exist stupid!"
else:
send "Plugins (): Hey, you forgot to add the name lol"
on tab complete of "/":
clear tab completions