mIRC Homepage
Posted By: Bullseye mdx dialog with url link - 08/03/06 03:58 PM
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.
Posted By: Bullseye Re: mdx dialog with url link - 09/03/06 08:15 AM
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 ?
Posted By: hkr Re: mdx dialog with url link - 10/03/06 08:12 AM
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;)
© mIRC Discussion Forums