mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 17:26:32 +01:00
Added /flushmem switch to the server command to incur the idmapper flushing.
This commit is contained in:
parent
e7e50039d7
commit
4b8ed234fd
3 changed files with 20 additions and 5 deletions
|
|
@ -81,6 +81,13 @@ class ScriptHandler(object):
|
|||
num += script.start()
|
||||
return num
|
||||
|
||||
def get(self, scriptid):
|
||||
"""
|
||||
Return one or all scripts on this object matching scriptid. Will return
|
||||
a list.
|
||||
"""
|
||||
return ScriptDB.objects.get_all_scripts_on_obj(self.obj, key=scriptid)
|
||||
|
||||
def delete(self, scriptid=None):
|
||||
"""
|
||||
Forcibly delete a script from this object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue