Plugin Project

Posted by Caelen on Fri 25 Feb 2011 11:08 PM — 4 posts, 23,310 views.

#0
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?
#1
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
Amended on Thu 10 Mar 2011 07:20 AM by Caelen
USA #2
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?
Amended on Thu 10 Mar 2011 08:55 AM by Twisol
Australia Forum Administrator #3
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