To test if a room is nomagic or not, type cast.
This is more efficient than trying to cast an actual spell, as there will be no delay after it.
If the room is nomagic the mud will return:
If it isn't then the mud will return:
Cast which what where?