on 100:text:.list-users*:#: { if $2 == $null { .notice $nick Incorect. Sintaxa: .list-users | halt } var %level = $2 var %i = 1 while (%i <= $ial(*,0)) { if $level($mask($ial(*,%i),2)) == %level { .msg $chan %level - $ial(*,%i).nick - $ial(*,%i) | var %exist = yes } inc %i } if %exist = yes { .msg $chan Sfarsit lista. } else { .msg $chan Nici o potrivire. } }