superreeen
Member
- Joined
- Jan 28, 2011
- Messages
- 307
- Reaction score
- 2
This IF tags would look lovely if i can find out how to execute ELSE.
Can it be stored somewhere until next random? I mean one tag to randomize number, let it be N, and one tag to compare it. So it can look like this:
<Random(N)>
<If condition="N < 50">
<!--Option1 here goes-->
</If>
<If condition="N => 50">
<!--Option2 here goes-->
</If>
<Random(N)>
<!--here we compare with new options with freshly randomed N-->
hope i explained it understandable enough) But with such way you can make even 10 different ways to choose from, like N < 10, 10 <= N < 20, ...
I was thinking about something like:
<Switch variable="Random(1,10)">
<Branch value="1">
</Branch>
<Branch value="2">
</Branch>
...
</Switch>
When I find the time I'm going to implement something like that
