If you didn't know, you can NOT activate your own scripts by typing in that channel. Someone else has to type 'hmm' in #class. If you want to test your own code, you can use * instead of #CLASS. Example:
on 1:TEXT:hmm:*:/notice $nick %x hmm
To test with this code, open a query window to yourself (in the status window, type: //query $me) then type 'hmm' (without the quotes). If you have previously set the %x variable (in the status window, type: /set -s %x 1), you will receive a notice from yourself that says '1 hmm'.
-genius_at_work