Native api scripting behavior flexibility?

Probably you can find something useful here