fatsawhorse,
the concept of saving and applying buffs with !?BG0 and !?BG1 will also work in WoG. Only you need enough free variables you can use.
If you work with outdated software you will hardly find someone who sits down and makes the code for you especially if the modification is questionable.
My suggestion would be that you first get some more experience with scripting and later come back to your Dispel mod, you will find that sometimes things can be done in 1 hour were you first though impossible to do