evennia.contrib.ingame_python.commands

Module containing the commands of the in-game Python system.

class evennia.contrib.ingame_python.commands.CmdCallback(**kwargs)[source]

Bases: evennia.commands.default.muxcommand.MuxCommand

Command to edit callbacks.

key = '@call'
aliases = ['@calls', '@callbacks', '@callback']
locks = 'cmd:perm(developer)'
help_category = 'building'
get_help(caller, cmdset)[source]

Return the help message for this command and this caller.

The help text of this specific command will vary depending on user permission.

Parameters
  • caller (Object or Account) – the caller asking for help on the command.

  • cmdset (CmdSet) – the command set (if you need additional commands).

Returns

docstring (str) – the help text to provide the caller for this command.

func()[source]

Command body.

list_callbacks()[source]

Display the list of callbacks connected to the object.

add_callback()[source]

Add a callback.

edit_callback()[source]

Edit a callback.

del_callback()[source]

Delete a callback.

accept_callback()[source]

Accept a callback.

list_tasks()[source]

List the active tasks.

lock_storage = 'cmd:perm(developer)'
search_index_entry = {'aliases': '@calls @callbacks @callback', 'category': 'building', 'key': '@call', 'tags': '', 'text': '\n Command to edit callbacks.\n '}