blob: 5cd760633ddb439bb4fb46ee9829c36ab250dced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"
|