Finished up addcom/delcom. Added comlist. Fixed @list commands (still needs to sort by command name eventually).
This commit is contained in:
parent
e1f4c2e0da
commit
c7452e5a88
7 changed files with 115 additions and 54 deletions
|
|
@ -6,6 +6,7 @@ import functions_general
|
|||
import commands_general
|
||||
import commands_unloggedin
|
||||
import cmdhandler
|
||||
|
||||
import session_mgr
|
||||
import ansi
|
||||
import defines_global
|
||||
|
|
@ -88,7 +89,7 @@ def cmd_list(cdat):
|
|||
if len(argstr) == 0:
|
||||
session.msg(msg_invalid)
|
||||
elif argstr == "commands":
|
||||
session.msg('Commands: '+' '.join(functions_general.command_list()))
|
||||
session.msg('Commands: '+ ' '.join(session.server.command_list()))
|
||||
elif argstr == "process":
|
||||
loadvg = os.getloadavg()
|
||||
psize = resource.getpagesize()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue