For depopping adds use this script on each of the mobs you want to depop:
Code:
sub EVENT_COMBAT {
if ($combat_state == 0){
quest::depop();
}
}
For NPC's to cast spells, use $npc->CastSpell(SpellID,$client);
But, you have to use an event such as a timer or something to execute the casting.
Using the Ailah or whatever spell editor from the GeorgeS site would be your best bet. Keep in mind, you have to load your spells_us.txt into the Spells_new table in your DB if you are running the most current revision of the source. In general, you are best served to COPY a spell, then edit it to whatever you need it to be. Then load it into the spells new and then copy the file onto your server and give to the clients.