on *:SOCKREAD:halo3.smedals*: {
var %id = $right($sockname,6)
if ($sockerr) { %halo3.reply [ $+ [ %id ] ] $theoutput(ERROR) $z1(occured, please try again.) | unset halo3.* [ $+ [ %id ] ] }
else {
var %bungepage
sockread %bungepage
if (*Ranked Medal Chest</h3>* iswm %bungepage) {
echo -a %bungepage <-- The line i want it to read on from in the next / finds & displays ok
}
if (*<div class="message"><div class="title">*</div><div class="description">*</div></div>* iswm %bungepage) <-- Want it to find the first line only then halt, not all of them. {
echo -a $gettok(%bungepage,3,62) <-- used to grab info
}
}
}