void main()
{
// Sets the wild magic trigger to true for whoever walked in
object oPC=GetEnteringObject();
SetLocalInt(oPC,"jw_nun_wildm",TRUE);

// spellcraft check to see if PC notices
if (GetIsSkillSuccessful(oPC,SKILL_SPELLCRAFT,15))
{
FloatingTextStringOnCreature("You feel queasy",oPC,FALSE);
SendMessageToPC(oPC,"Spellcraft check succesful - you realise that you have entered a wild magic area");
}

}