on *:text:hello:#: { if( %I == $null ) { var %I 1 | halt } inc %I if( %1 == 10 ) { /notice $nick message } }