mIRC Homepage

Raw 005 not picking up WHOX

Posted By: Jigsy

Raw 005 not picking up WHOX - 01/04/21 10:32 PM

Trying to figure out which networks support WHOX for something so I was trying to add a simple hash table.

Anyway, long story short...

Code
raw 005:*:{
  if ($istok(WHOX,$2-,32)) { hadd -m WHOX $network 1 }
}


...isn't adding anything (after doing /version) and I'm at a loss of why. (It's in a fresh script file.)
Posted By: RoCk

Re: Raw 005 not picking up WHOX - 02/04/21 12:29 AM

Try $istok($2-,WHOX,32)
Posted By: maroon

Re: Raw 005 not picking up WHOX - 02/04/21 12:38 AM

See what happens with your parameters in a different order

Code
raw 005:*:{
  if ($istok($2-,WHOX,32)) { hadd -sm WHOX $network 1 }
}
Posted By: Jigsy

Re: Raw 005 not picking up WHOX - 02/04/21 12:51 AM

Ah, whoops. I had the wrong ordering. (It's been a while since I've done this.)

lol, thanks.
© 2021 mIRC Discussion Forums