mIRC Home    About    Download    Register    News    Help

Print Thread
/msg and /notice display window #200068 27/05/08 02:18 AM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
When using /msg and /notice in a script, it would be good to have an option which window

-> *nickname* message
-> -nickname- message

appear in, rather then them always going to the status window.


Ninko

Re: /msg and /notice display window [Re: Ninko] #200069 27/05/08 03:09 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Considering they can't be styled by any other method but overriding the alias, you can easily do:

Code:
alias msg { .!msg $1- | if ($show) echo -atm -> $+(*,$1,*) $2- }
alias notice { .!notice $1- | if ($show) echo -atm -> $+(-,$1,-) $2- }


So the feature is already doable via scripting.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: /msg and /notice display window [Re: argv0] #200071 27/05/08 03:37 AM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
I know, but the option would be nice.


Ninko