taultunleashed logoRandom Number generator/modifier : LOTROExtreme
newtopic  postreply
 [ 2 posts ] 
blue large dot

Random Number generator/modifier : LOTROExtreme

Posted: June 24th, 2007, 5:24 am
 
reaphavok
reaphavok's Reps:
User avatar
I have been unable to find a command within lotroextreme to generate random numbers to add as a modifer to sleep timers and such. Is there currently a command able to do this and if not will this be something we can expect to see in v1.0?

Thanks any feedback would be appreciated.


Reply with quote
Posted: June 24th, 2007, 6:08 am
 
antareus

Total Posts: 297
Joined: March 29th, 2006, 8:59 am
antareus's Reps: 11
User avatar
Active User > 50 Posts
premium
Got this from Tault_mississippi (http://www.taultunleashed.com/phpbb2/ab ... king_.html)

FUNCTION myRandom(upperlimit, lowerlimit)
myRandom = Int((upperlimit - lowerlimit + 1)*Rnd() + lowerlimit)
END FUNCTION

I quote :
The following VBScript code will generate a random number between any limits you
choose. (Since the Int function always rounds down, we add one to the difference
between the limits.)


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 9 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of LOTROExtreme RSS Feed 
Sitemap of LOTROExtreme Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?