Example:
var/list/words = list("Car","Bomb","Gun","Mouse","Dog","Cat")
client/verb
Draw()
//Some code to go here that would pock one word from the list above.
src << "Tell the 'drawer' the word"
How would I do something like that?
I could do something like:
client/verb
Draw()
random = rand(1,500)
if(random == 1)
word = "Car"
if(random == 2)
word = "Bomb"
if(random == 3)
word = "Gun"
if(random == 4)
word = "Mouse"
if(random == 5)
word = "Dog"
if(random == 6)
word = "Cat"
//etc...
src << "Draw: [word]"
But using a list seems more efficient (If you can do it by lists).