I think it would be useful to have this structure in mIRC. Though I think it needs to be a more mIRC-style structure. Example:

Code:

switch (%var) {
  case (help me) {
    ;action 1 for case 'help me'
    ;action 2 for case 'help me'
  }
  case (something) ;action 1 for case 'something'
  case (%text) {
    ;actions for case %text
  }
  default {
    ;actions for default case
  }
}



Notice the similar structure to if/else/while statements, using { } for multiple statements, and allowing a single statement without { }.

-genius_at_work