switch(input("What is your fighting type", text) in list ("Melee","Long Ranged","Controlling","Using Effects"))
if("Melee")
src.random = rand(1,7)
if(src.random == 1)
usr.stype = "Zaraki"
if(src.random == 2)
usr.stype = "Ikkaku"
if(src.random == 3)
usr.stype = "Urahara"
usr.bantype = 1
if(src.random == 4)
usr.stype = "Ichigo"
B.icon = 'ichigoshikai.dmi'
if(src.random == 5)
usr.stype = "Hitsugaya"
if(src.random == 6)
usr.stype = "Komamura"
if(src.random == 7)
usr.stype = "Ukitake"
usr.bantype = 1
Problem description:Yea uhm i know its somthing simple im missing but the errors i receive are
Mob.dm:277:error:rand:undefined proc
Mob.dm:278:error::invalid expression, can anyone help?
http://www.byond.com/members/Wrath69