mIRC Home    About    Download    Register    News    Help

Print Thread
The '.' command prefix #62486 01/12/03 10:12 AM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
I'd like to see this prefix working on *all* (no exceptions) mIRC commands. For example, it has no effect on commands such as /hop or /server, which show information that could be customized when aliased versions take part of both. It's not that nice to have mIRC's information display mostly gaged in an own fashion while I can't really get rid of the default text it provides for a few commands only.


* cold edits his posts 24/7
Re: The '.' command prefix #62487 01/12/03 11:47 PM
Joined: Apr 2003
Posts: 85
K
katsklaw Offline
Babel fish
Offline
Babel fish
K
Joined: Apr 2003
Posts: 85
the reason these don't seem to work is that your examples trigger multiple things.

If you use .notice $nick blah ; you don't see it
If you use notice $nick blah ; you do see it

You CAN use a dot infront of the .hop and .server commands. however once either of those commands are done it starts a series of events that will produce RAW outputs, so your no longer dealing with a single return such as with .notice or .msg

I hope that helped.


--

katsklaw
Rather experienced Admin
Rather experienced mIRC Scripter
Amateur C Coder
Re: The '.' command prefix #62488 01/12/03 11:58 PM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
If you're talking about numeric raws, there are no numeric raw replies being triggered for those. /.server echoes right after you typed it: *** connecting to blah blah. /.hop says it's attempting to rejoin a channel, before it really tries to.

If by "raw" you mean mIRC internal work, well every command has its internal tasks being executed. It'd be quite possible to halt the default text for /server when even /.dns, which does use even an mIRC-run event, works quietly.


* cold edits his posts 24/7
Re: The '.' command prefix #62489 02/12/03 12:24 AM
Joined: Apr 2003
Posts: 85
K
katsklaw Offline
Babel fish
Offline
Babel fish
K
Joined: Apr 2003
Posts: 85
after executing the /server command you do indeed get RAW msg's upon reconnection ie RAW 1-5 for example. Joining a channel, you also get RAW replies. 353, 366, 324 and 329 by default (on DALnet anyways).


--

katsklaw
Rather experienced Admin
Rather experienced mIRC Scripter
Amateur C Coder
Re: The '.' command prefix #62490 02/12/03 12:35 AM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
These are not related strictly to the command. They're from the server's end. I'm not talking about these, as you could read in my previous post.. I'm talking about "* Connecting to <server> (<port>)", which is local, however /.server doesn't hide it. Also, "* Attempting to rejoin channel <channel>" and "* Rejoined channel <channel>", which aren't hidden by /.hop. On the other hand, /.dns hides its default message before looking up any address, and it even hides late info which comes after the lookup as well.

Edited. Of course, I edit all my posts. frown

Last edited by cold; 02/12/03 12:37 AM.

* cold edits his posts 24/7
Re: The '.' command prefix #62491 02/12/03 09:10 PM
Joined: Sep 2003
Posts: 70
M
madewokherd Offline
Babel fish
Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
It's local, but iirc, it's actually done AFTER the command is executed. That wouldn't make it impossible to change though...

Re: The '.' command prefix #62492 02/12/03 10:49 PM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
That's why I suggest to make it able to be changed, as there is no need for it to have this limitation.
There're probably more commands behaving like that, I can't remember though


* cold edits his posts 24/7
Re: The '.' command prefix #62493 02/12/03 11:06 PM
Joined: Sep 2003
Posts: 70
M
madewokherd Offline
Babel fish
Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
Hmm, come to think of it, the /say command doesn't work with the . prefix. There's just no excuse for that wink.

Re: The '.' command prefix #62494 02/12/03 11:22 PM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
lol.. but hey, that leads me to think why does /me work.. hehe :tongue:


* cold edits his posts 24/7
Re: The '.' command prefix #62495 15/06/04 04:38 PM
Joined: Apr 2004
Posts: 45
V
Venoman Offline
Ameglian cow
Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
wonder how old this post is? anyway, I came across the /say thing and I do wish that could be silenced. that's entirely local, and I wanted to make it its own alias like I did with /msg, so that I could reformat the output (I like seeing [$me] intead of <$me>). Seems like this could just as easily have a silent option. like you said, /me can be silenced if you want.

-Venoman

Re: The '.' command prefix #62496 15/06/04 04:57 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
You can easily silence it via a script: alias say { ! $+ $iif(!$show,.) $+ msg $active $1- }

Obviously that's no reason not to add it to mIRC though.


New username: hixxy
Re: The '.' command prefix #62497 16/06/04 04:02 AM
Joined: Apr 2004
Posts: 45
V
Venoman Offline
Ameglian cow
Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
huh. that worked, go figure. I used something very similar and it did not; the only significant difference I see is the ! in front. Translated, you have !.msg $active $1- (assuming $show is $false). I've never seen an ! used that way or documented in mirc.hlp. What exactly is it doing here / what is it used for?

-Venoman

Re: The '.' command prefix #62498 24/06/04 03:02 AM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
If you have an alias with the same name as a mIRC command, the ! prefix makes the parser ignore your alias and call the original command (in your case, it will prefer the original /msg over an /msg alias).


* cold edits his posts 24/7
Re: The '.' command prefix #62499 24/06/04 03:06 AM
Joined: Feb 2003
Posts: 810
C
cold Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
The $iif() is redundant. Just use !msg $active $1- and it will work.
All commands within an alias inherit the show status used for it. That means that, using /.say, /!msg will become /!.msg.


* cold edits his posts 24/7