| View previous topic :: View next topic |
| Author |
Message |
dtgorm Voice
Joined: 24 Jan 2007 Posts: 4
|
Posted: Sun Mar 18, 2007 5:35 pm Post subject: Make eggy pm another bot? |
|
|
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 |
|
 |
dtgorm Voice
Joined: 24 Jan 2007 Posts: 4
|
Posted: Sun Mar 18, 2007 5:41 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
BIF Voice
Joined: 31 Jul 2006 Posts: 12
|
Posted: Thu Apr 05, 2007 8:05 pm Post subject: Hmm |
|
|
| 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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Apr 06, 2007 6:13 am Post subject: |
|
|
| 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 |
|
 |
|