Menu aliases in plugins

Posted by Cloud on Thu 15 May 2003 06:55 PM — 2 posts, 12,224 views.

Czech Republic #0
Aliases executed using menu in plugins execute inside main
world script instead of inside plugin's script. Following
example returns the correct ID if I just type test, but
returns empty string ('') when executed as menu item
(plugin language needs to be JScript).

<aliases>
<alias name="test" match="test" enabled="y" menu="y"
send_to="12">
<send>world.note("'"+world.getPluginID()+"'");</send>
</alias>
</aliases>

Cloud
Australia Forum Administrator #1
That is an obscure one.

Fixed in 3.43.