View previous topic :: View next topic |
Author |
Message |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 38
|
Posted: Mon Oct 17, 2022 8:36 pm Post subject: it's possible? |
|
|
Greetings friends, it is possible to transform this *.mrc into a TCL for an eggdrop on IRCops level
Code: | ######################
# Restricted channel #
######################
on *:join:#CHAN:{ kill $nick -Restrict channel- (Kill: %totalkill $+ )
.topic #CHAN Restricted channel, DO NOT enter - Total victims: %totalkill
}
inc % %totalkill
}
|
Thank you |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1145 Location: France
|
|
Back to top |
|
 |
simo Revered One
Joined: 22 Mar 2015 Posts: 1051
|
|
Back to top |
|
 |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 38
|
Posted: Tue Oct 18, 2022 2:59 pm Post subject: |
|
|
Thank you .... for the dimension .... I will keep it in mind for future messages
(excuse my bad english) |
|
Back to top |
|
 |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 38
|
Posted: Tue Oct 18, 2022 3:18 pm Post subject: |
|
|
Searching... found a TCL from CrazyCat.
In which +kb is prohibited from entering a channel, my question is if it could be expelled. through KILL a user and add a counter to said expulsion and notify through topic.
- my english is horrible - |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1145 Location: France
|
Posted: Tue Oct 18, 2022 5:28 pm Post subject: |
|
|
Quite stupid script: the channel exists because eggdrop is in it. And your mirc script doesn't protect the user, so eggdrop will kill itself.
Code: | set kcnt 0
bind join - "#blocked" killhim
proc killhim {nick uhost handle chan} {
incr ::kcnt
putserv "KILL $nick :You are the $::kcnt kill"
putserv "TOPIC $chan :Forbidden channel - $::kcnt kills"
} |
_________________ Eggdrop community - French IRC network |
|
Back to top |
|
 |
|