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
➜ Plugin Project
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Caelen
(81 posts) Bio
|
Date
| Fri 25 Feb 2011 11:08 PM (UTC) |
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? | Top |
|
Posted by
| Caelen
(81 posts) Bio
|
Date
| Reply #1 on Thu 10 Mar 2011 07:16 AM (UTC) 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 | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #2 on Thu 10 Mar 2011 08:49 AM (UTC) 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 | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 10 Mar 2011 09:58 AM (UTC) 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 | 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.
17,766 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top