mIRC Homepage
Posted By: AWEstun turning off a RAW - 08/05/08 08:48 PM
How do I turn off a RAW command?
Posted By: starbucks_mafia Re: turning off a RAW - 08/05/08 08:58 PM
What do you mean by raw command? If you mean a raw event, you can use groups to turn events on and off (this works for any kind of event - raw events, or "on" events)

Code:
#mygroup off
raw *:*:{
  ...
}
#mygroup end


Use /enable #mygroup to turn it on, and /disable #mygroup to turn it off.
Posted By: AWEstun Re: turning off a RAW - 08/05/08 09:01 PM
Thanks.

When I use the /scan routine (from the alias.ini) with 'enable mygroup' it says no such groups. Though 'disable mygroup' seems to work from within an on join that is in remotes.ini.

Looks like you can't enable/disable groups from within alias?
Posted By: starbucks_mafia Re: turning off a RAW - 08/05/08 09:39 PM
Sorry it should be /enable [color:red]#mygroup[/color] and /disable [color:red]#mygroup[/color]. I've updated the post above just in case anyone sees it in future and doesn't read the rest of the thread.
Posted By: AWEstun Re: turning off a RAW - 08/05/08 09:42 PM
Thanks.

Also read:

/raw [on|off]
© mIRC Discussion Forums