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:
/array [-r] <name> item,item,item,item,..
/matrix [-r] name x:y value
For curious people, the way I did it, is by saving an array into a variable this way:
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)