yah:
NPC Code:
if (created) {
addstring bob,joe;
addstring bob,tiny;
addstring bob,lenny;
this.zvar = lindexof(bob,tiny);
message Index of "tiny" - #v(this.zvar);
}
Try that out. If it doesn't work, tell me and I'll fix it, but it should make an NPC that will say 'Index of "tiny" - 1'