TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Lee Westlake
from: g00r00
date: 2022-07-11 16:06:00
subject: Re: MPL MENUCMD with `GO`

 LW> Hi All,
 LW> 
 LW> Quick question regarding the MENUCMD command in MPL:
 LW> 
 LW> If I use this command in order to goto (rather than gosub) a menu, can I
 LW> assume that Mystic will automatically destroy the context in which the
 LW> script is running?

Mystic will not switch menus until you exit the script on your own.

So if you have a simple MPL like:

Begin
  MenuCmd ('GO', 'main');
  WriteLn ('Hello! |PA');
End.

Mystic *will* honor the GO command, but it will not take you to the main.mnu until after the script, so you'll see the Hello and the screen pause then it will load main after exiting.

... Shortcut: longest distance between two points

--- Mystic BBS v1.12 A48 2022/07/11 (Windows/64)
        
* Origin: Sector 7 * Mystic WHQ (1:129/215)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.