Subj : Dumb Mecca / Xtrn question
To   : Shawn Highfield
From : Mvan Le
Date : Sat Jun 23 2007 01:51 pm

SH>   What I want to do is use a mecca file to launch
SH> Icechat, and if no one answers have the mecca script
SH> ask to leave a comment... I'm doing something wrong
SH> here, I think with the calling of the door.

SH>   Anyone have a cool script they could share? ;)

SH> [XTERN_DOS]c:\max\doors\ichat\icechat.bat_%k
SH> Leave a message?
SH> [Gray Menu]YN|
SH> [Choice]N[Quit]
SH> [Leave_Comment]

IceChat only works with JAM/Hudson, so you have to adapt using errorlevels.

icechat.bat:
=========================================================
@echo off
ICECHAT.EXE <parameters>

rem ; User paged, but not answered. Create a flag file.
if errorlevel 10 cd .> leavemsg.flg
=========================================================

yellreq.mec:
=========================================================
[XTERN_DOS]c:\max\doors\ichat\icechat.bat_%k
[filenew]c:\max\doors\ichat\leavemsg.flg [goto leave_msg]
[quit]

[/leave_msg]
Leave a message? [Gray Menu]Yn|
[Choice]Y[Leave_Comment]
[delete]c:\max\doors\ichat\leavemsg.flg
=========================================================


--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)