//if ( khaled isgod ) echo yes | else echo no
wid2name { var %i = 1 while $window(*,%i).wid { if $v1 == $1 { return $window(*,%i) } inc %i } }