The OnLoad bit would require seeing the xml.
Were you to do this:
SLASH_IncTun1 = "/inct";
SlashCmdList["IncTun"] = EBS_Incoming_Tunnel;
function EBS_Incoming_Tunnel()
SendChatMessage("INCOMING TUNNEL", "RAID");
end
/inct would do nothing (until you ran it twice) because EBS_Incoming_Tunnel is nil at the time of evaluation.
Do this instead:
function EBS_Incoming_Tunnel()
SendChatMessage("INCOMING TUNNEL", "RAID");
end
SLASH_IncTun1 = "/inct";
SlashCmdList["IncTun"] = EBS_Incoming_Tunnel;
If you really have an OnLoad running then your xml is likely bad, causing the frame to not load and the slash commands to not load.
|