USING ICONS IN POPUP.DLL
By Absorbx
- >> Popups.dll Tutorial - by Absorbx
- >> This tutorial explains how to get icons into your popups
- >> This is my first ever tutorial so please don't flame me ;x
- >> Components Required:
Popups.dll
A little bit of mIRC knowledge
Common sense.
- >> Code Required: - Goes in Remote
alias Absorbx.tutorial {
"Your popups.dll directory" - EG: System\dlls\popups.dll New Absorbx.tutorial 16 16
"Your popups.dll directory" - EG: System\dlls\popups.dll SetStyle Absorbx.tutorial bordericon
"Your popups.dll directory" - EG: System\dlls\popups.dll LoadImg Absorbx.tutorial icon small "First Icon Directory directory"
"Your popups.dll directory" - EG: System\dlls\popups.dll AddItem Absorbx.tutorial end + 1 << Everytime you paste this code, make the number one higher each time. "Popups Text" eg: Part Channel $cr "Text Command", must be an alias else it will act out the command when you open the popups eg: partchannel
pop1 Absorbx.tutorial $mouse.dx $mouse.dy << $mouse.dx $mouse.dy are built in mIRC, so don't touch them!
}
- Goes in Remote
alias pop1 tokenize 32 $dll("POPUPS DIRECTORY",Popup,$1-) | if ($isid) return $1- | $iif($4- != did not select a menu item,$4-)
- Goes in Remote
menu channel {
Absorbx.tutorial
}
- >> Well that's it, I hope you understand it..
- >> Popups.dll can be located at mircscripts.org
- >> It may come with a tutorial that may be easier to understand than this one.
- >> Give it a try.
; // The same can be done with the Nicklist, just change the code. It's self explanory
; // Note: Give me credit if you release a script and you've used this code!
; // This code is also used in Desolate 4.0
Absorbx