diff options
Diffstat (limited to 'tld.tcl')
-rw-r--r-- | tld.tcl | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +bind pub - !tld proc_file + +proc proc_file {nick host hand chan arg} { + set arg [string trim $arg] + if {$arg == ""} { + return 0 + } + + set output [split "[exec perl /home/eggdrop/eggdrop/scripts/tld.pl $arg]" "\n"] + foreach out $output { + putserv "PRIVMSG $chan :$out" + } +} + +putlog "filetype by lookshe loaded" |