rendered paste bodyon *:SOCKREAD:combat.*:{
var %combat.read | sockread %combat.read
if (*0<br>* iswm %combat.read) { %combat.display. [ $+ [ %iddddd ] ] $replace(7 %combat.user [ $+ [ %iddddd ] ],_,$chr(32))) $+ 14, does not have any Combat Skills in the RuneScape Hiscores. | /unset %combat.* | halt }
if (<b> isin %combat.read) { /set %combat.stats [ $+ [ %iddddd ] ] $+(,$gettok($htmlfree(%combat.read),1,32),:) $+(,$gettok($htmlfree(%combat.read),2,32),) $+(,$gettok($htmlfree(%combat.read),3,32),:) $+(,$gettok($htmlfree(%combat.read),4,32),) $+(,$gettok($htmlfree(%combat.read),5,32),:) $+(,$gettok($htmlfree(%combat.read),6,32),) $+(,$gettok($htmlfree(%combat.read),7,32),:) $+(,$gettok($htmlfree(%combat.read),8,32),) $+(,$gettok($htmlfree(%combat.read),9,32),:) $+(,$gettok($htmlfree(%combat.read),10,32),) $+(,$gettok($htmlfree(%combat.read),11,32),:) $+(,$gettok($htmlfree(%combat.read),12,32),) $+(,$gettok($htmlfree(%combat.read),13,32),:) $+(,$gettok($htmlfree(%combat.read),14,32),) }
if (<i> isin %combat.read) { /set %combat.2 [ $+ [ %iddddd ] ] $+ $replace(%combat.user [ $+ [ %iddddd ] ],_,$chr(32)) $+(,is) $+(,$htmlfree(%combat.read),) }
if (<br> isin %combat.read) { /set %combat.3 [ $+ [ %iddddd ] ] $+(,7 %combat.user [ $+ [ %iddddd ] ]) 14has $+ 7 $+(,$htmlfree(%combat.read)) $+ $+(,14 Combat.)
%combat.topline [ $+ [ %iddddd ] ] = %combat.2 [ $+ [ %iddddd ] ] %combat.3 [ $+ [ %iddddd ] ]
%combat.display. [ $+ [ %iddddd ] ] %combat.topline [ $+ [ %iddddd ] ]
%combat.display. [ $+ [ %iddddd ] ] %combat.stats [ $+ [ %iddddd ] ]
/unset %combat.*
}
}
alias -l htmlfree {
var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, )
return %x }