How to get all values after command?


I’m running Phantombot latest stable version. I’m trying to make a command that pass everything to an API, for example:

!command hello how are you

It would make an http request like how are you

Assuming you can pass anything after the command, no matter the amount of values after separated by space. I’ve been able to use:$1

But it only yields the first parameter.

Found it in old links in Github, (echo) will output everything.

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