mIRC Homepage

message all channels

Posted By: vinyltm

message all channels - 24/02/10 07:45 AM

looked around through other scripts and bot scripts, couldn't find anything that came close... trying to figure out how to make my bot message all channels if i do something like

Quote:
on *:text:!notify *:#: { msg all channels --> $nick $+ : $$2- }



any help would be great!
Posted By: 5618

Re: message all channels - 24/02/10 07:55 AM

/help /amsg ?
Posted By: vinyltm

Re: message all channels - 24/02/10 09:14 AM

Quote:
on *:TEXT:!amsg *:#:{
if ($nick == vinyltm) {
Var %x = 1, %y = $Chan(0)
Var %z = #chan #chan #chan
While (%x <= %y) {
If ($Chan(%x) !isin %z) {
Msg $Chan(%x) [Global~Message] $2- [From $nick $+ ]
}
Inc %x
}
}
else {
.notice $nick you cant use this.
}
}
found this but i need it to do it on all servers currently logged... my bot is running on 8 servers and i want it to do it on all rooms it's logged into... any idea where i should put the change...
Posted By: 5618

Re: message all channels - 24/02/10 09:23 AM

That's one of the worse scripts I've ever seen. eek

Code:
on *:TEXT:!amsg *:#: if ($nick == vinyltm) scon -at1 amsg $nick $+ : $$2-
Posted By: vinyltm

Re: message all channels - 24/02/10 09:30 AM

lol thanks :-) yea it didnt look very nice i did like the feature to remove channels from being messaged though
© 2021 mIRC Discussion Forums