mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Sep 2014
Posts: 259
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2014
Posts: 259
yes, it will be added to the variables tab and should look like

%botchans #chan1 #chan2 #chan3

Joined: Jan 2015
Posts: 168
P
Vogon poet
Offline
Vogon poet
P
Joined: Jan 2015
Posts: 168
Thanks man I appreciate it. I was curious as to how to do this but couldn't quite figure it out either.

Joined: Sep 2014
Posts: 46
S
Spike Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2014
Posts: 46
Originally Posted By: Sakana
Seems like this is what you're looking for

Code:
on *:text:!join:#BOTNAMEHERE: {
var %chan = $chr(35) $+ $nick
join %chan 
set %botchans %botchans %chan
msg # I will join your channel!
}


alias autojoin {
var %i 1
while ($gettok($1-,%i,32)) {
.timer 1 $calc(%i * 5) join $gettok($1-,%i,32)
inc %i
}
}


ON *:CONNECT: if ($me == BOT_NAME) { autojoin %botchans }

Would you know a way for me to make a !leave command with all that also?

Joined: Jun 2014
Posts: 248
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Jun 2014
Posts: 248
Ya use
$remtok(%botchans, #, 1, 32)
/part #

Joined: Jan 2014
Posts: 107
M
Vogon poet
Offline
Vogon poet
M
Joined: Jan 2014
Posts: 107
I apologize for not seeing this thread sooner.


If there is anything I can help with, let me know.

(sorry I haven't been around much, work is taking up a lot of my time)

Page 2 of 2 1 2

Link Copied to Clipboard