Commit Graph

11 Commits

Author SHA1 Message Date
Dico200
59816b58e2 Almost complete redo of blockplacemods, small fixes
I've redone most of blockplacemods its code. It is now MUCH easier to
expand in the future and I think the code is more elegant and stuff. It
all works the same as before, except the command is now /toggle
<setting>
I've merged the setting for /autotakewater and /autofillcauldron into
one setting named cauldron.
2015-05-14 02:16:33 +02:00
Dico200
0ef318d6b9 Removed a lot of shit from basecommands.py 2015-05-13 21:39:25 +02:00
Dico200
34b59e61fe Revert "Revert "Change to /modules... trying to make @command work.""
This reverts commit da756d69cc.
2015-04-08 22:34:44 +02:00
Dico200
da756d69cc Revert "Change to /modules... trying to make @command work."
This reverts commit 201c766119.
2015-04-08 22:32:54 +02:00
Dico200
201c766119 Change to /modules... trying to make @command work.
@command throws an error when it tries to access current_subs, which
supposedly didn't exist. current_subs stores all subcommands found when
defining the method which @command was added to. (These SHOULD be called
first)
2015-04-08 22:32:14 +02:00
Dico200
f7abc20ca1 Don't even bother. 2015-04-03 02:04:25 +02:00
Dico200
de43b0d0db Added (sub/main)command, removed abot error check
@command is untested.
2015-04-03 02:01:57 +02:00
Dico200
661e25dc67 Some tweaks and updates 2015-03-29 12:48:32 +02:00
Dico200
6590a8d30a Added cmd check to ABOT, commented out advancedcmd
advancedcmd doens't work atm, apparently
function.func_code is a thing but adding co_consts isn't an attribute of
that.

Tested abot, seems to work well.
2015-03-28 16:39:09 +01:00
Dico200
4cfa3a598f Tiny tweaks in basecommands.py 2015-03-26 16:48:54 +01:00
Dico200
75823ed042 Added basecommands.py
Contains @simplecommand and @basecommand
Slightly alterred simplecommand, made both display the command's
required permission when displaying help if the sender has the
permission "utils.showpermission".

Also a small tweak in misc.py's join listener.
2015-03-26 16:44:21 +01:00