like to make sure an illy casts his prismatic everytime its up? or cast his beam ect?
Illusionist already does this. As long as you don't have "use stuns" checked or "mez adds" checks, it should be about as much dps as you can get from a bot. Illusionist is a difficult one to maximize dps because of how fast everything casts and other types of variables. BUT, it DOES cast beam every time it's up and it does cast prismatic every time that it is up (make sure that you have the target for the prismatic spell set in your UI!)
You should look through Illusionist.iss for examples on how to do just about anything. Learn how illusionist.iss works (i.e., take a few HOURS to figure it out from top to bottom...ask specific questions and we'll answer them), then you can go to your other class files and edit them. You can even submit them for others!
Illusionist, SK, Fury, Defiler...are some of the more well kept class files. Some files have barely anything (because no one ever submitted anything and none of the active developers play those classes.)
It's not hard, it just takes time. Look through Illusionist.iss to see how it works and then edit your other class files. Each of the class files have the same exact functions (i.e., "combat_routine, buff_routine, etc.) ..each has their own UI file and each has a "spell" file. If you look through very slowly (even print it out so you can really dig into it) you'll see how it's designed and how the spell file relates to the class .iss file, etc.. fairly quickly.
No one was born with the ability to write any of this. Everyone learned very slowly and methodically.