User name + a number

Hello everyone, I’ve got some troubles to create a command. I would like to create a command where you can add the name and a number. Ex : !troll leaprima 8
And the wizebot would reply something like “leaprima will be asked floor 8” how can I create this? Thanks a lot in advance, best

so l found out that it was $twitch(display_number,$arg(1)) to get the name, but I can’t find anything about the number? Thanks in advance everyone, cheers

Ex : !troll leaprima 8
And the wizebot would reply something like “leaprima will be asked floor 8” how can I create this?

You can use: “$twitch(display_name,$arg(1)) will be asked floor $arg(2)”

Using $arg(2) allows you to display the second value of whatever you wish in its place.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.