mIRC Home    About    Download    Register    News    Help

Print Thread
#16539 23/03/03 05:25 AM
Joined: Dec 2002
Posts: 76
A
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2002
Posts: 76
Code:
dialog oper {
  title "Oper Login"
  size 232 196 302 121
  option pixels
  icon images\script.ico, 0
  box "", 1, 1 -4 301 125
  text "Are you sure you have an oper access in this server ?", 2, 13 9 277 15, center
  text "OK, enter the Oline ID and Oline Password now", 3, 29 26 244 13, center
  edit "", 4, 20 49 80 22, autohs center
  edit "", 5, 107 48 175 22, pass autohs center
  box "", 6, 17 75 268 6
  button "OK", 7, 122 91 60 20, flat ok
}
on 1:dialog:oper:sclick:*: {
  if (($did == 7) && $did(4) && $did(5)) {
    var %nick = $did(4)
    var %pass = $did(5)
    oper %nick %pass
  }
}


with color.dll how can i add color (like 58,110,165) to this dialog ? help me ...

#16540 23/03/03 06:08 PM
Joined: Dec 2002
Posts: 174
P
Vogon poet
Offline
Vogon poet
P
Joined: Dec 2002
Posts: 174
try mdx.dll

you can get it at www.mircscripts.net

go to the tutorials
and then the dlls

you can get some really wild things going
using much better colors than the defined mirc color

on *:dialog:dialogname:init:0: {
dll $mdx SetMircVersion $version
dll $mdx MarkDialog $dname
dll $mdx SetDialog $dname bgcolor $rgb(102,205,170)
dll $mdx SetColor $dname 13 background $rgb(102,205,170)
dll $mdx SetColor $dname 13 textbg $rgb(102,205,170)

}

alias mdx { return $mircdir\phmstat\mdx.dll }
alias ctl { return $mircdir\phmstat\ctl_gen.mdx }
alias bars { return $mircdir\phmstat\bars.mdx }
alias views { return $mircdir\phmstat\views.mdx }
alias icon { return $mircdir\phmstat\ $+ $1- }

play with what i have,
read the tutorials lots of fun stuff.

#16541 24/03/03 10:10 AM
Joined: Dec 2002
Posts: 76
A
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2002
Posts: 76
but huve problem w/ text's backgroud, how di i disable it ?


Link Copied to Clipboard