mIRC Home    About    Download    Register    News    Help

Print Thread
#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!

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
/help /amsg ?

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...

Joined: Jun 2007
Posts: 933
5
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-

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


Link Copied to Clipboard