changeset 21 | bc5d611e6d6f |
parent 20 | d6c602aaa231 |
child 33 | 50aa4b0d63c1 |
20:d6c602aaa231 | 21:bc5d611e6d6f |
---|---|
32 return os.date() |
32 return os.date() |
33 end |
33 end |
34 end |
34 end |
35 |
35 |
36 mcbot_register_command("date", date) |
36 mcbot_register_command("date", date) |
37 |
|
38 |
|
39 local help = { ["desc"] = "Display the available commands" } |
|
40 function help.cmd (args) |
|
41 return "I can't help you, buddy" |
|
42 end |
|
43 |
|
44 mcbot_register_command("help", help) |