Well, I've been able to make those myself, except the fact that the matrices are a little bit slower because of the way I did it. My suggestions would be to make arrays and matrices available to mIRC. For example:
Code:
/array [-r] <name> item,item,item,item,..
$array(name,N)

and..
Code:
/matrix [-r] name x:y value
$matrix(name,x,y)

For curious people, the way I did it, is by saving an array into a variable this way:
Code:
^cItem^cItem^cItem^cItem
where ^c is a special character (like chr(6)) then using gettok/numtok, etc.. I retrieve N item, into the array by reading the variable with some *tok. Same thing for matrices, execept that they have 2 set of special characters (to separate rows and columns)