mIRC Home    About    Download    Register    News    Help

Print Thread
#76759 26/03/04 09:29 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
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!!!!?

#76760 26/03/04 09:35 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
It's just you wink

This works: //hadd -mu10 table item data | .timer 15 1 echo -a * $!hget(table,item)

#76761 26/03/04 09:35 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
im doing it from a script, dont know if it matters or not if you call it from a command line

#76762 26/03/04 09:41 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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...

#76763 26/03/04 09:43 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
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

#76764 26/03/04 09:51 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
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

#76765 26/03/04 09:54 AM
Joined: Sep 2003
Posts: 27
T
TravisK Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Sep 2003
Posts: 27
thinks this also happens with set -uN %var and /inc %var cause thats what made me want to go with hash tables last night

#76766 26/03/04 11:43 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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.

#76767 26/03/04 03:12 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
you're using this program for free, so disappointed would be the wrong word wouldnt it.

#76768 26/03/04 03:27 PM
Joined: Dec 2002
Posts: 102
M
Vogon poet
Offline
Vogon poet
M
Joined: Dec 2002
Posts: 102
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
}



-
MIMP

Link Copied to Clipboard