Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
<C> ASSS Command List Module

 
Post new topic   Reply to topic Printable version
 View previous topic  <C> LVZHUD Post :: Post <C> cmdlist  View next topic  
Author Message
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Sun Mar 08, 2009 5:12 am    Post subject: <C> ASSS Command List Module Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Mar 08, 2009 6:28 pm    Post subject: Reply to topic Reply with quote

I thought ASSS already had this with the ?man command ?
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Hakaku
Server Help Squatter


Joined: Apr 07 2006
Posts: 299
Location: Canada
Offline

PostPosted: Sun Mar 08, 2009 7:09 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Mon Mar 09, 2009 8:12 am    Post subject: Reply to topic Reply with quote

Oh, in that case, great idea! icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Mon Mar 09, 2009 5:09 pm    Post subject: Reply to topic Reply with quote

:D
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
JoWie
Server Help Squatter


Gender:Gender:Male
Joined: Feb 25 2004
Posts: 215
Offline

PostPosted: Tue Mar 10, 2009 7:23 am    Post subject: Reply to topic Reply with quote

to bad it doesn't use the registered commands using cmdman
Back to top
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Tue Mar 10, 2009 11:26 pm    Post subject: Reply to topic Reply with quote

it doesnt look like thats possible
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Bak
?ls -s
0 in


Age:25
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Mar 11, 2009 2:57 am    Post subject: Reply to topic Reply with quote

it doesn't list the command !cmdlist
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Wed Mar 11, 2009 12:00 pm    Post subject: Reply to topic Reply with quote

why would it need to, since thats its output, meaning you already know it =)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Initrd.gz
Seasoned Helper


Joined: Sep 18 2008
Posts: 134
Location: Over there --->
Offline

PostPosted: Wed Mar 11, 2009 9:24 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Sat Mar 14, 2009 5:22 pm    Post subject: Reply to topic Reply with quote

fixed minor error with bad unload log msg
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Tue Feb 23, 2010 3:36 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Mon Jan 31, 2011 1:14 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Custom Projects All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 295 page(s) served in previous 5 minutes.

phpBB Created this page in 0.445031 seconds : 40 queries executed (90.6%): GZIP compression disabled