void main() { object oClicker = GetClickingObject(); object oTarget = GetTransitionTarget( OBJECT_SELF ); location lLoc = GetLocation( oTarget ); if ((GetHitDice(oClicker) <= 5) && (GetHitDice(oClicker) <= 20)) { AssignCommand( oClicker, JumpToLocation( lLoc ) ); } else { SpeakString( "You need to be no greater than 5 seasons to enter" + "." ); } }