Are the methods predefined or are they created at runtime?
Momerath
Nearly a Senior Poster
3,386 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
The easiest way is to create a delegate. Then use this delegate to create an array of your 'scripts' and use that to call the methods.
You can also use reflection to find the methods and call them, but that takes more work :)
Momerath
Nearly a Senior Poster
3,386 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558