egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Aid in this tcl of anti-inviters

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Arnold_X-P
Master


Joined: 30 Oct 2006
Posts: 221
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Tue Oct 31, 2006 12:10 am    Post subject: Aid in this tcl of anti-inviters Reply with quote

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.. Sad 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 Smile

Code:

###############################################################################################
########################################## 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)
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Oct 31, 2006 3:38 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Oct 31, 2006 9:00 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber