Original Post
I'm almost up the point on where I want to add NPCs into my MUD. However, for most behaviour of the NPCs I want to use a scripting language rather than a hardcode it in the engine. At this point I haven no idea what scripting language to use, except that it isn't going to be Lua. Ideas for this? It would be nice if it had C/C++ syntax(And possible support for classes in the scripts themself). Also, it should be easy to embed into my current engine. As a next question, I don't really have an idea on where to start with the scripting themself. I can imagine I need a bunch of "events" for each NPC such as: OnRoomEnter, OnRoomLeave, OnFight(Other player/NPC is attacked), OnAttack(NPC being attacked), OnUpdate, OnDeath(NPC died), OnKill(Opponent NPC died) and perhaps OnItemDrop and OnItemPickup. Toolmaker