Code: Select all
proc dj {nick host hand chan arg} {
global radio_url listener kbps song mlister
set file [open "|lynx http://64.246.38.123:9061/admin.cgi?pass=passgoeshere&mode=viewxml" r]
set html "[gets $file]"
Any ideas?[/code]
Code: Select all
proc dj {nick host hand chan arg} {
global radio_url listener kbps song mlister
set file [open "|lynx http://64.246.38.123:9061/admin.cgi?pass=passgoeshere&mode=viewxml" r]
set html "[gets $file]"
Code: Select all
set file [open "|lynx -source http://64.246.38.123:9061/admin.cgi?pass=pass&mode=viewxml" r]
set html $file
set html "[string trimleft html "<AIM>"]"
set html "[string trimright html "</AIM>"]"
putserv "PRIVMSG $chan : 9,1\[\ \0030Your current DJ:\002 $html \002\0039\]"\
Code: Select all
set file [open "|lynx -source http://64.246.38.123:9061/admin.cgi?pass=pass&mode=viewxml" r]
set html $file
set html "[string trimleft html "<AIM>"]"
set html "[string trimright html "</AIM>"]"
putserv "PRIVMSG $chan : 9,1\[\ \0030Your current DJ:\002 $html \002\0039\]"\