Visual Basic script file/Plugins - problem with alias

Posted by Ovvi on Wed 02 Feb 2005 02:24 PM — 4 posts, 17,404 views.

Poland #0
Hi,

I have a old script file wroten in VB and also a few plugins. Problem is when I have the same name of alias generated by script and plugin.
For example:
I'm creating an alias in my script file with name "XXX", when I want to delete it from plugin, but MushClient give me the message that alias is not exist.
If I create an alias in VB script and another (different) but with the same name in plugin with option "replace alias" then alias have both inside. From plugin I can only delete alias created in plugin and from script I can only delete alias created in script.

Do you have any solution how can I delete it globaly ?

Ovvi
USA #1
You can send to world.execute (from inside the plugin) to delete from the world.
Poland #2
I need alias :-(

Ovvi
USA #3
You can do that via an alias, either send to script within the alias (and then in that script do world.execute) or send to execute directly.

You can either then use that execute (which acts as if the user typed it) to use an alias in the world, OR with the scripting prefix to send script commands to the command line (and thus to the script engine).