I've been using JASS for bits of scripts from time to time but I mostly program in PHP. I was wondering if anyone would mind doing a in_array() function like the PHP one...it'd be really helpful
It can't really be done since functions can't take arrays as parameters. However, there are a couple of "object" array systems out there that uses an integer as identifier and the gamecache to store the data in the array. When I need a dynamic array I use the list utility (found here). Instead of an in_array function I made a ListFind function which covers the use of an in_array function.