mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
First make of a testing method for oob
This commit is contained in:
parent
e6c1ab3df8
commit
a9cf081494
1 changed files with 3 additions and 0 deletions
|
|
@ -311,3 +311,6 @@ def unreport(oobhandler, session, vartype="prop", *args, **kwargs):
|
|||
else: # assume attribute
|
||||
oobhandler.untrack_attribute(obj, session.sessid, key)
|
||||
|
||||
def echo(oobhandler, session, *args, **kwargs):
|
||||
"Test function, returning the args, kwargs"
|
||||
session.msg(oob=("send", args, kwargs))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue