Subj : Re: display a banner on m
To : H7
From : G00R00
Date : Thu Jan 31 2019 07:20 pm
h7> i'd like to display a banner file when user joins a specific message
h7> area on my mystic setup. not msg group but a msg area (local). i think
h7> there was a way of doing that but im too dumb to find it from the doc
h7> and too lazy to start coding some mpl .. i think there was something but
h7> i cant just remember what it was.
This MPL script will do it for you. It display "marea<index#>" from the
theme text directory whenever a user selects a different message base. This
replaces the MA menu command.
[---SNIP---]
Uses
User,
MBase;
Var
BaseNum : LongInt;
Begin
GetThisUser;
BaseNum := UserMBase;
MenuCmd('MA', ParamStr(1));
GetThisUser;
If BaseNum <> UserMBase Then Begin
GetMBase(UserMBase);
DispFile ('marea' + Int2Str(MBaseIndex));
End;
End
[----END----]