www.ClassicTW.com
http://classictw.com/

Astrochimp's Lonestar's Corporate Planet Lister
http://classictw.com/viewtopic.php?f=15&t=34123
Page 1 of 1

Author:  Astrochimp [ Sun Sep 15, 2013 10:19 am ]
Post subject:  Astrochimp's Lonestar's Corporate Planet Lister

I edited this Lonestar script that lists corporate planets by sector, which is much nicer to look at than the native TL command.

Mainly, I made it bottable, but I made a couple other changes as well, which are all tracked in the source code comments. It's tested using Z-bot but it should also work with Mombot.

To install in z-bot:
1. Save attached file to desired location, usually %twx%/scripts/acTL_v09.ts (where %twx% is your twx root folder), but you may want to save to a mombot folder instead if you want the option of using it with Mombot, in which case you should (edit:) use the compiled version (.cts) and probably also rename the file to TL.cts instead of acTL_v09.cts.
2. Add an entry to the EXTERNAL BOT SCRIPTS section of your z-Options.cfg as follows (replace the path if appropriate):
Code:
SCRIPT:  DATA        tl              scripts\acTL_v09.ts

3. Reset z-bot.

To run it, use the '>' then type tl, or tl help for detailed usage.

Comments and suggestions are welcome.

Edit: I guess I should probably remove the ss parameter and make it decide what to do based on whether the script was started via sub-space or not.

Attachments:
acTL_v09.cts [31.93 KiB]
Downloaded 641 times
acTL_v09.ts [20.81 KiB]
Downloaded 656 times

Author:  Comet [ Sun Sep 15, 2013 4:55 pm ]
Post subject:  Re: Astrochimp's Lonestar's Corporate Planet Lister

mombot/modes/resource. I renamed it to tl.ts and it's not coming up. Anything you can advise on what to do?

Author:  mob [ Sun Sep 15, 2013 6:39 pm ]
Post subject:  Re: Astrochimp's Lonestar's Corporate Planet Lister

You need to compile it to *.CTS format. M()mbot does not recognize *.TS

Author:  Astrochimp [ Mon Sep 16, 2013 4:51 pm ]
Post subject:  Re: Astrochimp's Lonestar's Corporate Planet Lister

I've added a compiled version to the original post.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/