Page 1 of 1

Bot/Script Help....

PostPosted: Fri Apr 23, 2010 2:18 am
by FrozenPencil
"!say Hi, I am a bot" The bot would say "Hi, I am a bot". The bot would say whatever was after the !say command.

^Script for that?

Thanks

Re: Bot/Script Help....

PostPosted: Fri Apr 23, 2010 1:15 pm
by Zetacon
Assuming you are speaking of an mIRC bot, the code follows:

Code: Select all
on *:TEXT:!command:#:{ msg $chan TEXT HERE }

Re: Bot/Script Help....

PostPosted: Fri Apr 23, 2010 2:43 pm
by FrozenPencil
Zetacon wrote:Assuming you are speaking of an mIRC bot, the code follows:

Code: Select all
on *:TEXT:!command:#:{ msg $chan TEXT HERE }


I didn't really describe what I wanted well. Sorry. This is a better description of what I wanted:

"!say Hi, I am a bot" The bot would say "Hi, I am a bot". The bot would say whatever was after the !say command.

Re: Bot/Script Help....

PostPosted: Fri Apr 23, 2010 2:48 pm
by Zetacon
Code: Select all
on *:TEXT:!say *:#:{ msg $chan $2- }

Re: Bot/Script Help....

PostPosted: Fri Apr 23, 2010 3:03 pm
by FrozenPencil
Zetacon wrote:
Code: Select all
on *:TEXT:!say *:#:{ msg $chan $2- }


Thanks, I'll see if that works...