Hi,
Badly i need this..pls help me
I'm preparing for a MSN Chat bot, using vincula to connect MSN.
I have list of chat rooms in my file,i want to switch over each chat room at some interval..here the code i have ,
on *:connect:.timerMyTimer -i 0 14 /hop part # | join $read(roomlist.txt)
i'm getting error,
TheLobby1 unable to join channel (too many channels open)
channel is closing and it keep on joining the same room.i want to quit and join another room.
can any one help me?
thanx,
sasi.
msn chat bot
not that it matters now, but...
alias spam {
msg %spam.room Your spam msg goes here.
}
alias nextspam { /.timerspam 0 2 spamjoin }
alias spamjoin {
inc %spam 1
if (%spam <= $lines($mircdir\ $+ spam.txt)) {
set %spam.em $read -l $+ %spam spam.txt
%spam.em = $replace(%spam.em,$chr(32), \b)
msn.join $chr(37) $+ $chr(35) $+ %spam.em
inc %spam
}
else { echo -a Spam Room List: Completed | /.timerspam OFF }
}
on ^*:JOIN:#: {
if ($nick == $me) {
set %spam.room $chan
spam
quit
halt
}
}
List your channels on spam.txt and fire the bot up. it'll go room to room. you can use the nHTML.dll to auto list the room names off the rooms list.
alias spam {
msg %spam.room Your spam msg goes here.
}
alias nextspam { /.timerspam 0 2 spamjoin }
alias spamjoin {
inc %spam 1
if (%spam <= $lines($mircdir\ $+ spam.txt)) {
set %spam.em $read -l $+ %spam spam.txt
%spam.em = $replace(%spam.em,$chr(32), \b)
msn.join $chr(37) $+ $chr(35) $+ %spam.em
inc %spam
}
else { echo -a Spam Room List: Completed | /.timerspam OFF }
}
on ^*:JOIN:#: {
if ($nick == $me) {
set %spam.room $chan
spam
quit
halt
}
}
List your channels on spam.txt and fire the bot up. it'll go room to room. you can use the nHTML.dll to auto list the room names off the rooms list.