Page 1 of 1

msn chat bot

Posted: Thu Jul 31, 2003 20:07 pm
by Guest
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.

Posted: Thu Sep 04, 2003 17:40 pm
by Another Guest
The problem is your HOP command, which parts & joins the current room

your parting, then joining again, and trying to join a random room from the text file

Posted: Sat Oct 25, 2003 15:17 pm
by cassandra
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.

Posted: Sat Oct 25, 2003 15:27 pm
by Tech
Theres enough spam on the net as is. No need to create more.