diff --git a/shortutils.py b/shortutils.py index b98444b..b3e2cea 100644 --- a/shortutils.py +++ b/shortutils.py @@ -38,3 +38,13 @@ def next(phenny, input): phenny.say("Another satisfied customer. Next!") next.commands = ['next'] + +def pil(phenny, input): + """Lua Manual link""" + for x in phenny.bot.commands["high"].values(): + if x[0].__name__ == "aa_hook": + if x[0](phenny, input): + return + phenny.say("Someone thinks you need to brush up on or learn Lua, please go to: http://lua.org/pil/") + +pil.commands = ['pil']