ok I know the common
on *:text:*hello:$chan { /msg hello $nick }
commands but I was thinking more along the lines of nick recognition and text comparison.
like with above on text command it will look for hello anywhere in the beginning text. but what if the bot says hey $nick randomly. then $nick says hello $me how are you then the bot replies hello again instead of I'm good how are you. or what if $nick says whats up $me how are you.
ok now lets say we have it set up to say.
on *:text:*hi:$chan { /msg hello $nick }
on *:text:how are you*:$chan { /msg I'm good and you }
and the bot replies to the first trigger so it says hello $nick.
or the bot replies to the second trigger so it says I'm good and you. but what if it could combine the responses to say hello $nick how are you. or as in the first example it says I'm good.
I have seen many pearl bots and vb bots that learn from chatting with users so I was wanting to build a AI engine so the bot self learns from scratch and can write its own script.