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

Gammon Software Solutions forum

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

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Plugin Project

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Plugin Project

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Caelen   (81 posts)  [Biography] bio
Date Fri 25 Feb 2011 11:08 PM (UTC)  quote  ]
Message
I'm trying to make a plugin for New Worlds Ateraan (again), this time trying to help people keep better track of when gear needs repaired. The trigger to catch repairs is easy, but setting up the window is where I'm lost.

I'm going to use the movable window of course. What it needs to do is have a variable height, but a set width. It needs a title bar of some sort (an anchor so it can be moved around when not in use). It will pick up the items that need repaired using the trigger. I want the script to then add each item below the current list of items, growing the window's height and adding a new line of text each time. It also needs an alias to clear it, resetting it to just the title bar anchor. Ideally, I want it to have no limit to how long the list can get.

Ideas?
[Go to top] top

Posted by Caelen   (81 posts)  [Biography] bio
Date Reply #1 on Thu 10 Mar 2011 07:16 AM (UTC)  quote  ]

Amended on Thu 10 Mar 2011 07:20 AM (UTC) by Caelen

Message
Is there a list of all the available modules which can be included as a require("module") in triggers and scripts? Or perhaps a way to grab each one and copy it for use elsewhere? In particular, I want to use the wait module, but I'm using Twisol's plugger which changes the file path for require("").

EDIT: Bwahaha, nevermind, found it in the lua folder :D Now I can copy them at will. But, if there is a way to use Twisol's plugger and still use these modules from their default location in the lua folder, 'twould be very nice :x
[Go to top] top

Posted by Twisol   USA  (2,229 posts)  [Biography] bio
Date Reply #2 on Thu 10 Mar 2011 08:49 AM (UTC)  quote  ]

Amended on Thu 10 Mar 2011 08:55 AM (UTC) by Twisol

Message
Caelen said:

Is there a list of all the available modules which can be included as a require("module") in triggers and scripts? Or perhaps a way to grab each one and copy it for use elsewhere? In particular, I want to use the wait module, but I'm using Twisol's plugger which changes the file path for require("").

EDIT: Bwahaha, nevermind, found it in the lua folder :D Now I can copy them at will. But, if there is a way to use Twisol's plugger and still use these modules from their default location in the lua folder, 'twould be very nice :x

Plugger only adds to the path. It should still find everything in the lua/ directory (but things in your plugin's libraries/ directory will have priority in searching).

If that's not working, can you paste the contents of your copy of Plugger?

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Thu 10 Mar 2011 09:58 AM (UTC)  quote  ]

Amended on Thu 10 Mar 2011 09:59 AM (UTC) by Nick Gammon

Message
Quote:
Is there a list of all the available modules which can be included as a require("module") ...


Some of them are here:

http://mushclient.com/modules

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


1,750 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

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

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]