Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ Visual Basic script file/Plugins - problem with alias

Visual Basic script file/Plugins - problem with alias

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Ovvi   Poland  (13 posts)  Bio
Date Wed 02 Feb 2005 02:24 PM (UTC)
Message
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
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Wed 02 Feb 2005 03:46 PM (UTC)
Message
You can send to world.execute (from inside the plugin) to delete from the world.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Ovvi   Poland  (13 posts)  Bio
Date Reply #2 on Wed 02 Feb 2005 07:51 PM (UTC)
Message
I need alias :-(

Ovvi
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Thu 03 Feb 2005 01:34 AM (UTC)
Message
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).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,301 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.