miRC executes commands/events in the same order the files are loaded.
You could by have the group earlier in the same file,
Code:
#groupname on
on *:text:word:#:{
  ...
  ...
  halt(def)
}
#groupname end
on *:text:word:#:{
  ...
  ...
}

or put your groups in a file loaded first and use the '&' prefix in the second, third etc files.
Code:
[color:gray]file1.mrc[/color]
#groupname off
on *:text:word:#:{
  ...
  ...
  halt(def)
}
#groupname end
Code:
[color:gray]file2.mrc[/color]
on [color:red]&[/color]*:text:word:#:{
  ...
  ...
}
The second event won't be triggered in either case.
/help prefixes


For commands you [don't] want exectuded when your away you could also just do
"if $away { ... }" (or "if !$away { ... }"


The & prefix can also be used without the #group BTW.