#(boringmosk) Command args join...

1 messages · Page 1 of 1 (latest)

coral cipher
#

In a command I need something like
define one:arg[1]
define two:arg[2]
define rest:all_the_args_from_3_till_end

Is there a simple way to do it?

blissful solsticeBOT
#

(boringmosk) Command args join...

blissful solsticeBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

kind drift
#

!t listtag.get

torn oarBOT
# kind drift !t listtag.get

Returns an element of the value specified by the supplied context.
Specify more than one index to get a list of results.
Note the index input options described at !objecttype listtag

Returns

ObjectTag

Examples
# Narrates "one"
- narrate <list[one|two|three].get[1]>
# Narrates a list of "one|three"
- narrate <list[one|two|three].get[1|3]>
coral cipher
#

Simply as that! Yeah! That's why I like Denizen!
So I ust have to use <context.args.get[3].to[context.args.size]>?

kind drift
#

You can use the word "last" inside the "to" brackets

coral cipher
#

Nice

cosmic vineBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@coral cipher