I'm working on a game bot. I'd like to place there something like a scripter, my program is reading all the needed stuff from the game's memory and I've got all of game-objects. I'd like to add something to my program that allows user to make his own scripts.
eg.
foreach (character ch in characters_on_screen)
{
if (ch.burning()) {game_say("burning!");}
}
I don't really know if it's hard to make, thats why I'm writing here :P, I'm working in c# and the scripter language doesnt really matter I think, coz all the game scripts arent going to be hard i think So whats the easiest way to do that? (if theres any) Thanks :)
p.s. I'd also like to know if there's a way to disable several functions, like creating files or so.