mIRC Home    About    Download    Register    News    Help

Print Thread
message all channels #218761 24/02/10 07:45 AM
Joined: Jan 2010
Posts: 26
V
vinyltm Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jan 2010
Posts: 26
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!

Re: message all channels [Re: vinyltm] #218762 24/02/10 07:55 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
/help /amsg ?

Re: message all channels [Re: 5618] #218765 24/02/10 09:14 AM
Joined: Jan 2010
Posts: 26
V
vinyltm Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jan 2010
Posts: 26
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...

Re: message all channels [Re: vinyltm] #218766 24/02/10 09:23 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
That's one of the worse scripts I've ever seen. eek

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

Re: message all channels [Re: 5618] #218767 24/02/10 09:30 AM
Joined: Jan 2010
Posts: 26
V
vinyltm Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jan 2010
Posts: 26
lol thanks :-) yea it didnt look very nice i did like the feature to remove channels from being messaged though