mIRC Homepage
hey, i am trying to find a wilcard text in the data of a hash table:

//echo -a $hfind(owner,*this*,w)

and it doest work, it WILL work, the the "TEXT" is the first word in the data, but not second or third, if this is the way its supposed to be, is there a way to find, a peice of data in a hash table, EG:

i want to find "1b2a3c" in the hash table, now lets say it is in there:

item1 = this is my settings 10003941b2a3c3499560

using $hfind(table,*1b2a3c*,w) wont actually find it, but it WOULD find it if the item and data looked like this:

item1 = this is my settings 1b2a3c384995006--6kfkfuif8783894


know what i mean? is it supposed to be like that? if so, is there a way to do what i am trying to do?
$hfind seems to work fine for me, the wildcards match correctly. However I'm not sure you're using it correctly.

You're trying to match the data, but you're not using $hfind's .data property. Also, you're missing the 3rd 'N' parameter, without which $hfind will always return 0.
Well, maybe you can give an example, cause i am using the .data property, just forgot to type it in here :P

and no matter what, i am always getting 0 as a result:

//echo -a $hfind(owner,w,*E59*,w).data

and this is what the entry in the table owner consists of:

ITEM / DATA

17283949595 / *!*1E59026C0@* (NightChillz)
The help file says: $hfind(name, text, N, M)

Try: $hfind(owner, *E59*, 0, w)
lmao,i knew that :|, i used that same thing many times b4, slipped my mind :S, thats alot for the help/reminder smile
© mIRC Discussion Forums