ID:178508
 
how do I make it so it will choose a random message here is what I tried

verb/talk
set src in oview(1)
usr << rand("now look there"), rand("cool pic dude")


why does tha not work?
verb/Talk()
set src in oview(1)
usr << pick("Hi","Cool")


-Kappa the Imp
Setup a list containing all the random messages you want:

<code>mob/verb/random_message() var/list/messages = list("message1","message2","message3")</code>

Then use the pick() proc to pick randomly from the list.

<code>usr << pick(messages)</code>