i know i can use word and bot answer after someone writing this word. is possable use 2 or more words for command? when use"hi" bot answer “hello or wellcome”. but i want use “Hi bro” and is take only first word and no phrase (combination of words) how i can make it working?
Hiya, Nightbot will only trigger on the first word. However you can use the $(eval) function to check the second word the user typed.
Something liket his,
!commands add -cd=5 hi $(eval '$(1)'=='bro' ? 'Hi bro response':' ')
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.