 
 



 
		
		 ExitSub (lines 1347-1362)
			
		
				 
		Back to List 
				
					 
			Browsing verblibm.h
					1347  [ ExitSub p;
1348    p=parent(player);
1349    if (p==location || (location==thedark && p==real_location))
1350    {   if ((location.out_to~=0)
1351            || (location==thedark && real_location.out_to~=0)) <<Go out_obj>>;
1352        return L__M(##Exit,1);
1353    }
1354    if (p has container && p hasnt open)
1355        return L__M(##Exit,2,p);
1356   
1357    move player to parent(p);
1358   
1359    if (AfterRoutines()==1) rtrue;
1360    if (keep_silent==1) rtrue;
1361    L__M(##Exit,3,p); LookSub(1);
1362  ];
  
    Last updated 27 February 2004.
  
  This site is no longer supported; information may be out of date.
  Maintained as a historical archive by the Interactive Fiction Technology Foundation.
  Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
  
    This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.