allfiles dropfile bug mpl fix

i write this quick mpl to fix the issue with the allfiles download in Mystic
bbs 1.12 A35. what is that you ask? for those that don’t know mystic bbs
makes this list in your temp directory and if you play a door game with a
drop file they are included in the allfiles.zip or what you set for the name.
these are

1). door32.sys
2). door.sys
3). chain.txt
4). dorinfo#.def
# = the node number they are on so if they are on node two it would be
dorinfo2.def etc…

MPL CODE
create a file in mide or what ever you use. add the following:

uses cfg
begin
fileerase(cfgtemppath+’door32.sys’);
fileerase(cfgtemppath+’door.sys’);
fileerase(cfgtemppath+’chain.txt’);
fileerase(cfgtemppath+’dorinfo’+int2str(nodenum)+’.def’);

end
save as what ever you want to name it. compile it with MIDE or MPLC

ADD TO FILE MENU
to add this go to your menu editor in system config or from sysop menu.
select file menu. look for the F command and says download file list. press
enter and then press the tab button. press the / key and select insert.
please remember to add it BEFORE the GO command or it will not work.

select the new command and press enter. press enter again and select the GX
menucmd. arrow down to data and press enter. type the name of the file you
created and save. there you do no more door files in your file listing.

 


Comments are closed.