ahh ok i just assumed from the name it did allot more than what i wanted and was designed for multi boxing and the like, i will take a look at it, Thanks
While it has features for that, it can do exactly what you want and its designed to allow you to easily create your own class file to play your monk as you want it played.
the EQ2Bot core just simplifies things for your script, like aggro detection, spell casting, spell queuing, other simple state things your script would or might want to know to be most effective.
But the combat routine in the monk.iss file is what eq2bot calls anytime it detects the monk should be in combat. It simply keeps calling this function repeatedly until it detects combat is over.
It passes a variable to the function called Action that tells it what iteration of the loop it is on.
Essentially it keeps calling the function and incrementing the Action value 1-40. If combat ends on iteration 5 it stops calling and starts back at 1 on the next aggro condition. If it reaches 40 and still has aggro it resets to 1.
In this way you likely want to configure your combat function to do different things based upon that value. If you look at different class files you'll see different implementations of that logic.
On some they've assigned an ability to each unique action number and when it calls combat it performs that one unique action for each call. This makes a very rigid, repeated casting order, but doesn't handle conditions well where say the first 5 abilities weren't actually ready to be cast.
Other classes like coercer opperate off a priority order and goes down the list of what spells are available and casts a set number of them each call of the loop.
Each method has its benefits and penalties.
However, like others have said, if you take the time to read the wiki and look at some class files that are already highly optomized, you should be able to build a good monk script in no time.
I believe the current monk.iss was built by blazer about 3 years ago, and probably could stand for some improvements based upon how the class has changed.
I have only done basic maintenance to the monk files since blazer built them. Added new spells, AA, etc as I've had time, but as I don't have a monk, don't know anything about playing a monk, someone with more monky knowledge should be able to improve what is there.