mIRC Homepage

More descriptive -s for /hadd /hinc /hdec

Posted By: maroon

More descriptive -s for /hadd /hinc /hdec - 13/01/20 06:54 PM

Would be nice to have more descriptive *info messages for hashtables, giving the .data value like /var and /set do. This improves the usability of -s as a debugging message. It's probably overkill to have it display the -z countdown each second, but the initial value /hinc and /hdec values would be helpful too. This shouldn't need to support /hadd -b loading from binvars. A message for /hadd -b would be misleading by saying it's setting to '' when the contents aren't printable, but perhaps giving the name of the source &binvar.

//var -s %table string | hadd -ms table item data
//var %a 10 | inc -s %a %table 5 | hinc -ms table counter 5
Posted By: Wims

Re: More descriptive -s for /hadd /hinc /hdec - 13/01/20 07:45 PM

I'd like to see this added as well, but I always thought there would be script relying on the current format, somehow.
© 2020 mIRC Discussion Forums