Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Simple Script Gizmo Needed

Jinny Fonzarelli
"skin up 4 jesus"
Join date: 30 Mar 2004
Posts: 210
09-04-2004 08:21
What ho magic types!

I need a little script... if anyone thinks they can make me one please let me know!

I need a random number generator that can be edited to select numbers within different ranges, up to 0-99, and display the number generated in chat.

I would need to have full mod/copy/transfer permissions.

Thank you :-)
_____________________
"Sanity is not statistical." - 1984

my SL blog: http://jinny.squinny.net
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
09-04-2004 08:41
CODE

// Change the number here to select your range.
integer top = 100;

default
{
touch_start(integer num)
{
llWhisper(0,(string)((integer)llFrand(top)));
}
}
_____________________
--
010000010110110101100001001000000100111101101101011001010110011101100001
--
Jinny Fonzarelli
"skin up 4 jesus"
Join date: 30 Mar 2004
Posts: 210
09-04-2004 08:48
wow! that was bloody quick! thank you so much... I'm making off with it now :-)
_____________________
"Sanity is not statistical." - 1984

my SL blog: http://jinny.squinny.net
Jinny Fonzarelli
"skin up 4 jesus"
Join date: 30 Mar 2004
Posts: 210
09-04-2004 08:53
Perfect! It was exactly what I was after. Thank you.
_____________________
"Sanity is not statistical." - 1984

my SL blog: http://jinny.squinny.net