I want to do something like:
default
{
state_entry()
{
list MyList = ["abc", "def", "ghi", "jkl", "lmn", "opq"];
integer i;
integer length = llGetListLength(MyList);
do
{
touch_start(integer total_number)
{
llOwnerSay(llList2String(MyList, i));
}
}
while (++i < length);
}
However this only results in syntax error (with no explanation of what syntax is wrong) I really do feel that I am fundamentally going about this wrong but it seems i'm struggling with finding any guidance.