World of Warcraft

Scripting

Reloading

/console reloadui

This will take a couple of seconds, and you will the loading screen.

Error logs

D:\World_of_Warcraft\Logs

AV quest turn in

Functions can be tested by adding a macro, and then adding /script in front of the command.

I'm currently working a script for questing in AV.

/script DEFAULT_CHAT_FRAME:AddMessage( select( 4,GetGossipAvailableQuests() ));

/script DEFAULT_CHAT_FRAME:AddMessage( GetTitleText());

/script SelectGossipAvailableQuest(1);
-- wait for quest progress event
/script CompleteQuest();
/script AcceptQuest();
/script SelectGossipOption(1);
--
/script GetQuestReward(0);

on GOSSIP_SHOW
if  select( 1,GetGossipAvailableQuests() equals "Ivus the Forest Lord"
or select(4, GetGossipAvailableQuests() equals "Crystal Cluster")

SelectGossipAvailableQuest(1 or 2);

on QUEST_PROGRESS
check IsQuestCompletable();
check GetTitleText()

/script CompleteQuest();

on QUEST_FINISH or QUEST_COMPLETE
if  GetTitleText() like %Ivus The Forest Lord"
or GetTitleText() like %ICrystal Cluster"
/script GetQuestReward(0);

on QUEST_FINISH
the window is closed.