adding a space to nightbot commands

Asked Jul 26, 2020·1 reply·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hello.

recently I saw a script to add the command 'how are you' which allows for spaces.

(link expired)

i was wondering if there was an easy way to create a script which allowed me to create the following command phrase:

'inspect boysin1CmnShl1'

with the following response:

'boysin1CmnShl1 A standard turtle shell. Sturdy and great for everyday use.'

ideally the script would act as a template, so i could swap out 'boysin1CmnShl1' in the command phrase, as well as change the response. Thanks!!!

1 reply

Hey @Brisk Otter!

From what I understand, you need something totally different from the topic you linked.
Before we go further tho', can you confirm that what you want is having a command to mention an user and change the output at random/specific to some user (please specify which one of the two it is).
So an output like:

!inspect USERNAME
USERNAME RANDOM/SPECIFIC_ANSWER