mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hello again,

i'm tyring to use mircustom.dll to mod the mirc titlebar.. and i'm trying to do 2 things with it.

1. set a new icon
and
2. i want to edit the titlebar text ( to remove the mirc)

my problem is when i use the /dll command to call the .dll it will process the first command but ignore the second..

what am i doing wrong??

heres the code as it appears in script:
Code:
 dll $mircdir\system\dlls\mircustom.dll SetIcon -m $mircdir\mirc-multi.ico
  } 
  dll $mircdir\system\dlls\mircustom.dll Titlebar -m AM %ver $status $fulldate
  }
  

this is in my on start section of my events file

any info will be appreciated smile

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Looks like you have some extra closing braces. Also, you don't need $mircdir, if you do use it and $mircdir has any spaces in it (or subfolders in the path have spaces) it will need to be quoted $+(",$mircdir,system\dlls\mircustom.dll").
Code:
on *:start:{
  dll system\dlls\mircustom.dll SetIcon -m mirc-multi.ico
  dll system\dlls\mircustom.dll Titlebar -m AM %ver $status $fulldate
}


Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
Iori, your the best!!!!!

thanks, i didn't realizie that i didn't need the extra brackets.. i thought each call had to opened and closed.. (not sure where i got that idea from..??) hence the extra brackets..

it works now!!!!


Link Copied to Clipboard