Lineage 2 Tower Forum

Full Version: HTML etc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hallo guys , i want take information of html files in official .. How can i do this? I reamber we can do that , but not reamber how?
(01-17-2015 15:42 PM)teris1994 Wrote: [ -> ]Hallo guys , i want take information of html files in official .. How can i do this? I reamber we can do that , but not reamber how?
    LUA Programming
--ShowToClient("html dialog",tostring(GetDialogHtml()));
 
HtmlStatus = false;
--------------------------------------------------------------------------------
function OnCreate()
	this:RegisterCommand("html", CommandChatType.CHAT_ALLY, CommandAccessLevel.ACCESS_ME);
end;
--------------------------------------------------------------------------------
function OnCommand_html(vCommandChatType, vNick, vCommandParam)
	if (HtmlStatus == false) then
		HtmlStatus = true;
		ShowToClient("Plugin","HTML saveed.");
	end;
end;
--------------------------------------------------------------------------------
function OnLTick1s()
	if(HtmlStatus)then
		local file = io.open(GetDir() .. "html.txt", "w");
		file:write(tostring(GetDialogHtml()).. "\n");
	--	file:write(tostring(HtmlDialog()).. "\n");
		file:close();
		HtmlStatus = false;
	end;
end;

Reference URL's