Alright, I am not sure which language to use, so i Just put it in the general forum.. Alright here goes, I want to trigger off of a line in the mud, and put it in an array... for instance, I see a mob:
A dwarven worker is here.
Of course I want to put dwarf at the end of the @mob array... now if I see...
A small party of [ 4 ] dwarven workers slave away.
I want to loop
foreach(1..4) {
@mob[] = "dwarf";
}
And add each one in turn to the loop (ok so all this isn't perfect, because well uh... I am not too familiar with syntax, but You get the drift... So how would I go about accomplishing this, and which language should I use?
Thanks for any help.
A dwarven worker is here.
Of course I want to put dwarf at the end of the @mob array... now if I see...
A small party of [ 4 ] dwarven workers slave away.
I want to loop
foreach(1..4) {
@mob[] = "dwarf";
}
And add each one in turn to the loop (ok so all this isn't perfect, because well uh... I am not too familiar with syntax, but You get the drift... So how would I go about accomplishing this, and which language should I use?
Thanks for any help.