alias F10 startaltscripts alias startaltscripts dialog -m altscripts altscripts dialog altscripts { title "AltScripts Info" size -1 -1 150 146 option dbu text "AltScripts Information",1, 1 3 148 9, center tab " Stats ",2, 1 10 149 135 tab " News ",3 tab "Users Online Now",4 text "",5, 4 25 140 8, tab 2 text "",6, 4 34 140 8, tab 2 text "",7, 4 43 140 8, tab 2 text "",8, 4 52 140 8, tab 2 text "",9, 4 61 140 8, tab 2 text "",10, 4 70 140 8, tab 2 text "",11, 4 88 140 50, tab 2 text "",12, 4 25 140 100, tab 3 link "Newest Post",13, 60 130 30 6, tab 3 text "",14, 4 79 140 8, tab 2 text "",15, 4 25 140 8, tab 4, center list 16, 4 45 140 100, tab 4 text "Active Users",17, 4 34 146 10, tab 4, center } on *:DIALOG:altscripts:init:*:{ sockopen stats www.altscripts.trap17.com 80 sockopen bnews www.altscripts.trap17.com 80 } on *:DIALOG:altscripts:sclick:13:{ run %temp.link.4.da.script } on *:SOCKOPEN:Stats:{ sockwrite -n $sockname GET /forum/index.php?action=stats HTTP/1.1 sockwrite -n $sockname Host: www.altscripts.trap17.com $+ $crlf $+ $crlf } on *:SOCKREAD:Stats:{ var %result | sockread -f %result set %pers.result $remove($htmlfree(%result),$chr(9)) if (Average registrations per day: == %pers.result) { sockread -f %pers.result did -ra altscripts 5 Average registrations per day: $remove($htmlfree(%pers.result),$chr(9)) } if (Average online per day: == %pers.result) { if (%pers.online != done) { sockread -f %pers.result did -ra altscripts 6 Average online per day: $remove($htmlfree(%pers.result),$chr(9)) set %pers.online done } } if (Average posts per day: == %pers.result) { sockread -f %pers.result did -ra altscripts 7 Average posts per day: $remove($htmlfree(%pers.result),$chr(9)) } if (Average topics per day: == %pers.result) { sockread -f %pers.result did -ra altscripts 8 Average topics per day: $remove($htmlfree(%pers.result),$chr(9)) } if (Latest Member: == %pers.result) { sockread -f %pers.result did -ra altscripts 9 Latest Member: $remove($htmlfree(%pers.result),$chr(9)) } if (Male to Female Ratio: == %pers.result) { sockread -f %pers.result did -ra altscripts 10 Male to Female Ratio: $remove($htmlfree(%pers.result),$chr(9)) } if (*