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.

add irc stuff to database

Old posts that have not been replied to for several years.
Locked
t
turmein
Voice
Posts: 3
Joined: Wed Jan 19, 2005 12:50 pm

add irc stuff to database

Post by turmein »

what iam wanting to do is add automaticaly stuff said from a vcdq bot into database, then being able to seach from it by typing !search/dupe Start trek the movie etc . The bot would say Start trek the movie was released so many days or weeks ago. I searched teh whole archive/forums but i cant/dont know what tcl i need to do this.Can someone give me a kick up teh ass and say try such and such a tcl ? Please help me . Best Regards .

Turmien.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Re: add irc stuff to database

Post by ^DooM^ »

turmein wrote:from a vcdq bot
a VCDQuality bot?

Is this an eggdrop running a vcdquality tcl script or a standalone bot?

Do you own the bot or do you want to copy everything this bot says to a database? and recall the information from your own bot?

Please explain a little clearer. :roll:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
t
turmein
Voice
Posts: 3
Joined: Wed Jan 19, 2005 12:50 pm

sorry

Post by turmein »

My apologies for not explaining correctly.

:oops:

The Vcdquality bot sends new info into a irc chan and yes i want to copy everything said by the Vcdq bot into a database so i could recall it with a !search/dupe command. best regards and thanks.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

There is no tcl script todo that specific job to my knowledge.

There is a substantial amount of help already in this forum for writing to a file and searching through a file with triggers that you can set to whatever you want.

When the vcdq bot displays its information that you want to capture is there a common thing it prints to screen for instance

Code: Select all

[VCDQ] The Release In This Line Is foo bar


where [VCDQ] is on every line. If so you can look for that on channel and capture those lines only. Else if there is no common theme and it just spews out the information then you would need to capture the line from a specific nick or host.

Do a search for writing to file in this forum for a good start. :D
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
t
turmein
Voice
Posts: 3
Joined: Wed Jan 19, 2005 12:50 pm

ta

Post by turmein »

Thanks for the quick response :) ok guess i was searching for the wrong thing , cheers i will run a search for that type of script on this site. Yep , there is a common text it prints to teh screen i.e

Code: Select all

[VCDQuality]this.is.movie.of.some-sort  on 01/19/2005 by XYZ [ http://www.vcdquality.com/info.php/i-47286.html ]

Hopefuly it should capture that to the file. Big time thanks man. its people like you who are so helpfull and make the internet such a great place! best reagrds! :)
Locked