Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dothewhatnow

Pages: [1]
1
They need to roll 80 or higher to win by default. The 98 is the 3x part, which is what you want to change. So you would want this, unless you want them to have to roll exactly 80 or 98.

@if@[>=||@rand@[1|100]||80||@if@[=||@rand@[1|100]||98||Rolled @rand@[1|100]. @user@ won @calc@[*|3|@target@]

^With this, if they roll 80 or higher, they win 2x, but if the number is exactly 98, then win 3x.

Aha! Thank you!

2
Would be the 98.

Do I need to change 80 @if@ statement at all? If the number is going to be below 80?

3
Remove > to make it have to = the number set in the command.

Would that be this area here?

Code: [Select]
@if@[>=||@rand@[1|100]||80||@if@[>=||@rand@[1|100]||98||Rolled @rand@[1|100]. @user@ won @calc@[*|3|@target@]
Im trying to figure out if i need the first >= in there, because the initial number is lower than 80, or would i just need to change the 80 to a value lower than the number, then change the 98 to the number i want and the >= in front of the 98 to = so it would look something like

Code: [Select]
@if@[>=||@rand@[1|100]||62||@if@[=||@rand@[1|100]||65||Rolled @rand@[1|100]. @user@ won @calc@[*|3|@target@]
or

Code: [Select]
@if@[=||@rand@[1|100]||65||Rolled @rand@[1|100]. @user@ won @calc@[*|3|@target@]

4
I'm currently using the gamble command from the wiki and am wanting to make it so instead of 98-100 being a 3x point win, a specific number being rolled triggers the 3x win.

So far my attempts have just straight broken the command and am now wondering if someone could show me what to change.  Im pretty sure it's in the !gamble_finish command, I just don't know how to change it from the random number >= range to a specific number.

Thanks.

Pages: [1]