mIRC Home    About    Download    Register    News    Help

Print Thread
#99392 01/10/04 01:48 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
if i want to change the default "icon" in a dialogs top letf corner, how would the line look like?

icon $mircdiri\icon.ico

wont shot the icon.. and i dont need to add a id to that one ?

want to add one more problem i have..
Code:
alias systemdir { did -r dialog 5 | set %systemdir $sdir(c:, Select your system derectory.) | if (\System isin %systemdir) did -a dialog 5  %systemdir | else did -r dialog 5 | $dllmdx SetColor 5 text 255 | did -a dialog 5 That dont look like the right path. }

that color the line if the path is wrong, but it also color the line if the path is right.. so i made som error, cant find out what tho :tongue:

Last edited by sparta; 01/10/04 02:41 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#99393 01/10/04 02:47 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
You have to add the index after it: icon <file>, 0

Always use 0 unless the icon is in a dll, exe, icl, or any other file that can hold more than one icon.

Second question: { } are there for a reason wink

Code:
alias systemdir { did -r dialog 5 | set %systemdir $sdir(c:, Select your system derectory.) | if (\System isin %systemdir) { did -a dialog 5  %systemdir } | else { did -r dialog 5 | $dllmdx SetColor dialog 5 text 255 | did -a dialog 5 That dont look like the right path. } }


New username: hixxy
#99394 01/10/04 03:22 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
that worked just fine, but hmm, 1 more question, any way to make words BOLD or underlined in a dialog text ?

text "this is CTRL+U $+ what $+ CTRL+U i want to have "

CTRL+U = underlined.. :tongue:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#99395 01/10/04 04:17 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
MDX might have that, I don't know though.


New username: hixxy
#99396 01/10/04 04:39 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
ok thnx, i try play with it a bit then grin


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard