Please note that you can subscribe to the individual forums. A subscription for news only covers the news.
I was wondering if someone knows a way to make the program check the submissive's merit point score (say once every 7 days) and issue the submissive a punishment if the score is below a certain value. If it is possible, it is currently over my skill level of script writing understanding. I was hoping someone would be kind enough to give me an example of how it could be done. Thanks!
Hi 2Tone,
It can be done like this. You must of course change the values and texts to suit your purpose. I haven't tested it, but I think it will work.
[timer-Check merits]
; The timer trigers every day at 8 am, if possible
start=08:00
; If it has not been able to start before midnight,
; it doesn't start at all
end=23:59
; Only run it on sundays
if=Sunday
; Use prestatus to make sure that it doesn't pop up
; at an inconvenient time .
; Use one or more status names that the sub is often in.
PreStatus=Normal
; Only run if the merits are below 500
if #zzMerits<500
; Do the punishment
PunishMessage=Your merit points are only {#zzMerits}, that is too low. You must improve yourself, {$zzSubname}!
PunishmentGroup=LowMerits
Punish=50
Sven
Sven B,
This is great! Thank you!
-2Tone
To anyone who may want to attempt this:
It should be noted there is a small typo in the snippet of script that Sven B provided that will prevent it from working. The line that reads "if #zzMerits<500" should read "if=#zzMerits,500", It's a very easy thing to overlook the equals sign, but doing so will cause the program to fail to understand the requested command. Below is Seven B's provided snippet of script with the correction made:
[timer-Check merits]
; The timer triggers every day at 8 am, if possible
start=08:00
; If it has not been able to start before midnight,
; it doesn't start at all
end=23:59
; Only run it on Sundays
if=Sunday
; Use prestatus to make sure that it doesn't pop up
; at an inconvenient time .
; Use one or more status names that the sub is often in.
PreStatus=Normal
; Only run if the merits are below 500
if=#zzMerits<500
; Do the punishment
PunishMessage=Your merit points are only {#zzMerits}, that is too low. You must improve yourself, {$zzSubname}!
Punish=50
Thanks again to Sven B to providing this snippet of script!
-2Tone