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.

Aid in this tcl of anti-inviters

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Aid in this tcl of anti-inviters

Post by Arnold_X-P »

the question is following the friends elaborates one tcl of anti-inviters for channels. the objective of this tcl is the one of not hurling to which they repeat the name of the channel. example if my channel is # dops and I repeat in each short while forces # dops then I want that tcl of bot me boat by inviters... very either I do not believe that not it cerre or tcl fijence by favor. but that sii if anybody digita another then channel that mote of the channel.. :( please help me tnks ..
that if that nonboat to which the name of the channel repeats in which this. if it detects another name of another channel that that tcl boat to the violator I leave the example here them... tnks :)

Code: Select all

###############################################################################################
########################################## DESCRITIÓN ########################################
###############################################################################################
#           Dull to the invitador of your channel Anti Invitations in channels.               #
#                but it does not hurl to which your channel repeats                           #
###############################################################################################

set {@*:TEXT:*:*} {
var {%c = $strip($1-,burc)}
if {(($chr(35) isin %c) && ($chan !isin %c) && ($nick isreg $chan)) { 
putserv "MODE $chan +b $address($nick,2)"
putserv "KICK $chan $nick :Invitations to other channels please that is not prohibited in $chan I detest the invitations >:)"
}

putlog "Anti-inviters by Arnold_X-P has been loaded"
Edit: Changed topic Subject (Sir_Fz)
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

You're not making any sense. And neither does the code you posted. Search the tcl archive for "invite ban"

http://www.egghelp.org/tcl.htm
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

rosc2112 wrote:You're not making any sense. And neither does the code you posted. Search the tcl archive for "invite ban"

http://www.egghelp.org/tcl.htm
It makes no sense because it's some mIRC rubbish with 3 lines of Tcl Arnold_X-P has picked up some where.

Arnold_X-P if you wish to write Tcl then the following you need to read:

Guide to TCL scripting for Eggdrop 1.6
man/tcl8.4/TclCmd/
A beginners guide to TCL with focus on Eggdrop
Eggdrop Tcl Commands
How to write eggdrop scripts that won't choke on special characters
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply