mIRC Homepage
Posted By: Exlax Channel info is erased too soon - 26/01/07 01:34 AM
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.
Posted By: Khaled Re: Channel info is erased too soon - 07/02/07 04:57 PM
Thanks this has been fixed for the next version.
© mIRC Discussion Forums