on *:SOCKREAD:dj:{ sockread -f %test while (($sockbr > 0) && ($sockerr == 0)) { echo yaa } else { echo noo } }