mIRC Home    About    Download    Register    News    Help

Print Thread
Raw 005 not picking up WHOX #268645 01/04/21 10:32 PM
Joined: Nov 2004
Posts: 809
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 809
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.)


What do you do at the end of the world? Are you busy? Will you save us?
Re: Raw 005 not picking up WHOX [Re: Jigsy] #268646 02/04/21 12:29 AM
Joined: Dec 2002
Posts: 2,024
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,024
Try $istok($2-,WHOX,32)

Re: Raw 005 not picking up WHOX [Re: Jigsy] #268647 02/04/21 12:38 AM
Joined: Jan 2004
Posts: 1,558
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,558
See what happens with your parameters in a different order

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

Re: Raw 005 not picking up WHOX [Re: maroon] #268648 02/04/21 12:51 AM
Joined: Nov 2004
Posts: 809
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 809
Ah, whoops. I had the wrong ordering. (It's been a while since I've done this.)

lol, thanks.

Last edited by Jigsy; 02/04/21 12:53 AM.

What do you do at the end of the world? Are you busy? Will you save us?