L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML etc
Author Message
teris1994 Offline
Goblin Grave Robber
*

Posts: 18
Joined: Dec 2012
Reputation: 0
Version: 1.4.2.132
Post: #1
F.A.Q. HTML etc

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?
(This post was last modified: 01-17-2015 16:23 PM by teris1994.)
01-17-2015 15:42 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #2
RE: HTML etc

(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;


PUSH [Image: knUu53] IF HELPED
01-17-2015 19:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
 Reputed by : Fox(+2)
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Close Html Dialog window tnma 4 3,713 02-16-2015 00:56 AM
Last Post: Dreamgun
  Changing HTML Code - Auto Farm tophersoccer 5 6,063 07-25-2014 08:51 AM
Last Post: tophersoccer
  html ? benbt91 3 3,879 02-28-2014 15:40 PM
Last Post: benbt91
  html dialogue proga1992dddd 1 3,862 10-21-2013 16:06 PM
Last Post: Vinter
  HTML Drop NaoJogoMais 4 4,047 04-14-2013 12:24 PM
Last Post: ClockMan



User(s) browsing this thread: 1 Guest(s)