Hm. Well as long as others are asking, I also thought an eval(string command) (as JScript would put it) would be nice.
Of course it is possible to build your own inside AGS (up to a point), but it would be something of a coding abomination based on "if(){}else if(){}else if(){}else ... " and a whole heap of string manipulation (or a custom input language/method).
That would probably be good enough for less than 20 functions.
I was thinking about function pointers too at one point, but I'm not sure they'd be worth it.
Of course it is possible to build your own inside AGS (up to a point), but it would be something of a coding abomination based on "if(){}else if(){}else if(){}else ... " and a whole heap of string manipulation (or a custom input language/method).
That would probably be good enough for less than 20 functions.
I was thinking about function pointers too at one point, but I'm not sure they'd be worth it.