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

itemtoindex
Function
$itemtoindex()
Usage
$itemtoindex(arrayname n)
Returns
itemtoindex() takes an item number and searches for the index that refers to the item. It returns the index number, or -1 if unable to find the array, or -2 if the item was invalid.


previous: isvoice next: itemtoindex