mIRC Homepage
Posted By: Yogi8156 Irc key - 02/02/05 11:37 PM
some irc server's and room u need a key to enter the room. U have to type in /join #room {Key}. This should be built into to mirc for easy acess.
Posted By: LostServ Re: Irc key - 03/02/05 12:18 AM
You have to know the key, mIRC can't just look it up for you. Thats the whole point of a 'keyed' room. /join #channel key is how you enter the keyed room's with mIRC.
Posted By: Yogi8156 Re: Irc key - 03/02/05 07:32 AM
I do know the key, I am just saying that a key feild should be entered. Like u goto add a new channel to your list, U should be able to use use the key just like it saves the password for u. All I do not wanna do is enter the key in everytime I enter the room. Mirc save the nick name password for the room, why not the key too.
Posted By: LostServ Re: Irc key - 03/02/05 07:38 AM
because the key can be removed probably, anyway:

Say #chatzone was the channel, well add this to your remote section (ALT+R)
Code:
alias chatzone {
  join #chatzone key
}

Then you would type /chatzone and it would work smile

You can modify it to fit your needs, chatzone is the command you would type, and there must be a space between alias the word/command and that {. Then below is the command that will happen once '/chatzone' is typed. You don't have to prefix it with a '/' in scripting.
Posted By: Skip Re: Irc key - 03/02/05 10:22 AM
mIRC already allows you to enter the key/password in the favourite channels dialog.
Posted By: Vash_The_Sampede Re: Irc key - 04/02/05 02:00 AM
Try this codes

Code:
 
raw 475:*:{
  .timer 1 1 chanislocked $2
  haltdef
}

alias chanislocked {
  if ($($+(%,chan.,$1),2) == $null || $($+(%,chan.,$1),2) == "") {
    set %tempkey $?="The $1 is locked with a key. $ctrl $+ If you know the kay $ctrl $+ please enter it:"
    if (%tempkey != $null && %tempkey != "") {
      set $+(%,chan.,$1) %tempkey
      set %lastchanusedkey $1
      .timer 1 10 unset %lastchanusedkey
      join $1 %tempkey
    }
  }
  else {
    if (%lastchanusedkey == $1) {
      set %tempkey $?="The $1 key ( $+ $($+(%,chan.,$1),2) $+ ) is not correct, please enter another key:"
      if (%tempkey != $null && %tempkey != "") {
        set $+(%,chan.,$1) %tempkey
        set %lastchanusedkey $1
        .timer 1 10 unset %lastchanusedkey
        join $1 %tempkey
      }
    }
    else {
      set %lastchanusedkey $1
      .timer 1 10 unset %lastchanusedkey
      join $1 $($+(%,chan.,$1),2)
    }
  }
  unset %tempkey
}
 
Posted By: Hrung Re: Irc key - 04/02/05 03:28 AM
Quote:

set %tempkey $?="The $1 is locked with a key. $ctrl $+ If you know the kay $ctrl $+ please enter it:"


I believe you meant to use $crlf, not $ctrl
© mIRC Discussion Forums