Although I said I wouldn't post to Tony, I just feel like helping this guy because I was on here trying to work out why ALL custom classes work but warlocks... so:
Credits to whoever's code I'm ripping out of, I'm just C&Ping from different CCs and plugins
SpellManager.Buff(name)
WoWPlayer.Auras.ContainsKey(name);
Name in those two being the name, like "That weird spell that contains the word kings that paladins do".
Then you have:
Lua.DoString("CancelUnitBuff('player', 'Food') CancelUnitBuff('player', 'Drink')");
To cancel buffs
WoWItem hearthstone = ObjectManager.Me.CarriedItems.FirstOrDefault(x => x.Entry == 6948 || x.Entry == 64488);//hearthstone or inkeepers daugher
hearthstone.Use();
so
Now, if you can't throw that together to do what you want, then, either:
A. You have like no coding experience
B. You {don't feel like getting banned for the sturdiest of shit because I still need to get CCs from this place}
Solution to A:
TheNewBoston.com, or, ask someone else to do it
Solution to B:
There is none.