mIRC Homepage
Posted By: TravisK HASH UNSET NOW!!! - 26/03/04 09:29 AM
is it just me and 3 other ppl that have been trying it or does /hadd -u10 blah blah not unset ????? this is makeing me go nuking futz !?!?!? confused confused confused


plz help mEE!!!!?
Posted By: Online Re: HASH UNSET NOW!!! - 26/03/04 09:35 AM
It's just you wink

This works: //hadd -mu10 table item data | .timer 15 1 echo -a * $!hget(table,item)
Posted By: TravisK Re: HASH UNSET NOW!!! - 26/03/04 09:35 AM
im doing it from a script, dont know if it matters or not if you call it from a command line
Posted By: Online Re: HASH UNSET NOW!!! - 26/03/04 09:41 AM
It doesn't matter, it works as an alias too:

alias testUnset {
hadd -mu10 table item data
.timer 15 1 echo -a * $!hget(table,item)
}

The error is elsewhere...
Posted By: TravisK Re: HASH UNSET NOW!!! - 26/03/04 09:43 AM
liek where maby?
i have 3 other ppl saying that int wont unset if its called in a remote script like im trying to do
Posted By: TravisK Re: HASH UNSET NOW!!! - 26/03/04 09:51 AM
mawahhaha i think i found a bug maby,
it does unset if i just /hadd -mu5 name item data
but after i /hadd and then i /hinc name item data it messes the -u5 up
dont know if they thought about this or if its supposed to mess it up....
but the hinc messes it up after you hadd -mu5


well atleast i fugred it out but it kinda sucks that it messes it up that way confused
Posted By: TravisK Re: HASH UNSET NOW!!! - 26/03/04 09:54 AM
thinks this also happens with set -uN %var and /inc %var cause thats what made me want to go with hash tables last night
Posted By: Online Re: HASH UNSET NOW!!! - 26/03/04 11:43 AM
Yeah, you can call this a bug. It has been reported over one year ago and I'm disappointed that Khaled hasn't fixed that yet.

See qwerty's reply (to that post) for a way around, or, if you want, use variables instead, because /inc and /dec do remember the -uN value you used with /set.
Posted By: bloupx Re: HASH UNSET NOW!!! - 26/03/04 03:12 PM
you're using this program for free, so disappointed would be the wrong word wouldnt it.
Posted By: MIMP Re: HASH UNSET NOW!!! - 26/03/04 03:27 PM
Code:
alias testUnset {
  hadd -mu10 table item 10 
  .timer 1 5 hinc $!+(-u,$hget(table,item).unset) table item 10
  .timer 11 1 echo -s * $!hget(table,item) $!hget(table,item).unset
}

© mIRC Discussion Forums