add !pil
it links to the Programming in Lua manual for users who do not or plainly understand (the oddities) of Luamaster
parent
13c878de80
commit
fd1a0ea78b
|
@ -38,3 +38,13 @@ def next(phenny, input):
|
||||||
phenny.say("Another satisfied customer. Next!")
|
phenny.say("Another satisfied customer. Next!")
|
||||||
|
|
||||||
next.commands = ['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']
|
||||||
|
|
Loading…
Reference in New Issue