Skip to content
MSN

popups.dll

A TG007 community discussion started by DreaM.

Discussion 10 posts
Page 1 of 1
Open
Topic #3007 · 10 published posts · 831 views

hi guys I am using Absorbx tutorial to make the following code:

 

;in remotes:
menu channel {
 Absorbx.tutorial
}

alias Absorbx.tutorial {
 dll $popups New Absorbx.tutorial 16 16
 dll $popups SetStyle Absorbx.tutorial bordericon
 dll $popups LoadImg Absorbx.tutorial icon small pictures\msn.ico
 dll $popups AddItem Absorbx.tutorial end + 1 Part Channel $cr partchanel
 $pop1 Absorbx.tutorial $mouse.dx $mouse.dy 
}

alias pop1 tokenize 32 $dll(dlls\popups.dll,Popup,$1-) | if ($isid) return $1- | $iif($4- != did not select a menu item,$4-)

;in aliases
/popups { return $shortfn($scriptdirdlls\popups.dll) }

 

the script can not detect the alias and I see Absorbx.tuorial (as hidden menu), any help please?

 

 

 

 

What is happening is that you didn't give the alias in the channel menu. Try this code.

 

;in remotes:
menu channel {
Absorbx.tutorial { Absorbx.tutorial }
}

alias Absorbx.tutorial {
dll $popups New Absorbx.tutorial 16 16
dll $popups SetStyle Absorbx.tutorial bordericon
dll $popups LoadImg Absorbx.tutorial icon small pictures\msn.ico
dll $popups AddItem Absorbx.tutorial end + 1 Part Channel $cr partchanel
$pop1 Absorbx.tutorial $mouse.dx $mouse.dy
}

alias pop1 tokenize 32 $dll(dlls\popups.dll,Popup,$1-) | if ($isid) return $1- | $iif($4- != did not select a menu item,$4-)

;in aliases
/popups { return $shortfn($scriptdirdlls\popups.dll) }

Edited Mar 2, 2005 3:39 PM by Warrior124

it is not hidden now but I can not make list or see any icons, why?

Replace this

dll $popups AddItem Absorbx.tutorial end + 1 Part Channel $cr partchanel

 

with this

 

dll $popups AddItem Absorbx.tutorial end + 1 1 Part Channel $cr partchanel

 

Operating System: Microsoft Windows 7 Ultimate 6.1.7600 (Ultimate)

CPU: AMD RX™ 8120 Eight Core, 3.10 GHz

Maximum Clock: 2200 MHz

RAM: DDR3 1333 16 gb Ram

Video Adapter: ATI Radeon HD 3200 Graphics (512 MB)

3D Accelerator: ATI Radeon HD 3200 (RS780)

Monitor: DELL ST2420 (Digital) [24 "LCD]

Monitor: HP 2159 Series Widle LCD monitor [23" LCD]

 

Your better off to have a friend than to be all alone.. If you fail, Your friend can help you up.

also i don't know if it is even possible to do it in a channel window, i could be wrong, but i don't recall it ever being done in a channel window.

does not work morph, I tried menu nicklist { instead of menu channel { gatekeeper but does not work too.

 

 

EDIT: I get Error: unknown command. When I tried to change the directory of the popups.dll to check if the alias works or not, I got error so it means that script can read the alias.

Edited Mar 3, 2005 8:33 AM by DreaM

I checked every line to know which line gives me the error and found the line:

 

$pop1 Absorbx.tutorial $mouse.dx $mouse.dy

alias pop1 tokenize 32 $dll(dlls\popups.dll,Popup,$1-) | if ($isid) return $1- | $iif($4- != did not select a menu item,$4-)

 

found the error

Edited Mar 4, 2005 11:21 AM by DreaM

works now but I don't know how to make submenu:

 

blah1

.blah11

.blah12

blah2

.blah21

.blah22

 

It is easy to additem and make blah1 and blah2 but what about the submenu blah11 and blah12 ?

If I'm not mistaken I think it is...

 

additem_ > blah11

Edited Mar 5, 2005 10:47 AM by Warrior124