So if memory serves, and I'm reading that wiki page right, the noform condition indicates you're not shapeshifted and form indicates you are.
Code:
/cancelform [form]
/stopmacro [form]
/cast [nocombat,indoors,form:2] Prowl; [indoors] Cat Form; Travel Form