On 10/19/18, CatX said the following...
Is there any way to make a script that edits a users security level?
Yes, by using the: upuser() command. For example, if you want to change the security level to 20, you would use:
upuser(20)
You can also change the amount of time they have each day as well, using the example of:
setusertime(600)
I would like to implement a system which when certain criteria are met (such as message post count, online time, etc) grants the user access to
a higher level/rank. It would be a little bit like the Karma system on reddit.
That sounds like a great idea. Keep us posted on the progress. :)
Also, on that note - what statistics does MPL scripts have access to? Could I check for the criteria mentioned earlier, and if so then how?
You should be able to access all types of stats. Take a look in the /mystic/docs/ directory for a file called records.112. That lists everything that is available in the data files for Mystic.
The wiki mentions something about a first and second set of user flags that can be set, what does that mean?
One way that flags can be used, is like what I do for access to Fidonet.
Since real names are required in most echos, if the user enters their real name, I will set the flag of 'F' in their user record. Then I have access to the Fidonet echos set to require the 'F' flag be set in order to access them.
Hope this helps.
---
Black Panther
a.k.a. Dan Richter
Sysop - Castle Rock BBS (RCS)
telnet://bbs.castlerockbbs.com
http://www.castlerockbbs.com
The sparrows are flying again....
--- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)