mIRC Home    About    Download    Register    News    Help

Print Thread
mdx dialog with url link #144274 08/03/06 03:58 PM
Joined: Feb 2005
Posts: 344
B
Bullseye Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
i wanna make a dialog that has multiple with mdx that has 3 sections.

headerdim1 is for names
headerdim2 is for url's
headerdim3 is for the nicknames.

so far I can handle it but my question is how to make the url's work that when people click the url they will be redirected to the webstie of the url.

Re: mdx dialog with url link #144275 09/03/06 08:15 AM
Joined: Feb 2005
Posts: 344
B
Bullseye Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
This is what I have:

Code:
 on *:dialog:addon:*:*:{
if ($devent == init) {
mdx.load
mdx SetControlMDX 9 listview rowselect showsel single sortascending labeltip report > $views
.did -i $dname 9 1 headerdims 104:1 104:2 168:3
.did -i $dname  9 1 headertext Addon $Chr(9) Maker $Chr(9) Website
.did -a $dname  9 2 Scrippie $Chr(9) ikke $Chr(9) http://www.unochat.nl
 }
}
 


Is it possible to open the website by double clicking on it ?

Re: mdx dialog with url link #144276 10/03/06 08:12 AM
Joined: Mar 2006
Posts: 19
H
hkr Offline
Pikka bird
Offline
Pikka bird
H
Joined: Mar 2006
Posts: 19
did u try using the on dialog event? for example:
Code:
on *:dialog:addon:dclick:9:{
  if (<check for the clicked text>) { run iexplore.exe <url1> }
  elseif (<another check for the clicked text>) { run iexplore.exe <url2> }
  <and so on...>
}

the problem is i don't know your aliases and yur mdx version. if u want u can send them to hackg@data.bg and i`ll see what i can do 4 u;)