commit
8bd87fa977
|
@ -91,4 +91,5 @@ Required arguments are enclosed in { and }, optional arguments are enclosed in \
|
|||
<tr> <td>!rtfm</td> <td>Give links to wiki and dev wiki</td> <td>Anyone</td> </tr>
|
||||
<tr> <td>!questions</td> <td>Link to ESR's "How to ask smart questions"</td> <td>Anyone</td> </tr>
|
||||
<tr> <td>!next</td> <td>Say: "Another satisfied customer. Next!"</td> <td>Anyone</td> </tr>
|
||||
<tr> <td>!pil</td> <td>Say: "Link to: http://lua.org/pil/"</td> <td>Anyone</td> </tr>
|
||||
</table>
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue