egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make eggy pm another bot?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
dtgorm
Voice


Joined: 24 Jan 2007
Posts: 4

PostPosted: Sun Mar 18, 2007 5:35 pm    Post subject: Make eggy pm another bot? Reply with quote

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.
Back to top
View user's profile Send private message
dtgorm
Voice


Joined: 24 Jan 2007
Posts: 4

PostPosted: Sun Mar 18, 2007 5:41 pm    Post subject: Reply with quote

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 Razz
Back to top
View user's profile Send private message
BIF
Voice


Joined: 31 Jul 2006
Posts: 12

PostPosted: Thu Apr 05, 2007 8:05 pm    Post subject: Hmm Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Apr 06, 2007 6:13 am    Post subject: Reply with quote

Code:
bind join - * bot:joined

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

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber