Buy Official Merchandise!
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion
Feature Random number with range

quangntenemy

Avatar: 14557 2011-10-31 11:07:55 -0400
59

[WeChall]

Level 69 Troll

:ronpaul: :****ing sucks:

I think I saw it a while ago, something like RandomNumber[1-15]. What’s the word type for it?

I think it’s much better than chaining some stupid @# together.

ToXXXic

Avatar: ToXXXic's Avatar
6

[Brainfreeze]

Level 18 Emo Kid

“Moan-a Lisa”

Random Number (#-#)

Weird, just tried it out again, but its not working. BUT theres a post submission with it just like that that does work

ToXXXic edited this message on 09/08/2008 4:53AM

MC Banhammer

Avatar: 1887 2011-07-31 00:40:59 -0400
36

[Good Omens]

Level 69 Troll

Trying to create drama to drum up the ratings by any means necessary!

To generate a single-digit random number in a range, use this format: @#::2-4 [will generate 2, 3, or 4]

But it only works on single digits.

quangntenemy

Avatar: 14557 2011-10-31 11:07:55 -0400
59

[WeChall]

Level 69 Troll

:ronpaul: :****ing sucks:

Only single digits?

Maybe Trout should upgrade it Log in to see images!

MC Banhammer

Avatar: 1887 2011-07-31 00:40:59 -0400
36

[Good Omens]

Level 69 Troll

Trying to create drama to drum up the ratings by any means necessary!

Well you could simulate two-digit randomness:

@#::2-4@#::0-9 should give you between 20 and 49. (I don’t recall if 0 is at the start of the sequence or the end, i.e. 0-9 or 1-0.)

Only thing you couldn’t do is a range from singles to doubles, like 5-15. Unless you’re willing to have an initial 0 (05-15).

Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!