mIRC Home    About    Download    Register    News    Help

Print Thread
#19961 18/04/03 05:06 PM
Joined: Feb 2003
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2003
Posts: 28
i have a treeview switchbar that refreshes when a dcc chat is closed. the code is:
on *:close:=:{ .timer -m 1 1 load.switchbar }

that works fine if i close it, but if the user on the other end of the chat disconnects first, it causes problems. it will still let me enter the window (when the user has disconnected), but when i close the window myself, the 'on close' event does not trigger (since it already did when the other end closed the connection).

also, i'm having a problem with dcc get/send closing. there's no events to trigger when they are closed. i tried on *:close:*:{, but even that didn't work.

anyone have any ideas on how i can fix either/both of these? thanks in advance.


------------------
*** ArcticFire ***
#19962 19/04/03 03:49 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
well basically if i recall the on close event should trigger when the user ends the dcc chat session so if it isnt responding maybe try adding in a /close to kill the window when they end the chat not sure if that will work or not just a thought

also on the dcc get/send perhaps you could use
On Filesent
and
On Getfail
hope that helps

#19963 15/06/03 06:22 AM
Joined: Jan 2003
Posts: 127
L
Vogon poet
Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Are you using the afswitchbar?


Link Copied to Clipboard