So I'd like to get help with a command i came up with.
It would be , if a pecific user types something then nightbot responses.
Example :
If @member types Hi , then nightbot answers with something
If @member types Hi, nightbot doesnt answers
Nightbot If argument
11 replies
the best way to do that would be like this:
!addcom Hi $(eval `$(user)`==`USER1`?`RESPONSE1`:`$(user)`==`USER2`?`RESPONSE1`:`RESPONSE2`)
Note: type the usernames in all lowercase for it to work properly also no “@“ symbol.
There are other ways to add more users but this way is simplist since you only have 2 users.
Didn't find your answer? The community is on Discord.
Ask on Discord