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 

respond - data base datenbank / text file

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


Joined: 17 Nov 2005
Posts: 5

PostPosted: Tue Nov 07, 2006 3:00 pm    Post subject: respond - data base datenbank / text file Reply with quote

hallo, such ein .tcl script für den eggdrop welches bestimmte wörter/kombinationen beantwortet mit passendem ausdruck.

bsp:
ich geb ein: !lackcode LY3D
bot gibt aus: Der Lackcode LY3D ist Tornadorot

da es sehr viele lackcodes sind (342 stück) ist ein manuells eingeben der liste in einen tcl code eine qual und eine, ich sag mal datenbank, einfacher, oder ?

hatte schon im archiv was entsprechendes gefunden, mc.respond, aber das kommt irgendwie nicht klar bzw. funktioniert nicht richtig. wenn ich es recht gelesen habe ist der support für das script auch eingestellt Sad


Last edited by 35i-pilot on Tue Nov 07, 2006 4:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Tue Nov 07, 2006 3:37 pm    Post subject: Reply with quote

I'd try english if you except any other responses.
Back to top
View user's profile Send private message
35i-pilot
Voice


Joined: 17 Nov 2005
Posts: 5

PostPosted: Tue Nov 07, 2006 4:17 pm    Post subject: Reply with quote

Embarassed bad english... Embarassed

need a script which respond to word/numbers combinations like:
user writes in channel: !code LY3D
the bot/script respond: The Code LY3D is RED
user writes in channel: !code LN5Y
the bot/script respond: The Code LN5Y is BLUE

a simple responder like this...
Code:

bind msgm - * IAmABot
proc IAmABot {nick args} {
 puthelp "PRIVMSG $nick :I'm a bot."
}

dont works for me, because there are 342 color codes Rolling Eyes
i have no time to add them ALL in this form.

script as mc.respond (from tcl archiv) with data base support is great, but mc.respond dont work with my list & the support was stopped.

i`m really sorry for my english Embarassed [/code]
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Nov 07, 2006 9:59 pm    Post subject: Reply with quote

metroid wrote:
I'd try english if you except any other responses.

Or De Kus Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Nov 08, 2006 4:10 am    Post subject: Reply with quote

Where does the bot get the list of color codes from?
Back to top
View user's profile Send private message
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