Bot/Script Help....

Moderator: GeekShed.Net Staff

Bot/Script Help....

Postby FrozenPencil » Fri Apr 23, 2010 2:18 am

"!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
Last edited by FrozenPencil on Fri Apr 23, 2010 2:44 pm, edited 1 time in total.
FrozenPencil
 
Posts: 7
Joined: Fri Oct 30, 2009 12:37 am

Re: Bot/Script Help....

Postby Zetacon » Fri Apr 23, 2010 1:15 pm

Assuming you are speaking of an mIRC bot, the code follows:

Code: Select all
on *:TEXT:!command:#:{ msg $chan TEXT HERE }
Zetacon
 
Posts: 11
Joined: Thu Nov 12, 2009 2:10 pm

Re: Bot/Script Help....

Postby FrozenPencil » Fri Apr 23, 2010 2:43 pm

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.
FrozenPencil
 
Posts: 7
Joined: Fri Oct 30, 2009 12:37 am

Re: Bot/Script Help....

Postby Zetacon » Fri Apr 23, 2010 2:48 pm

Code: Select all
on *:TEXT:!say *:#:{ msg $chan $2- }
Zetacon
 
Posts: 11
Joined: Thu Nov 12, 2009 2:10 pm

Re: Bot/Script Help....

Postby FrozenPencil » Fri Apr 23, 2010 3:03 pm

Zetacon wrote:
Code: Select all
on *:TEXT:!say *:#:{ msg $chan $2- }


Thanks, I'll see if that works...
FrozenPencil
 
Posts: 7
Joined: Fri Oct 30, 2009 12:37 am


Return to Script help

Who is online

Users browsing this forum: No registered users and 3 guests

cron