Liam's BitchX Command Reference
BitchX scripting function $rmatchitem()
- rmatchitem
- Function
- $rmatchitem()
- Usage
- $rmatchitem(arrayname input)
- Returns
- $rmatchitem() attempts to match the input text with an array of
patterns, much like $rmatch().
Returns -1 if it cannot find the array, or -2 if no matches occur,
or the integer index of the pattern which matched.