This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Make eggy pm another bot?

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
d
dtgorm
Voice
Posts: 4
Joined: Wed Jan 24, 2007 12:07 pm

Make eggy pm another bot?

Post by dtgorm »

I am trying to get my eggy to send a pm to another bot..

I have a certain channel im making my eggy join, from there, i need it to pm another bot with like.. /msg otherbot login [user] [ pass] where I will hard code the login info. I have been searching and trying different things but have had no luck.

I am also wondering how I can manually pm someone from within the bot's dcc chat command line..

Thanks guys,

P.S. if this isnt the right place for this, let me know or where I should look for learning how to do this.
d
dtgorm
Voice
Posts: 4
Joined: Wed Jan 24, 2007 12:07 pm

Post by dtgorm »

Ok, i hate when this happens.. ill post something that I have been working on for a long time then it just comes to me...

Ok, figured out the sending private message part
.msg <nickname> <text>

Now i need my bot to perform .msg <nickname> <text> when it joins a particular channel or maybe just when it comes online. Ill need to check whether its already in that channel or not

Ok, lets see if i figure that out also after 2 days of trying now that I posted here.. see these forums are really good even if no one replies :P
B
BIF
Voice
Posts: 12
Joined: Mon Jul 31, 2006 4:53 pm

Hmm

Post by BIF »

Have you tryed a timed script.. Something like if the bot is in a channel, send privmsg $botnick with the msg text ? that it will check and send the msg once an hour or soemthing.. Or you can have the bot as it joins the channel send a msg to a defined bot.. lemme do both fer ya
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

bind join - * bot:joined

proc bot:joined {nick uhost hand chan} {
 if {[isbotnick $nick] && [string equal -nocase #yourchannel $chan]} {
  # The bot has joined #yourchannel
 }
}
Post Reply