Is there a way I can give my eggdrop the ability to set these extra usermodes? Does anyone know of a script that will do it?
Any help would really be appreciated

I haven't fiddled around with a complete script for this, but :Zammo wrote:I have searched and searched through the forum, help pages, scripts archive and various website looking for any info on how I can get my eggdrop to set +a & +q usermodes on a UnrealIRCd network. I doubt I am the first person to ask this question but my searches have come up with nothing.
Is there a way I can give my eggdrop the ability to set these extra usermodes? Does anyone know of a script that will do it?
Code: Select all
.tcl putserv "mode #channel +a some_nick"
Code: Select all
bind msg A|A protect cmd:protect
proc cmd:protect {nick uhost hand arg} {
global channels
set chan [lindex [split $arg] 0]
foreach c $channels {
if {!([matchattr $hand n|n $chan]) && [string match -nocase $c $chan]} {
return 0
}
}
putserv "OPERSERV MODE $chan +ao $nick"
}
set channels {
"#addchannel"
}
bind msg A|A deprotect cmd:deprotect
proc cmd:deprotect {nick uhost hand arg} {
global channels
set chan [lindex [split $arg] 0]
foreach c $channels {
if {!([matchattr $hand n|n $chan]) && [string match -nocase $c $chan]} {
return 0
}
}
putserv "OPERSERV MODE $chan -ao $nick"
}
set channels {
"#Addchannel"
}
Code: Select all
set channels {
"#Addchannel"
}