Command to let bot talk to notice

Old posts that have not been replied to for several years.
Locked
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Command to let bot talk to notice

Post by cambodia »

can we use party line to ask bot talk to do some command like

/msg nickserv identify botnick pass
/msg otherbot login botnick pass
/msg operserv oper botnick pass
..............

anyway to do or need to have special tcl to use those command ?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Yes you can virtually make the bot do anything. In your .conf file 'comment' the unbind directive for dcc:tcl. Save the configuration file and restart the bot.

It should be like this:
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
Then in partyline, you can type all the stuff like:

Code: Select all

.tcl putserv "privmsg nickserv :identify <botnick> <password>"
.tcl putserv "privmsg otherbot :login <botnick> <password>"
.tcl putserv "privmsg operserv :oper <botnick> <password>"
Basically here you are making the bot send direct strings of text over to the server. Like if you use anope irc services, /msg operserv raw does exactly the same, but in more advanced level.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.msg nickserv identify <botnick> pass
..........
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

it work now thank fz :D
Locked