Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --pattern: ^astro(?:| (\w+))$
- local bank = matches[2]:lower()
- local nums = gmcp.IRE.Time.List.year
- if bank == nil then
- echo("ASTRO FOCUS - Automatically Focuses the appropriate celestial body.\nASTRO <target>/ME - Empowers you or your target.\nASTRO STAT - Shows the current atronomical alignment.")
- elseif bank == "me" then
- send("astronomy empower me")
- elseif bank == "stat" or bank == "status" then
- send("astronomy status")
- elseif bank == "focus" then
- if tonumber(nums % 2) == 0 then
- send("astronomy focus ethian")
- elseif tonumber(nums % 2) ~= 0 then
- send("astronomy focus sun")
- end
- else
- WhoHereTable = {}
- for k, v in pairs(gmcp.Room.Players) do
- if gmcp.Room.Players[k].name ~= gmcp.Char.Status.name then
- table.insert(WhoHereTable, gmcp.Room.Players[k].name)
- table.insert(WhoHereTable, gmcp.Room.AddPlayer[k].name)
- table.remove(WhoHereTable, gmcp.Room.RemovePlayer[k].name)
- if contains(WhoHereTable, bank) then
- send("astronomy empower"..bank)
- else
- echo(""..bank.." cannot be empowered.")
- break
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement