Yeah this script is great. I made a slight addition to the script on N-Pulse so I could join to a class with this script in it. And in my script that the class joins from I can add new commands, and use them without having to edit the class.
PHP Code:
case "func":
(@data[1])(data[2]);
break;