Forum

Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

Is it possible for ...
 
Notifications
Clear all

Is it possible for the program to punish for a low merit score?

3 Posts
2 Users
0 Likes
787 Views
0
Topic starter

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!

2 Answers
0

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

 

 

 

 

 

0
Topic starter

Sven B,

This is great! Thank you!

-2Tone

2Tone Topic starter 24/08/2021 9:59 pm

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