code_language.skript:
command /lol [<text>]:
trigger:
set {_test} to length of "%arg-1%"
if {_test} is less than 16:
broadcast "&aYes! arg 1 is bigger than 16"
broadcast "%arg-1%"
else:
broadcast "&cNo! arg1 is less than 16 "
broadcast "%arg-1%"
How can I make my script "cut" arg-1, so instead of broadcasting this:
Hello there i am Pykaxe And this is a bad script.
It would broadcast this (so in two lines):
Hello there i am Pykaxe
And this is a bad script.