Forum

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

ClothCheck in Permissions  

   RSS

0

Hi,

I am new to scripting and am just trying different things. One of those is, that I want the following:

  • The sub asks for permission to do something (e.g. for eating)
  • Instructions are generated
  • When special instruction applies (e.g. eat with your hands behind your back) a clothing is prescribed (handcuffs or something) and then checked.
  • only when the clothing is correct, the permission is given

thanks in advance

1 Answer
0

Here is some quick pseudocode, showing how I'd structure this. But keep in mind that I'm also new to scripting and haven't done much with clothing yet. Also the scripting manual is your best friend.

[permission-Eating]
BeforeProcedure=BeforeEating
;show generated instrucitons

[procedure-BeforeEating]
;decide instructions
;set a flag if special instructions were generated
case=all
when=specialInstructionsFlag
Clothing=WhileEating; use check and checkOff keywords
ClothReport=What are you wearing?
case=end

[events]
CheckAll=CheckAll

[procedure-CheckAll]
setflag=zzDeny
Message=Wrong clothes!
punish=50
Share: