Array Functions

delarray delitem finditem getarrays getitem ifindfirst ifinditem igetitem igetmatches indextoitem itemtoindex listarray matchitem numarrays numitems [rmatchitem] setitem

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.


previous: rmatch next: rmatchitem