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.

a seen TCL for alternative bot...

Old posts that have not been replied to for several years.
Locked
J
Jane`Lane
Voice
Posts: 15
Joined: Thu Sep 30, 2004 7:22 pm
Location: Rome, Italy

a seen TCL for alternative bot...

Post by Jane`Lane »

I'll explain it better... it could happen that the eggdrop with the see.tcl loaded is down... so anybody can search people in channel.
"load the tcl on another eggdrop" you may say...
but it's ugly to read twice the same answer when the 2 eggdrops are both up!!! so, is there a way to load on 2 eggdrops the same seen.tcl, but activate it with 2 different commands? for example:

Bot1: !seen
Bot2: !search

I hope my post is clear enough :oops:
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Yes its extremely easy to do what you ask. Find the line in the script its usually near the top of the script that says

Code: Select all

bind pub - seenprocname !seen
where seenprocname corresponds the the procedure that is called when !seen is typed. On your second eggdrop bot with the same script change the word that says !seen in that bind line mentioned above to !search and restart your eggdrop. You have to restart it rather than rehash it because the eggdrop will not remove the old !seen bind untill its been restarted. Hope this helps.
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
J
Jane`Lane
Voice
Posts: 15
Joined: Thu Sep 30, 2004 7:22 pm
Location: Rome, Italy

Post by Jane`Lane »

:? dear DooM, I can't find that string in my tcl, since I'm using the italian traslation of bass's seen by daxeel... if you want to have a look at it, it's in the list of tcl seen scripts of egghelp.org
thanks :D
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

This is from the english version, I don't think it's different in the italian one

Code: Select all

bind pub -|- [string trim $bs(cmdchar)]seen bs_pubreq1
change seen to search.
Locked