The Arcive of vBulletin Modifications Site. |
|
Random Number BBCode Details »»
|
|||||||||||||||||||||||||
Well, I wrote this, and I sometimes have a use for random numbers (long story...), so I decided to release it.
Just import the product, you should know what to do by now, vb 3.5 has been out. Use in posts by [rand] (will be a number 0-9) UPDATE: product-randombbcodenochange.xml will make it so that the number stays what it is at after posting, and product-randomnumberbbcode.xml makes it so that at each refresh, it is a different number Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
This would be nice for forum-games, like a dice
![]() I won't be installing now but I'll think about it later ![]() Does it produce integers only? Is the random number created at once or changes each time sb refreshes the page? Anyway thanks for sharing
|
|
#3
|
|||
|
|||
|
It changes each time the page refreshes, and it produces integers 0-9 only.
|
|
#4
|
|||
|
|||
|
Ohh then it wouldn't very good for a dice.
Anyway I'm sure many people will like it
|
|
#5
|
|||
|
|||
|
Thanks!
I could make a version that doesn't change every time easily though, if you want (Obviously, all I need to do is make it replace on post instead of on view) |
|
#6
|
|||
|
|||
|
I'll ask the other admin if he likes it too and if so I'll tell you so that you don't do it for no reason
|
|
#7
|
|||
|
|||
|
Well, I am already done...I will upload if you want it or if anyone else does
EDIT: Uploaded |
|
#8
|
||||
|
||||
|
I like it...now I just gotta figure out a game to use it on
|
|
#9
|
|||
|
|||
|
I like this but is it possible for the random number to be higher? For example, I sometimes have contests on my forum. At this time, I have just over 1900 members. I would like to be able to choose a random number between 1 and 19XX or whatever the membership number is.
|
|
#10
|
|||
|
|||
|
Quote:
![]() Edit: Oh, I just saw that you want the number to represent the member number... That would need a query and right now I don't have time to format it for you
|
![]() |
|
|