mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 64
E
Exlax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Oct 2003
Posts: 64
When a script triggers an "on PART" event and ($nick == $me)... mIRC does not erase the channel's information from memory until after the script finishes.
Code:
$chan($chan) isnum
$nick($chan, 0) isnum


With an "on KICK" when ($knick == $me)... the channel info is lost before the event triggers.
Code:
$chan($chan) == $null
$nick($chan, 0) == $null


For consistensy, these 2 should work in the same fashion. I would rather see the info lost AFTER (as in the on PART), since this information can be vital to scripts.

Joined: Dec 2002
Posts: 5,426
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,426
Thanks this has been fixed for the next version.


Link Copied to Clipboard