Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Author : Scott
- -- Create Date : 6/15/2010 1:25:25 PM
- SLASH_INCSHOW1 = '/inc';
- local function handler(msg)
- if msg == 'show' then
- IncomingMainFrame:Show();
- elseif msg == 'hide' then
- IncomingMainFrame:Hide();
- else
- print("Allowed Variables: show, hide");
- end
- end
- SlashCmdList["INCSHOW"] = handler;
- function Inc1_OnClick()
- SendChatMessage("1 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function Inc2_OnClick()
- SendChatMessage("2 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function Inc3_OnClick()
- SendChatMessage("3 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function Inc4_OnClick()
- SendChatMessage("4 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function Inc5_OnClick()
- SendChatMessage("5 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function Inc6_OnClick()
- SendChatMessage("6 Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function IncBig_OnClick()
- SendChatMessage("BIG Inc " .. GetMinimapZoneText(), "BATTLEGROUND", "Common", "");
- end
- function IncSafe_OnClick()
- SendChatMessage(GetMinimapZoneText() .. " safe! :)", "BATTLEGROUND", "Common", "");
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement