and the eggdrop starts fine no error, and no error when the pub command
is written... nothing in log what so ever but nothing happens...
Code: Select all
set ccdrift_url "http://www.cstv.dk/ccdrift/index.php"
bind pub - !ccdrift ccdrift_topic
proc ccdrift_topic {nick host hand chan args} {
global ccdrift_url
set file [open "|lynx -source $ccdrift_url" r]
set html "[gets $file]"
set html "[string trimleft $html "<h1>"]"
set html "[string trimright $html "</h1>"]"
putserv "TOPIC $chan :$html"
}
have tried removing the two string trim