| View previous topic :: View next topic |
| Author |
Message |
35i-pilot Voice
Joined: 17 Nov 2005 Posts: 5
|
Posted: Tue Nov 07, 2006 3:00 pm Post subject: respond - data base datenbank / text file |
|
|
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 
Last edited by 35i-pilot on Tue Nov 07, 2006 4:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Tue Nov 07, 2006 3:37 pm Post subject: |
|
|
| I'd try english if you except any other responses. |
|
| Back to top |
|
 |
35i-pilot Voice
Joined: 17 Nov 2005 Posts: 5
|
Posted: Tue Nov 07, 2006 4:17 pm Post subject: |
|
|
bad english...
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
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 [/code] |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Nov 07, 2006 9:59 pm Post subject: |
|
|
| metroid wrote: | | I'd try english if you except any other responses. |
Or De Kus  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Nov 08, 2006 4:10 am Post subject: |
|
|
| Where does the bot get the list of color codes from? |
|
| Back to top |
|
 |
|