- This userfunction sets up DailyNotes to auto complete/accept the supplied quest Id.
- DN_AutoQuest(questid)
- DailyNotes addon by McBen
Code: Select all
QuestID = 123456 -- ID of Quest
DN_AutoQuest(QuestID) -- activate DailyNotes Autoquest
Code: Select all
DN_AutoQuest(QuestID,"off")
Code: Select all
if state == ("off" or "Off" or "OFF") then
Code: Select all
if state == "off" or state == "Off" or state == "OFF" then
Code: Select all
if state == "off" or state == "Off" or state == "OFF" or state == false then
Code: Select all
local onoff = 1
if state == nil then
onoff = 1
end
if state == "off" or state == "Off" or state == "OFF" or state == false then
onoff = 0
else
onoff = 1
end
Code: Select all
local onoff = 1
if state == "off" or state == "Off" or state == "OFF" or state == false then
onoff = 0
end
Code: Select all
function DN_AutoQuest(questid, onoff)
...
if onoff == "off" or onoff == "Off" or onoff == "OFF" or onoff == false then
onoff = 0
else
onoff = 1
end
Users browsing this forum: No registered users and 1 guest