Author |
Message |
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Sun Mar 08, 2009 5:12 am Post subject: <C> ASSS Command List Module |
|
|
|
|
I had nothing to do for half an hour, so I made this.
The Command List Module is simple:
Type ?cmdlist to display all core ASSS commands, in a 2 column list:
the command, and a very simple description of its function.
This is quite useful for those who want an in-game reference or for those who simply have trouble remembering all the commands.
Powers are limited by groupdef.
Source attached.
Ideas for future versions:
'?cmdlist A' would display all cmds that begin with A to reduce spam
group-aware programming to hide higher lvl cmds _________________ SSC Distension Owner
SSCU Trench Wars Developer
Command List Module
By Cheese
cmdlist.zip - 19.46 KB
File downloaded or viewed 201 time(s)
Last edited by Cheese on Sun Mar 15, 2009 8:26 pm, edited 2 times in total |
|
Back to top |
|
|
Maverick
Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Sun Mar 08, 2009 6:28 pm Post subject: |
|
|
|
|
I thought ASSS already had this with the ?man command ? _________________
|
|
Back to top |
|
|
Hakaku Server Help Squatter
Joined: Apr 07 2006 Posts: 299 Location: Canada Offline
|
Posted: Sun Mar 08, 2009 7:09 pm Post subject: |
|
|
|
|
Maverick wrote: | I thought ASSS already had this with the ?man command ? |
Well the default ?help command only provides information on a particular command. That is, ?help setship provides information on what the ?setship command does, the targets, and the arguments. But if you don't even know what that command's name is, then it's not very useful, since then you have to search all over for the name. As an example, it would give a significant advantage for staff members (new or old) who aren't familiar with ASSS to know what they can do, since they may not necessarily have access to the groupdef directory, or have a copy of ASSS handy themselves. It's similar to how bots have !help, which lists every command available to that user. (though Cheese's module doesn't yet restrict per-group commands)
|
|
Back to top |
|
|
Maverick
Age:40 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Mon Mar 09, 2009 8:12 am Post subject: |
|
|
|
|
Oh, in that case, great idea!
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Mon Mar 09, 2009 5:09 pm Post subject: |
|
|
|
|
:D
|
|
Back to top |
|
|
JoWie Server Help Squatter
Gender: Joined: Feb 25 2004 Posts: 215 Offline
|
Posted: Tue Mar 10, 2009 7:23 am Post subject: |
|
|
|
|
to bad it doesn't use the registered commands using cmdman
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Tue Mar 10, 2009 11:26 pm Post subject: |
|
|
|
|
it doesnt look like thats possible
|
|
Back to top |
|
|
Bak ?ls -s 0 in
Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Wed Mar 11, 2009 12:00 pm Post subject: |
|
|
|
|
why would it need to, since thats its output, meaning you already know it =)
|
|
Back to top |
|
|
Initrd.gz Seasoned Helper
Joined: Sep 18 2008 Posts: 134 Location: Over there ---> Offline
|
Posted: Wed Mar 11, 2009 9:24 pm Post subject: |
|
|
|
|
You could modify cmdman to have a function that gets the list of commands, but perhaps it could be a security breach (not to mention a pain to use on existing servers), and use their helptext.
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Sat Mar 14, 2009 5:22 pm Post subject: |
|
|
|
|
fixed minor error with bad unload log msg
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Tue Feb 23, 2010 3:36 am Post subject: |
|
|
|
|
recompiled for asss version 1.5
disclaimer:
no changes were made
what this means:
some cmds might now be outdated or obsolete, and new cmds might not be on the list
Command List Module for v1.5
By Cheese
cmdlist.zip - 9.22 KB
File downloaded or viewed 168 time(s)
|
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Mon Jan 31, 2011 1:14 am Post subject: |
|
|
|
|
i will now declare this module to be obsolete, as samapico has taken the time to sit down and make a superior cmdlist module.
|
|
Back to top |
|
|
|