This is what I would start with for wizards, if this is even possible to code up. Note that they are pretty much a pure dps class, and aside of the meager powerfeed their only utility is in dps buffs. Therefore a dps-centric script approach should be fine for any situation.
The way this list works is that after every spellcast attempt, you start at the top and iterate down to the first spell that exists, is available for cast, and that meets the requirements in the parenthesis. The rules may change somewhat if POTM, Velium Gift, or Surge of Ro are active, but I left those possibilities out for now due to their added complexity.
---
Glacialshield on MT
Protofire on target (if target is epic)
Furnace of Ro (if PBAE's enabled)
Iceshape (if Fireshape isn't up, and Surge of Ro isn't up, and if Velium Gift is available for cast)
Velium Gift (if Iceshape doesn't exist or if it does exist and is up, and if Fireshape isn't up, and if Surge of Ro isn't up)
Fireshape (if Iceshape isn't up, and Velium Gift isn't up, and if Surge of Ro is available for cast)
Surge of Ro (if Fireshape doesn't exist or if it does exist and is up, and if Iceshape isn't up, and if Velium Gift isn't up)
Ice Spears on target
Solar Wind on target (if AE's enabled, and if target encounter has 3 or more mobs)
Exothermicity on target (if PBAE's enabled, and if at least 4 nearby mobs)
Electron Storm on target (if AE's enabled, and if target encounter has 5 or more mobs)
Surging Tempest on target
Freehand Sorcery (if Bolt of Ice is available for cast)
Bolt of Ice on target
Freehand Sorcery (if PBAE's enabled, and if Fission is available for cast)
Fission on target (if PBAE's enabled)
Solar Wind on target (if AE's enabled, and if target encounter has 2 or more mobs)
Exothermicity on target (if PBAE's enabled, and if at least 3 nearby mobs)
Electron Storm on target (if AE's enabled, and if target encounter has 4 or more mobs)
Hailstorm on target (if PBAE's enabled)
Ball of Lava on target
Thunderclap on target
Heatwave on target
Exothermicity on target (if PBAE's enabled, and if at least 2 nearby mobs)
Electron Storm on target (if AE's enabled, and if target encounter has 3 or more mobs)
Magma Chamber on target
Solar Flare on target
Ro's Coil on target
--
NOTE:
- Protofire and Ro's Coil are unresistable.
- Hailstorm and Thunderclap are new Wizard AA nukes in beta.
- Furnace of Ro and Ice Spears have elemental debuffs now, but Heatwave will gain an AA heat debuff in the expansion and at that time I would place it underneath Ice Spears.