mIRC Home    About    Download    Register    News    Help

Print Thread
#44720 29/08/03 03:58 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
ok i am having a bit of trouble toolbar docking stuff to the bottom right now this is my current code

Code:
dialog google {
  title "Google Search script"
  size -1 -1 1000 18
  option dbu
  text "Google Search:", 1, 1 4 50 11
  edit %google.lastserach, 2, 40 2 100 11
  button "Search", 3, 140 2 50 11, ok
}
on *:dialog:google:sclick:3: {
  echo Searching Google
  set %google.lastserach $did(google,2)
  run http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q= $+ $replace( $+ $did(google,2) $+ ,$chr(32),+)
}
on *:dialog:google:init:0: {
  dll dlls/mdx.dll SetMircVersion $version 
  dll dlls/mdx.dll MarkDialog $dname
  dll dlls/mdx.dll SetControlMDX $dname 1 ToolBar > dlls/bars.mdx
  dll dlls/mdx.dll SetDialog $dname style
  dll dlls/mdx.dll SetBorderStyle 1
  dll dlls/ktools.dll DockToolbar $dialog($dname).hwnd > bottom
}


im thinking i just might not have the updated kTools.dll idk =/


Need amazing web design for low price: http://www.matrixn3t.net
#44721 29/08/03 04:02 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
blah, that url used to work :tongue:

Last edited by pheonix; 29/08/03 04:08 AM.

new username: tidy_trax
#44722 29/08/03 04:07 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
i get a 404 error if i try to goto that link...


Need amazing web design for low price: http://www.matrixn3t.net
#44723 29/08/03 05:25 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
just to let you know. I;d do that if it werent such a chore to change ur dll path to mine. if u wanna hind, whenever u plan to give out add-ons, (which i assume thats why ur making this), use an alias for a dll path because not everyone is the same. Some popel put dlls in scripts\dll\ script\dll scripts\dlls dll\ dlls\ etc etc. Just consider adding something to the effect of

alias -l mdx { return path\to\mdx.dll }

blah...code...
/dll $mdx <blah

EDIT: also on ur dll paths-- the /'s mean internet address, \ means local. just a heads up ur technically pointing to an internet location of dlls/mdx -- should really be dlls\mdx


-KingTomato

Link Copied to Clipboard