From the help file:
Quote:
If used in the on dialog event, name is optional.


Also, try replacing the .sel to .text (this is the text that is stored in the combo, not it's item value

e.g. combo:
1 -Select Colour
2 -1
3 -2
4 -3
5 -Red
6 -Dark Red
7 -Purple
8 -Orange
9 -Yellow
10 -Neon Green
...etc

if you did if ($did(22).sel == 1) then it would return the Select Colour item
if you did if ($did(22).sel == 2) then it would return the 1 item
if you did if ($did(22).sel == 5) then it would return the Red item
something like that anyways!


Try this and see if it makes any difference:



Code:
on *:DIALOG:away:sclick:33: {
  if ($did(22).text == 1) { set %away.lcolors 1 }
  if ($did(22).text == 2) { set %away.lcolors 2 }
  if ($did(22).text == 3) { set %away.lcolors 3 }
  if ($did(22).text == Red) { set %away.lcolors 4 }
  if ($did(22).text == Dark Red) { set %away.lcolors 5 }
  if ($did(22).text == Purple) { set %away.lcolors 6 }
  if ($did(22).text == Orange) { set %away.lcolors 7 }
  if ($did(22).text == Yellow) { set %away.lcolors 8 }
  if ($did(22).text == Neon Green) { set %away.lcolors 9 }
  if ($did(22).text == Ocean Blue) { set %away.lcolors 10 }
  if ($did(22).text == Turquoise) { set %away.lcolors 11 }
  if ($did(22).text == Blue) { set %away.lcolors 12 }
  if ($did(22).text == Light Purple) { set %away.lcolors 13 }
  if ($did(22).text == Dark Grey) { set %away.lcolors 14 }
  if ($did(22).text == Light Grey) { set %away.lcolors 15 }
  if ($did(22).text == White) { set %away.lcolors 0 }
}



Aubs.
cool