I’d like to make a “Teacherbot” command for Twitch which responds to “can I” with “I dunno, [user], can you?” But I don’t know enough to execute this. Can Nightbot even respond to a multi-word command like “can I”? If so, I appreciate any help you code geniuses can offer.
Copy & paste this into chat:
!addcom -cd=5 can $(eval decodeURIComponent(`$(querystring)`).toLowerCase()==`i`?`I dunno, $(user), can you?`:` `)
Awesome, thank you! Quick question, is there a way for nightbot to still respond if I keep typing after the initial “Can I”? Right now if I type anything else the command doesn’t trigger.
!addcom -cd=5 can $(eval decodeURIComponent(`$(querystring $(1))`).toLowerCase()==`i`?`I dunno, $(user), can you?`:` `)
Whoa that was quick, its perfect! Thanks for the help! And sorry for the hassle.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.