ANI is a term of exclamation when in a class. You yell it out of excitement or out of pure boredom. It is also short for Sultani which can also be used.
I was in Mr. Watson's class and it was boring so I screamed ANI!