On 23 Feb 2020 at 12:54p, Analog pondered and said...
Does anyone have a quick and dirty on how to create a new user with MPL?
I don't believe there is MPY functionality yet but I was told you could create a new user directly in MPL without using the Mystic new user work flow.
This one I can help with :)
Have a look in your scripts dir
[snip]
NEWUSERAPP.MPS : Sample new user process MPL program
If newuserapp.mpx exists in the theme's script directory, it will be ran instead of the normal New User process. You must make sure you scan for duplicate user names, and other things like that which the BBS would
normally do during this process. At the start of the program, you must
call GetThisUser to load the new user data into the USER variables.
Before exiting the program, you must call PutThisUser to store the USER variables back into the new user data.
Note: To use this program, you must rename it to newuserapp.mps and
compile it with MIDE or MPLC.
[snip]
You're looking for apply_sample.mps
Hope that helps
--- Mystic BBS v1.12 A45 2020/02/18 (Windows/32)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)