mIRC Home    About    Download    Register    News    Help

Print Thread
#218761 24/02/10 07:45 AM
V
vinyltm
vinyltm
V
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!

#218762 24/02/10 07:55 AM
5
5618
5618
5
/help /amsg ?

#218765 24/02/10 09:14 AM
V
vinyltm
vinyltm
V
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...

#218766 24/02/10 09:23 AM
5
5618
5618
5
That's one of the worse scripts I've ever seen. eek

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

#218767 24/02/10 09:30 AM
V
vinyltm
vinyltm
V
lol thanks :-) yea it didnt look very nice i did like the feature to remove channels from being messaged though


Link Copied to Clipboard