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

Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replace Dialog and Click
Author Message
raid1141 Online
Amber Basilisk
*

Posts: 37
Joined: Mar 2012
Reputation: 18
Version: 1.4.2.142
Post: #1
Replace Dialog and Click

Hi guys,

I need some help in replacing HTML inside a dialog. What I do is:


Code:
WaitForNewDialog();
local html = GetDialogHtml();

.. then I do some html text transformations / tag changes....and

Code:
ShowHtml(html); --this does show the transformed HTLM, but looks like the handler is still over the original dialog


html = GetDialogHtml(); --this returns the original HTML, which I DONT WANT

-- and also ClickAndWait runs over the original dialog and not the

Any ideas?
10-14-2013 18:12 PM
Find all posts by this user Quote this message in a reply
ClockMan Offline
All Mighty
*******

Posts: 2,886
Joined: Jan 2011
Reputation: 499
Version: 1.4.3.143
Post: #2
RE: Replace Dialog and Click

You can use QuestReply and write own ClickAndWait

[Image: owner.gif]
10-14-2013 21:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
raid1141 Online
Amber Basilisk
*

Posts: 37
Joined: Mar 2012
Reputation: 18
Version: 1.4.2.142
Post: #3
RE: Replace Dialog and Click

(10-14-2013 21:05 PM)ClockMan Wrote:  You can use QuestReply and write own ClickAndWait


Short answer but valuable !!! Thanks a lot - this works :-)
10-14-2013 21:26 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NPC DIALOG Sawk 2 2,539 06-28-2015 01:47 AM
Last Post: Vinter
  how do click "tutorial" quest for script or plunins. DreamFly 0 2,139 06-06-2015 20:43 PM
Last Post: DreamFly
  Close Html Dialog window tnma 4 3,722 02-16-2015 00:56 AM
Last Post: Dreamgun
  How do can click it in script? shanghua2 4 3,482 09-19-2014 17:51 PM
Last Post: kerberos464
Information Pause with 1 click, Events Sh4d0W 2 2,431 06-27-2014 21:09 PM
Last Post: Sh4d0W



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