mIRC Home    About    Download    Register    News    Help

Print Thread
More descriptive -s for /hadd /hinc /hdec #266693 13/01/20 06:54 PM
Joined: Jan 2004
Posts: 1,381
maroon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,381
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

Re: More descriptive -s for /hadd /hinc /hdec [Re: maroon] #266696 13/01/20 07:45 PM
Joined: Jul 2006
Posts: 3,715
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,715
I'd like to see this added as well, but I always thought there would be script relying on the current format, somehow.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net