mIRC Home    About    Download    Register    News    Help

Print Thread
#244287 13/02/14 10:58 PM
Joined: Feb 2014
Posts: 2
M
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Feb 2014
Posts: 2
Is there a way to get a bot to recognize words in a sentence, and respond to them? For example if someone says "you are dumb", the bot recognizes the dumb and says something like "don't call people dumb"

Joined: Feb 2014
Posts: 12
T
Pikka bird
Offline
Pikka bird
T
Joined: Feb 2014
Posts: 12
wheres there #chan insert your channel name

on 1:text:*(word)*:#chan : { describe $chan(action) }

can use $nick in the action to use nick that did command

for example

on 1:text:*bored*:#chan : { describe $chan pokes $nick , now your not bored }

multiple words can be added like this

on 1:text:*im*so*bored*:#chan : { describe $chan pokes $nick , now your not bored }

make sure the * is between each word

Last edited by tristan; 14/02/14 03:26 PM.
Joined: Feb 2014
Posts: 2
M
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Feb 2014
Posts: 2
Thanks a lot! Works great.

Joined: Feb 2014
Posts: 12
T
Pikka bird
Offline
Pikka bird
T
Joined: Feb 2014
Posts: 12
your welcome glad it works for you :-)


Link Copied to Clipboard