Making a command that adds a command that uses a query


#1

I want to do something like this:
!commands edit !nighton -ul=moderator -a=!commands edit !nightsay @anonuser $(query)

but because of how it works, if you type “!nightsay hello” it’ll respond with “@anonuser” instead of “@anonuser hello”


#2

@betachess Hey listen, if you’re still there, this is possible:

!commands !edit !nighton -a=!commands edit !nightsay @anonuser $(eval '$'+'(query)')


#3

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