24 lines
377 B
Python
24 lines
377 B
Python
# Basic plugin class
|
|
|
|
__author__="bjschuma"
|
|
__date__ ="$Feb 21, 2010 11:06:41 PM$"
|
|
|
|
|
|
from bt import plugin
|
|
from bt.message import write
|
|
|
|
|
|
class Plugin(plugin.Plugin):
|
|
def __init__(self):
|
|
plugin.Plugin.__init__(self)
|
|
self.help = "Print text to the screen"
|
|
|
|
|
|
def run(self, args=None):
|
|
if args == None:
|
|
return
|
|
join = ' '
|
|
message = join.join(args)
|
|
write(message)
|
|
|