mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
basically on the right click of an item in a dialog like:

$d(popups.dll) AddItem name end + Remove from list $Cr Remove_Channel $6

so basically when i right click on an item in the list it will popup 'Remove from list' where $6 is the item in the list.

Code:
alias Remove_Channel {
echo -a $1
}


That works fine, when i click on 'Remove from list' it echos the item. Now when i turn it into a local alias:

Code:
alias -l Remove_Channel {
echo -a $1
}


i get:

REMOVE_CHANNEL Unknown command
-
REMOVE_CHANNEL Unknown command
-
REMOVE_CHANNEL Unknown command

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It's not being called locally, it's being called from a dll.

Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
hm, so its a problem with that popups.dll?

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
No. You've defined your alias as a local alias, which means it can only be called by scripts in that file. If a dll calls it it isn't being called from inside that file. It's not a problem with mIRC or the dll, just a scripting error.


Link Copied to Clipboard