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 $ifinditem()

ifinditem
Function
$ifinditem()
Usage
$ifinditem(arrayname string)
Returns
ifinditem does a binary search and returns the index number of the string that exactly matches the string searched for, or it returns -1 if unable to find the array, or -2 if unable to find the item.


previous: ifindfirst next: ifinditem