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

indextoitem
Function
$indextoitem()
Usage
$indextoitem(arrayname n)
Returns
function_indextoitem() converts an index number to an item number for the specified array. It returns a valid item number, or -1 if unable to find the array, or -2 if the index was invalid.


previous: index next: indextoitem