Thread: Fun Challenge!
View Single Post
  #2  
Old 01-23-2004, 03:26 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:

Assign the variable "a" with one of the following numbers randomly:
1 2 4 5 7 8 (ie exclude 3 and 6)
Eh?

NPC Code:

if(created) a = int(random(1,8));



__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote