[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  OnPluginSend
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

OnPluginSend

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


Posted by Simon   Sweden  (39 posts)  [Biography] bio
Date Sat 26 Jun 2004 03:22 PM (UTC)
Message
There should a similiar hangup for scripting, that works in the script and doesn't have to be in a plugin :P Please.

- "Where do you live, Simon?"
- "I live in the sick and wounded, doc."
Session 9
[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sun 27 Jun 2004 10:28 PM (UTC)
Message
What is the problem with writing a small plugin to achieve what you want?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Simon   Sweden  (39 posts)  [Biography] bio
Date Reply #2 on Mon 28 Jun 2004 01:07 AM (UTC)
Message
Well, the problem is this:

I have a script with triggers that interact with themselves through global variables in my script file. These variables are also modified by different aliases. They also use variables in my worldfile. The problem is that I don't want my entire script and half of my triggers, aliases and variables as a plugin since that would be what I would be required to do in the end. This would require me to recode basically my entire script since I do alot of trigger deactivations through the gui, and also alot of variable changes through the gui.

The command hangup is something that I've been longing for for a looooooong time. I'm not sure though - is there any way to make a plugin that hooks up your commands and send them to the script?

Thanks for a wonderful client :)

Regards,
Simon

- "Where do you live, Simon?"
- "I live in the sick and wounded, doc."
Session 9
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #3 on Mon 28 Jun 2004 01:22 AM (UTC)
Message
You can make a plugin with the callback, and you can call routines in your main script via execute. Just make sure you have your script prefix. You could make it an entity in your plugin to be able to change it if you modify your prefix later. But you can call scripts in your main world file while sending to execute in a plugin.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Simon   Sweden  (39 posts)  [Biography] bio
Date Reply #4 on Mon 28 Jun 2004 06:22 PM (UTC)
Message
That's a really good solution of the problem. Many thanks.

- "Where do you live, Simon?"
- "I live in the sick and wounded, doc."
Session 9
[Go to top] 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.


3,849 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]