
January 10th, 2013, 06:44 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 6 m 59 sec
Reputation Power: 0
|
|
|
Beginner reply bot question
Hello
Im trying to make basic irc reply bot and i have question. My reply code looks like this at the moment:
if data.find ( 'bot' ) != -1:
irc.send ( 'PRIVMSG #channel :Yes i am bot\r\n' )
Is it possible to make it not respond if letters "bot" are part of some word like robot or bottle.
|