mIRC Home    About    Download    Register    News    Help

Print Thread
#200897 14/06/08 02:08 PM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
I have aop access and I would like for chanserv on dalnet to auto invite me when I try to login on a channel that is set +i ??

Last edited by bcancer; 14/06/08 05:31 PM.
bcancer #200914 14/06/08 06:14 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Check chanservs options for DalNet. I'm currently unable to check what they are and incorporate chanserv's invite command into your Perform or an ON CONNECT event that is set for DalNet.

RusselB #201151 21/06/08 04:59 AM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
I dont need for on connect, I want chanserv to invite me when am trying to join a channel that is set on invite only.

bcancer #201152 21/06/08 05:53 AM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
Code:
; chan is invite only: set a variable temporary (5seconds) to identify this chan. tell chanserv to invite you.
raw 473:*: { 
  set -eu5 $+(%,cs.invite.,$scid,.,$2) on
  msg chanserv invite $2
}

; you have been invited into (one of the) chans you wanted to join: join the chan (overriding setting at options-irc).
on *:invite:#: {
  if ($($+(%,cs.invite.,$scid,.,$chan))) { join $chan }
}

; you joined that a channel: unset the identifying variable immediately.
on me:*:join:#:{ 
  if ($($+(%,cs.invite.,$scid,.,$chan))) { unset $+(%,cs.invite.,$scid,.,$chan)) }
}

hope it works on your ircd, too smile

Horstl #201155 21/06/08 10:01 AM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
thx Horstl it works fine :P


Link Copied to Clipboard