Pluseins plugin
This commit is contained in:
12
pluseins.py.dir/plugin.py
Normal file
12
pluseins.py.dir/plugin.py
Normal file
@@ -0,0 +1,12 @@
|
||||
class PluseinsPlugin(PythonPlugin):
|
||||
def onEnable(self):
|
||||
pass
|
||||
|
||||
def onCommand(self, sender, command, lable, args):
|
||||
eingabe = args[0]
|
||||
zahl = int(eingabe)
|
||||
zahl = zahl + 1
|
||||
ausgabe = str(zahl)
|
||||
self.getServer().broadcastMessage("Das Ergebnis ist " + ausgabe
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user