PDA

View Full Version : Autojoining channels with password?


Justme
17-11-2006, 08:07 PM
As the title says, how do I do it? :)

When i log on, I get a message saying;

Wrong password for 1. Blahblah 113062889

=/

I just need a command for it to autojoin WITH password.. I know it's possible to just write /join Blahblah PASSWORD, but I'd like it to connect auto (Yes, I'm lazy) :)

Oh, and I don't want any addons doing it for me, got enough already.

Thanks in advance =)

zkajan
17-11-2006, 08:46 PM
make a macro that says
/join blahblahah password
then drag the icon for it somewhere on your bar, click it when you log on

Justme
19-11-2006, 06:11 PM
make a macro that says
/join blahblahah password
then drag the icon for it somewhere on your bar, click it when you log on

Actually, I logged on today and it logged right in =/
Weird ****..

Lezwyn
19-11-2006, 06:54 PM
I don't know why you'd need protected channels for something else than mods anyway and with mods you can usually set options for autojoining the channel.

zkajan
21-11-2006, 04:48 PM
Actually, I logged on today and it logged right in =/
Weird ****..

if there is a password protected channel and everyone that's in it logs out, the password goes away

dualaud
01-10-2007, 07:50 PM
ok, i am desperately searching this option.

the thing is that in our guild we'd like to have a seperate channel for the guildleaders (not /o), so they are able to chat there.

is there an addon which logs in to, say password protected channel XX at login of the char, and, if the channel doesn't exist, creates it?

i found AutoJoin but it is outdated, and i am not able to modify the script to work with 2.2.
this is whats in the script:

--[[

AutoJoin: Automatically joins you to a custom channel upon login.

Author: Krellmax
Created: 2005-07-23
Updated: 2005-08-01

]]

myChannel = "Channelnamehere";
myWindow = "Private";

--------------------------------------------------------------------------------------------------
-- Internal functions
--------------------------------------------------------------------------------------------------

local function autojoin()

if (DEFAULT_CHAT_FRAME) then

JoinChannelByName(myChannel, nil, DEFAULT_CHAT_FRAME:GetID());
ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, myChannel);

for i=1,NUM_CHAT_WINDOWS do
local windowName = GetChatWindowInfo(i);
if (windowName == myWindow) then
local chatFrame = getglobal("ChatFrame"..i)
if (chatFrame) then
ChatFrame_AddChannel(chatFrame, myChannel)
end
break;
end
end

end

end

--------------------------------------------------------------------------------------------------
-- Event handlers
--------------------------------------------------------------------------------------------------

function AutoJoin_OnLoad()

this:RegisterEvent("ZONE_CHANGED_NEW_AREA");

if (DEFAULT_CHAT_FRAME) then
DEFAULT_CHAT_FRAME:AddMessage("AutoJoin loaded");
end

end

function AutoJoin_OnEvent()

if (event == "ZONE_CHANGED_NEW_AREA") then
autojoin();
this:UnregisterEvent("ZONE_CHANGED_NEW_AREA");
end

end

just in case anyone can work with that.

thanks for your help,
if there is any place else i can look for information or help concerning this, i'd be grateful if you could point me towards it.
please excuse my english; i'm not a native speaker. ;)

cheers,
dualaud