Mercurial > wow > breuesk
diff Core.lua @ 30:7b01c9b2b411
"nuke" command and implementation
author | John@Yosemite-PC |
---|---|
date | Sun, 11 Mar 2012 17:47:59 -0400 |
parents | eb3a3f69559e |
children | d27c28e5f964 |
line wrap: on
line diff
--- a/Core.lua Sun Mar 11 17:47:26 2012 -0400 +++ b/Core.lua Sun Mar 11 17:47:59 2012 -0400 @@ -85,6 +85,13 @@ else bsk:Print(sformat("Deleting anything of type %s is not supported",param[2])) end + elseif param[1] == "nuke" then + if param[2] == nil or param[2] == "" then + bsk:PrintTable(param) + return + end + local person = FixPersonName(param[2]) + bsk:NukePerson(person) elseif param[1] == "add" then if param[2] == nil or param[2] == "" then bsk:PrintTable(param)