mIRC Home    About    Download    Register    News    Help

Print Thread
#199080 08/05/08 08:48 PM
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
How do I turn off a RAW command?


I registered; you should too.
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.

Last edited by starbucks_mafia; 08/05/08 09:40 PM.

Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
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?


I registered; you should too.
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
Thanks.

Also read:

/raw [on|off]


I registered; you should too.

Link Copied to Clipboard