You ever seen on some channels when You have the bots called
Bot
[1]Bot
[2]Bot
[3]Bot
[4]Bot
And you invite 'Bot' And it makes one of the random bots join your channel? Well this is what that script does, its not much and pretty simple and basic, And could use ALOT of work.
Make sure to set %botname to your MAIN bots name
Make sure to set %bots to the number of bots you have connected, NOT INCLUDING THE MAIN ONE
on *:invite:#:{
var %x $rand(1,%bots)
set %tempnick $nick
if ($me == %botname) {
notice $nick Searching for bots....
timer 1 3 msg [ $+ %x $+ ] $+ %botname ^Go $chan
writeini channels.ini channels $chan yes
close -m
}
}
on *:text:^go *:?:{
if ($nick == %botname) {
join $2
timer 1 2 msg $2 Your Message to the Channel.
close -m
}
}
you have 1 too many close braces in your On Invite
ok script if you have bots with that nick...easy way to get them to a channel
You could add something like this to it:
on *:LOAD { set %bot.greet $?="Please enter your message to the channel." )
and then change your On Text:
on *:text:^go *:?:{
if ($nick == %botname) {
join $2
timer 1 2 msg $2 %bot.greet $+ .
close -m
}
}