1 2 3 4 5 6 7 8 9 10 11 |
on *:SOCKREAD:oscript { sockread &t if ($bfind(&t,0,thetisierer)) { echo -a $parsebin(thetisierer</a></a>,<br>Entziehen,&t) } if ($bfind(&t,0,Kristallmine)) { echo -a $parsebin(Kristallmine</a></a>,<br>Hauptro,&t) } } alias parsebin { var %x = $bfind($3,1,$1), %y = $bfind($3,1,$2) return $bvar($3,$+($calc(%x + $len($1)),-,$calc(%y -1))).text } |