mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables Khaled 2 hours ago
Okay, if you find a way of reproducing the issue, please let us know.

Note that you would need to provide a short, simple script, of a few lines, that we can use to reproduce the issue you are reporting. For example, here are the steps I would follow before posting a bug report:

1) Install a clean copy of mIRC, using the portable option in the installer, into a new empty folder.
2) Run this new copy of mIRC with no other scripts or addons.
3) In the scripts editor, add the following alias:

Code
; This script creates a list of variables and then uses /unset with wildcards
test {
  unsetall
  var %x 0
  while (%x < 100) {
    set -s % [ $+ [ $+(%x,test,%x) ] ] %x
    inc %x
  }
  unset -s %*2test2*
  unset -s %*3test4*
  unset -s %*4test3*
}

4) Test the script to make sure it reproduces the issue.
5) Post the bug report on the forums with the working script that anyone can type into mIRC to reproduce the same issue.
7 86 Read More
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables favellado 3 hours ago
In the ON SOCKREAD event I use:

breplace &bin 13 32 10 32 12 32 9 32 11 32
%s [ $+ [ $sockname ] ] = $bvar(&bin,1,$sockbr).text

Only if at some point the replacement doesn't work.
7 86 Read More
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables Khaled 3 hours ago
That is why I asked for a script that 1) Creates a list of variables. I already tested /unset, including your above alias, and cannot reproduce any issues with the list of variables that I have.

Looking at the image you provided, it looks like you may be using /set with text that contains $cr and/or $lf characters? You cannot do this since /set does not support that. You should store these types of lines either in binary variables, in files, or encoded in some way.
7 86 Read More
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables favellado 4 hours ago
The command used is the one above. It's a routine that is used from time to time and at some point the variable editor gets weird like in the image posted. That's why I said that after the command, things got strange and I couldn't say why. That's why I brought the question to the forum.
7 86 Read More
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables Khaled 5 hours ago
Thanks for your reply. I have still not been able to reproduce this issue.

Can you please provide a short script that:

Quote
1) Creates a list of variables
2) Makes one call to /unset with wildcards that reproduces your issue?

Without the above, I will be unable to reproduce your issue.
7 86 Read More
Scripts & Popups Jump to new posts
Re: how to check each nick in $1- is in channel Simo Yesterday at 10:24 PM
Found a way to use 1 loop and it seems to work as expected makes the code smaller too 👍
7 851 Read More