mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 33
M
mruno Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 33
Hello,
I am having an issue with hash table items not unsetting when a script loaded in mirc has been changed with another program and Monitor File Changes have been enabled in the script editor.
I have confirmed the bug with others and have tried several mIRC versions.
I made a post about this earlier: https://forums.mirc.com/ubbthreads.php/topics/259235/Want_to_confirm_a_possible_bug
Thank you

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Confirmed, however the issue has nothing to do with multiple instance of mIRC, it's related to the prompt of the monitor file changes option.
If the prompt is there at the time the item should be unset (for any file, not just the one with that script loaded), it won't be

Code:
alias -l iseven return $iif(2 // $1,$true,$false)
alias 1Minute.Timer.Command {
  echo -st here
  if ($iseven($asctime(n))) {
    hadd -msu45 test unset 1
  }
  elseif ($hget(test,unset)) echo -st Hash not unsetting
}
//.timer1Minute.Timer -o 0 60 1Minute.Timer.Command
Then just open any loaded script file in notepad or something, add a space and save, keep the prompt in mIRC.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks this issue has been fixed for the next version.

Joined: Dec 2002
Posts: 33
M
mruno Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 33
thank you


Link Copied to Clipboard