this script has been driving me nuts it wont set the proper vars when ever i click the button it sets it as 0 and i dont know wtf is with it -_-
Code:
on *:DIALOG:away:sclick:33: {
  if ($did(away,22).sel == 1) { .set %away.lcolors 1 }
  elseif ($did(away,22).sel == 2) { .set %away.lcolors 2 }
  elseif ($did(away,22).sel == 3) { .set %away.lcolors 3 }
  elseif ($did(away,22).sel == Red) { .set %away.lcolors 4 }
  elseif ($did(away,22).sel == Dark Red) { .set %away.lcolors 5 }
  elseif ($did(away,22).sel == Purple) { .set %away.lcolors 6 }
  elseif ($did(away,22).sel == Orange) { .set %away.lcolors 7 }
  elseif ($did(away,22).sel == Yellow) { .set %away.lcolors 8 }
  elseif ($did(away,22).sel == Neon Green) { .set %away.lcolors 9 }
  elseif ($did(away,22).sel == Ocean Blue) { .set %away.lcolors 10 }
  elseif ($did(away,22).sel == Turquoise) { .set %away.lcolors 11 }
  elseif ($did(away,22).sel == Blue) { .set %away.lcolors 12 }
  elseif ($did(away,22).sel == Light Purple) { .set %away.lcolors 13 }
  elseif ($did(away,22).sel == Dark Grey) { .set %away.lcolors 14 }
  elseif ($did(away,22).sel == Light Grey) { .set %away.lcolors 15 }
  elseif ($did(away,22).sel == White) { .set %away.lcolors 0 }
}


Need amazing web design for low price: http://www.matrixn3t.net