Forum

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

Define cloth in col...
 
Notifications
Clear all

[Solved] Define cloth in cold weather

5 Posts
2 Users
0 Likes
3,672 Views
0
Topic starter

Hi all,

First of I hope this is the right place to post this.

I have started on a new script an run into a issue I hope something got the solution for.

When giving clothing instruction to the sub we dont want the sub to put on shorts if it showing outside. Is there a way to tell that certain [clothtype] should only be used during some month of the year? 

A solution could be to run a procedure to check the month and use this procedure to give the sub clothing instructions. That way would be a bodge but maybe there is someway I dont know of.

SwitchJJ

4 Answers
0

You are missing the Select statement.

[Set-Bottom]
select=random
Set=Pants
Set=shorts

Sven B.

0

Hi Switchj,

Yes, this is the right place to ask.  🙂

You can use a combination of sets and the predefined flags with the month names. Like this:

[set-bottom]
select=random
set=pants
set=jeans
set=shorts

[set-shorts]
notif=december
notif=january
notif=february
choice=shorts

Sven B.

0
Topic starter

What I want is that if it is August I want the program to choose between both shorts and pants. If I do as a above I end up with both shorts and pants  

Currently my set look like this:

[Clothing-Clothing at home]
Change=Daily
Askable=1
Set=Socks
Set=Underwear
Set=Top
Set=Bottom
Set=Wrist
Set=Ankle
Set=Neck

 

[Set-Bottom]
Set=Pants
Set=shorts

[set-pants]
Choice=new
Option=Pants
Check=Pants
Checkoff=shorts

[Set-Shorts]
Choice=new
Option=Shorts
Check=Shorts
Checkoff=pants

 

I haven not set up the if statement yet for testing proposal. 

SwitchJJ

0
Topic starter

Yes of cause...  how could i miss that.... thank you Sven B.

SwitchJJ