Jump to content

Gadox

New Resident
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral
  1. *Slam my head on the desk* Well, thank you very much Rolig Loon. I did so many typo close to that but I was having syntax error again and again. I have understanding keys missing when it's about scripting learning only by reading the wiki and trying.
  2. Hello, I have been scratching my head, trying and looking around without finding anything that can help me. I try to make the loop Do While increment by 2 each loop but starting at 0 for the first result then 2,4,6,8...etc. This increment by 1 from 0 to 10 //integer x; default { touch_start(integer total_number) { integer x; do llSay(0, (string)x); //x = x+2; while(++x <= 10); //if(x > 10) //{ //x = 0; //} } } Here it can work but without the loop. integer x; default { touch_start(integer total_number) { //integer x; //do llSay(0, (string)x); x = x+2; //while(++x <= 10); if(x > 10) { x = 0; } } } I have been trying many syntax but there is things I don't understand.
×
×
  • Create New...