27 lines
482 B
Python
27 lines
482 B
Python
#! /usr/bin/python
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Mar 14, 2010 7:17:57 PM$"
|
|
|
|
import ocarina
|
|
|
|
from ct import plugin
|
|
from ct.message import write
|
|
|
|
class Plugin(plugin.Plugin):
|
|
def __init__(self):
|
|
plugin.Plugin.__init__(self)
|
|
self.minarg = 1
|
|
|
|
|
|
def run(self,args):
|
|
for arg in args:
|
|
arg = arg.lower()
|
|
if arg == "events":
|
|
write(ocarina.events.keys())
|
|
elif arg == "plugins":
|
|
write(ocarina.plugins.keys())
|
|
elif arg == "vars":
|
|
write(ocarina.vars.keys())
|
|
|