-I noticed that in most plugins, people have ID numbers. Where does one generate these numbers?
In MUSHclient, Edit -> Generate Unique ID.
-Is every function within a plugin performed in every step?
No, functions are blocks of code that aren't executed until they are called. There are also events that call functions, such as a plugin being closed (OnPluginClose) or a trigger being fired (whatever you specify), but in general functions are only called when you call them.
- I plan to use GCMP to get the variables of max hp and max mp from an IRE game. Is there a good tutorial or list of functions so I can get a basic idea of how I'd begin to do this? I want to study this to properly learn and understand it.
GMCP, not GCMP. :D
I have a plugin that wraps the GMCP protocol (GMCP.plugin) that you can get at my website, and I also have a plugin you can look at to see how you use it (roomname.plugin). There should be a README in both.
If you're new to Lua, I highly recommend reading "Programming in Lua" , which you can find online.