Indeed, but it would still be faster than looping on $hfind and it would let us "chain" matches.
If results are dumped to a window, how do you keep track of the item/data in the window on the same line, without losing spaces and without losing integrity ? The suggestion of a callback alias would be better in this case imo, $1 is the item and $2 the data.
Both idea would be great, it could be done like this: if the third parameter start with a '/' it is considered as a callback alias, otherwise, if it's not a number, it is considered as an hash table name, or else, the actual behavior is used

Edit: my bad, the first word on the window's line would be the item and the rest would be the data, since the name of an item cannot have spaces in it.
The third parameter could then start with a @ to specify a window's name.

Last edited by Wims; 01/09/11 01:17 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel