Forum

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

Notifications
Clear all

Procedure name is displayed during punishments

   RSS

0
Topic starter

Hi Sven,

Thank you for all you do!!  I noticed in the sample below that the procedure name is displayed when running V4. Is there a way of not having that occur? Thanks for your time.

 

Chazz

 

[report-test punishment message]
procedure=disobeyedtherules

[procedure-disobeyedtherules]

message=You disobeyed the rules. Here is your punishment. <OK>

punish=2,15

punishmessage=You disobeyed the rules

punishmentgroup=spank

procedure=additionalpunish1

 

[procedure-additionalpunish1]

message=Maybe next time you will think twice. <OK>

punish=2,15

punishmessage=You disobeyed the rules

punishmentgroup=cornertime

 

4 Answers
0

Hi Chazz,

Well, it shouldn't do that. Testing your script, I realized that it only displays the procedure name when it cannot find a suitable punishment. So if you make sure that a punishment always is available, you can avoid the display.

It is a bug, and I will fix it. My guess is that I intended to write the name of the procedure to the report, to help locating the problem when it occurs. And then by mistake displays it to the sub as well.

Sven

 

0
Topic starter

Thanks Sven! I appreciate your time.

 

Chazz

0

This bug is fixed in the new final version of 4.0.

Sven

0
Topic starter

Thank you!!