lotrointerface.com
Search Downloads

LoTROInterface SVN Reminders

[/] [trunk/] [Thurallor/] [Reminders/] [Main.lua] - Rev 8

Compare with Previous | Blame | View Log

import "Thurallor.Reminders";
--Turbine.Shell.WriteLine("---------------------------------------------------------");
mainWin = Window(plugin);

plugin.Load = function()
    mainWin:LoadSettings();
end
plugin.Unload = function()
    Puts(L:GetText("/GoodbyeMessage"));
end

local hello = L:GetText("/HelloMessage");
hello = string.gsub(hello, "<version>", plugin:GetVersion());
Turbine.Shell.WriteLine(hello);
_G.PutsPrefix = L:GetText("/PutsPrefix");

if (L:GetLanguage() ~= Turbine.Language.English) then
    Puts(L:GetText("/TranslationHelpWanted"));
end

--w = Turbine.UI.Lotro.Window();
--w:SetSize(400, 100);
--w:SetVisible(true);
--b = Turbine.UI.Lotro.Button();
--b:SetParent(w);
--b.Click = function()
----mainWin.charSettings.autoReminders.quests.questInfo["Test Quest"] = nil;
--  mainWin:QuestCompleted("Test Quest");
--  mainWin:QuestBestowed("Test Quest");
----mainWin.nextServerResetTime = Turbine.Engine.GetGameTime() - 10;
--  --mainWin:RaidLockUpdated("Test Lock", 1, 2, 3, 4);
--  --mainWin.chatCallback(Turbine.Chat, {
--  --    ChatType = Turbine.ChatType.Standard;
--  --    Message = "You have completed the 'Eorlingas Warding Lore (x10)' recipe!"
--  --    Message = "Test Truhe (Stufe 0): Euch verbleiben 8 Abschlüsse.";
--  --    Message = "Test Truhe (Stufe 0): Euch verbleiben 8 bevorzugt(e) Abschlüsse.";
--  --    ChatType = Turbine.ChatType.SelfLoot;
--  --    Message = "Item removed from Medium Crafting Carry-all: [2 Tomes of War Campaigns]."
--  --    Message = "Item removed: [Medium Westemnet Scroll]."
--  --    Message = "Item removed from Medium Crafting Carry-all: [2 Tomes of War Campaigns]."
--  --});
--  --Turbine.PluginData.Save(Turbine.DataScope.Account, "Reminders", nil);
--end

Compare with Previous | Blame


All times are GMT -5. The time now is 07:32 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui