Delete Active Quest

Nuprecon

Active Member
Something like this would be useful for doing crafting faction writs or doing the betrayel quest lines. Pretty much any where you have the chance to get multiple quests from one hail, when you really only wanted to do one.


at the top of your function main()

Code:
; where "myatom" is the name of the atom you will fire.
Event[EQ2_onChoiceWindowAppeared]:AttachAtom[MyAtom]
Outside of the function main()

Code:
function deleteQuest()
	{
		EQ2UIPage[Journals,JournalsQuest].Child[button,TabPages.Active.After.DeleteButton]:LeftClick
		wait 5
	}
atom MyAtom()
	{
		declare ChoiceText string ${ChoiceWindow.Text}
		if ${ChoiceText.Find["Name of Quest you want to delete"]}
		   {
				echo This was the quest you wanted
				ChoiceWindow:DoChoice1
		   }
		   else
		   {
				echo Clicked on No
				ChoiceWindow:DoChoice2
		   }

As this snippet stands it will decline everything that does not contain the ${ChoiceText} string. ie Invites to groups, invites to raids, are you sure you want to transmute this... blah blah blah. So becareful to add in the necissary checks you will need for your specific situation.
 

digimiles

Active Member
Craft Bot

Can something like this be attached to the crafting bot? Just for the off chance that you fail one the bot doesn't know that and then it crashes.
 
Top Bottom