mcbot/cmds/bofh.lua
changeset 67 5c756a9d7d8c
parent 23 491f7d046353
equal deleted inserted replaced
66:d9c00a9fe9d5 67:5c756a9d7d8c
     1 
     1 
     2 local excusefile = "/home/mikael/.mcabber/lua/mcbot/bofh_excuses.txt"
     2 local home = os.getenv("HOME")
       
     3 local excusefile = home.."/.mcabber/mcabbot/mcbot/bofh_excuses.txt"
       
     4 home = nil
     3 
     5 
     4 local bofh = { ["desc"] = "Give a BOFH excuse",
     6 local bofh = { ["desc"] = "Give a BOFH excuse",
     5                ["aliases"] = { "excuse" } }
     7                ["aliases"] = { "excuse" } }
     6 
     8 
     7 function bofh.cmd (args, botdata, cmd)
     9 function bofh.cmd (args, botdata, cmd)