This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Help for those learning Tcl or writing their own scripts.
ORATEGOD
Halfop
Posts: 42 Joined: Mon Jun 08, 2020 5:50 pm
Post
by ORATEGOD » Mon Oct 17, 2022 8:36 pm
Greetings friends, it is possible to transform this *.mrc into a TCL for an eggdrop on IRCops level
Code: Select all
######################
# 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
simo
Revered One
Posts: 1107 Joined: Sun Mar 22, 2015 2:41 pm
Post
by simo » Tue Oct 18, 2022 8:25 am
ORATEGOD
Halfop
Posts: 42 Joined: Mon Jun 08, 2020 5:50 pm
Post
by ORATEGOD » Tue Oct 18, 2022 2:59 pm
Thank you .... for the dimension .... I will keep it in mind for future messages
(excuse my bad english)
ORATEGOD
Halfop
Posts: 42 Joined: Mon Jun 08, 2020 5:50 pm
Post
by ORATEGOD » Tue Oct 18, 2022 3:18 pm
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 -
CrazyCat
Revered One
Posts: 1304 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Tue Oct 18, 2022 5:28 pm
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: Select all
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"
}