Script Date: 20/08/2003
Category: Info Scripts
Advanced !learn script for eggdrop. Features learn, forget, insert, file share and more.
Extended Description File
Dictionary 4.65 by MORA@EFNet
The triggers can be changed, the defaults are
!learn <word> <def>: Add a word.
!insert <word> <id> <def>
?? <keyword> : Get a word.
!forget <keyword> <id> : delete explanation id from keyword.
status? : Shows basic status (lines and definitions)
!seach <text> : Allows to search for a keyword (like !search *moo*
will find anything containing moo, works like string match)
??help : Shows help info.
?? can be called with a argument.
?? -i keyword makes the bot add whom wrote it and when to the text.
?? -t nick keyword makes the bot send utput to <nick> instead
(Can be a channel too).
!delword keyword 0 deletes all entries with that keyword.
Hint : !seach * gives a list of all words in the database.
All functions can be used from /msg too.
*** QUICK INSTALL ***
download the tcl to your eggdrop dir.
add "source dictionary.tcl" in your config
.chanset #chan +dicm
.chattr yourhandle +H
You can change the need to use chanset, and chattr in the tcl file.
If using windrop you have to create a empty dictionary.dat yourself.