Im trying to make a random login and im doing this:
mob
Login()
rand(8,25)
if(8)
src. agey = 8
if(9)
src.agey = 9
but i get the errors:
BattleVar.dm:12:rand :warning: The rand statement is being faded out. Use pick() instead if possible.
BattleVar.dm:13:error::invalid expression
Can anyone help?
Thanks,
~Kros
ID:261507
May 22 2002, 1:13 pm
|
|
May 22 2002, 3:26 pm
|
|
switch()
|
K'ros Trikare wrote:
Im trying to make a random login and im doing this: mob Login() var/locates = rand(1,2) if(locates == 1) usr.loc=locate(1,1,1) usr. agey = 8 if(locates == 2) usr.loc=locate(2,2,2) usr.agey = 9 - TheWizard |