mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2004
Posts: 45
V
Venoman Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
in updates.txt:

4. The dcc send/get on filesent/filercvd/etc. events can now halt
the default messages displayed in the status window.

I tried, to test this:

on ^*:filesent:*.*: {
haltdef
echo 11 -a jsut sent a damned file shutup
halt
}

still displays the default:

[1:50am] DCC Send of bah.txt to blah complete (00:00:03 25.2 KB/Sec)

in the status window. Am I using the wrong method to halt the default text, or did I misread what the versions.txt was saying?

-Venoman

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Drop the ^ and use /halt:

On *:filesent:*:{ ... | halt }

Joined: Apr 2004
Posts: 45
V
Venoman Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Apr 2004
Posts: 45
yeah, tha'ts actually what did it - I dropped the ^ just out of trial and error and it worked again. I've never understood the whole ^ thing though - sometimes it's needed to effectively halt an event and sometimes it's not. Someone mentioned in passing that ^ was used in older mirc versions and should be obsolete now - that doesn't seem to add up to me, though. There were definitely times when I wanted to halt an event and it never actually did until I included a ^. I'm not really sure when to use haltdef or ^ or just halt, other than just by trial and error.

-Venoman

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
I'm not sure either.

Joined: Sep 2003
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Sep 2003
Posts: 58
I don't understand that part either...

maybe Khaled could eplain this one...


***************************
To chat, or not to chat.
That's the question

Link Copied to Clipboard