Akick protection/remove script

Old posts that have not been replied to for several years.
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Sir_Fz wrote:If /msg chanserv (or chanserv@something) works on your server then try to use

Code: Select all

"PRIVMSG ChanServ :akick $chan del $::botnick"
instead.
Actually it should be:

Code: Select all

putserv "PRIVMSG chanserv@services.server.name :akick $chan del $::botnick"

#Like on DALnet:
putserv "PRIVMSG chanserv@services.dal.net :akick $chan del $::botnick"
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

It's not the same on all servers. besides, I wrote:
If /msg chanserv (or chanserv@something) works on your server then try to use
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well, yea it depends upon the IRCd's you use I guess, but with bahamut1.8.3, anope1.7.x, ircserivces5.x or greater this should be the case.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Thunderdome
Op
Posts: 187
Joined: Tue Mar 15, 2005 4:42 pm

Post by Thunderdome »

I think ptnet developed their own softare with basis on some other... :|

Code: Select all

(SNotice) *** For your security use '/ChanServ <command>' or '/quote ChanServ <command>' instead.
This still appears. I think I can't do /msg chanserv, but /chanserv only... :(
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

:idea: putserv "chanserv ..." :idea:
photon?
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Maybe these strange services are case-sensitive :P just a thought, try

Code: Select all

putserv "ChanServ :...."
instead of CHANSERV.
User avatar
Thunderdome
Op
Posts: 187
Joined: Tue Mar 15, 2005 4:42 pm

Post by Thunderdome »

Code: Select all

bind kick - * akick:remove 

proc akick:remove {nick uhost hand chan targ rsn} { 
 if {[isbotnick $targ] && [string equal -nocase "chanserv" $nick]} { 
   putserv "ChanServ suporte@PTnet.org :akick $chan del $::botnick" 
 } 
}

I only read ya message now, but I tough the same thing...
:)
And damn, this should work!
But noooo... argh!

Code: Select all

(SNotice) *** For your security use '/ChanServ <command>' or '/quote ChanServ <command>' instead.
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

i doubt that suporte@PTnet.org is the command
photon?
User avatar
Thunderdome
Op
Posts: 187
Joined: Tue Mar 15, 2005 4:42 pm

Post by Thunderdome »

Code: Select all

bind kick - * akick:remove 

proc akick:remove {nick uhost hand chan targ rsn} { 
 if {[isbotnick $targ] && [string equal -nocase "chanserv" $nick]} { 
   putserv "ChanServ :akick $chan del $::botnick" 
 } 
}
Won't work either...
Last edited by Thunderdome on Sat Jul 16, 2005 11:02 am, edited 1 time in total.
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

putserv "ChanServ command :arg1 arg2 ..."
photon?
User avatar
Thunderdome
Op
Posts: 187
Joined: Tue Mar 15, 2005 4:42 pm

Post by Thunderdome »

nothing of this works... :|
Why? I really don't understand...
Locked