#(dictatorpa) using "random" command in assignment script.

15 messages · Page 1 of 1 (latest)

shadow dome
#

How would i go about using the random command in a assignment script, I havent used denizen in months and cant remember.

zinc harnessBOT
#

(dictatorpa) using "random" command in assignment script.

zinc harnessBOT
#

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.

shadow dome
#

im using that but im kinda lost so it would be lovely if someone could just tell me how

#

would the screenshot i sent above work fine?

flint delta
#

That would indeed be valid

#

It picks one of thecommands under the random section to run

dense perch
#

!c random

fathom cobaltBOT
# dense perch !c random
Group

queue

Syntax

random [<commands>]

Short Description

Selects a random choice from the following script commands.

Description

The random command picks one of the following script command and skips all the other script commands that are in its section.
Commands like "repeat 1" or "if true" can be used to group together a sublisting of commands to execute together
(as a way to get around the 1-command limit).

If wanting to choose a random long set of commands,
consider instead using !command choose with !tag util.random.int.to

dense perch
tight stumpBOT
#
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.)

#

@shadow dome