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.

Search found 19 matches

by Damnation85
Fri Jan 07, 2005 4:15 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

its k, the 3 options is in the public comand which then passes its varibles to the msg command so that i don't duplicate code.the 4 check is in the msg code (chan being one of the checks) thanx for your help i am slowly tackling your snippets and making them work for me, and learning to understand t...
by Damnation85
Fri Jan 07, 2005 3:54 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

*looks at answer with boggled eyes* ok i think i'll have a play with that so i learn to understand it and yes i can see what your point is there on the ||'s only really need the one because if there isn't 3 options typed or even 4 options it will always fail, but still need to check the others for s...
by Damnation85
Fri Jan 07, 2005 3:49 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

if { ![string is int $level] } { array set matches {chanvoice chanvoice chanop chanop chanmaster chanmaster chanowner chanowner} if {[info exists matches($level)]} { puthelp "NOTICE $nick :Its: $svbot($matches($level))" set level $svbot($matches($level)) puthelp "NOTICE $nick :Its: $...
by Damnation85
Fri Jan 07, 2005 3:43 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

will try what u just stated in 1 sec the arg is created via 2 ways public command adduser user host level or msg adduser chan user host level although i asked a stupid damn question just not i don't need to check the if integer or not i just need to let it through on the integer and if its a string ...
by Damnation85
Fri Jan 07, 2005 3:25 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

i don't know if this was the correct way but it works at least. set level [lindex $arg 3] if {[lindex $arg 0] == "" || [lindex $arg 1] == "" || [lindex $arg 2] == "" || [lindex $arg 3] == ""} { puthelp "NOTICE $nick :Format: /msg <BOTNICK> ADDUSER \00315<...
by Damnation85
Fri Jan 07, 2005 2:46 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

nothing really i sorta worked out the answer to the string/integ problem as i wrote the post. although your method looks cleaner than mine i think i might toy with that a little thank you for that example and thank you for the trivia part they both make perfect sense. i am quite enjoying coding in t...
by Damnation85
Fri Jan 07, 2005 12:08 pm
Forum: Archive
Topic: String matching
Replies: 10
Views: 2180

String matching

Hello once again.... i am coding a adduser code for my bot and the commands being set of levels ie 100 250 etc etc but i also want to assign these levels to wordss like chanvoice etc i want to know whats the most efficient way of doing this so when a staff member types /msg <botnick> adduser <chan> ...
by Damnation85
Fri Jan 07, 2005 4:09 am
Forum: Archive
Topic: script for bot to send commands to irc (chanserv nickserv)
Replies: 16
Views: 3979

this may seem stupid but this is what i did....
i did /nick altered my name to the bots name (when it was offline)

registered its nick. then updated the nickserv code that identifies it. then loaded the bot. and all works fine for me : o)
by Damnation85
Thu Jan 06, 2005 7:11 pm
Forum: Archive
Topic: windop.tcl
Replies: 7
Views: 2702

i've given up on basing on somone elses code i am going to take a shot at coding it myself i have been looking through source looking at what people do and i have seen several of these if { $host == "*" } { return 0 } what is happening here? i can see that if the host of the user is * retu...
by Damnation85
Thu Jan 06, 2005 12:37 pm
Forum: Archive
Topic: windop.tcl
Replies: 7
Views: 2702

unfortunatly i don't remember but nodesynch = - and bitch protectfriends +ops dontkickops as well is a + but it hasn't done it in a few days so maybe i changed a setting and fixed that. i have been tracking down the login bug and i am a lil confused here for example lets say my login should be Damna...
by Damnation85
Thu Jan 06, 2005 4:17 am
Forum: Archive
Topic: Ban masks
Replies: 4
Views: 1909

well to answer you both.

User: Your tweaked mc_8 code without the bugs was, what i was pointing to. being torn apart and commented.

awyeah: I can see from what you have put the different syntax used for each type of ban mask which was helpful. thank you.

thank you both for your help so far : o)
by Damnation85
Wed Jan 05, 2005 11:51 am
Forum: Archive
Topic: windop.tcl
Replies: 7
Views: 2702

if {![passwdok $user ""]} { if {![passwdok $user $pass]} { puthelp "NOTICE $nick :[Svbot:lang $hand 19 "$user"]" setuser $user xtra Svbot:auth 0 delhost $user "[getuser $user xtra Svbot:authnick]!*[Svbot:notild [getuser $user xtra Svbot:authhost]]" setuser $u...
by Damnation85
Wed Jan 05, 2005 9:13 am
Forum: Archive
Topic: windop.tcl
Replies: 7
Views: 2702

well i haven't had it today since i changed some channel settings i proberly had +bitch on or somthing not sure, but when chanserv oped somone the bot tried to deop/kick or somthing. i would see the message from the services saying that they cannot be deoped or kicked in the dcc chat with the bot. i...
by Damnation85
Wed Jan 05, 2005 7:48 am
Forum: Archive
Topic: Ban masks
Replies: 4
Views: 1909

Ban masks

i was wondering if somone could take the ban mask code from the linked topic below and tear it apart and comment it line by line stating what each line does and how it does it so that i and proberly many others can learn from the techniques used within the tcl well if anyone can, i'd be grateful as ...
by Damnation85
Wed Jan 05, 2005 6:38 am
Forum: Archive
Topic: windop.tcl
Replies: 7
Views: 2702

windop.tcl

i have been looking through the source of windop.tcl and modifing it to work how i want. i have contacted the author of the script and he has given me loads of help. unfortunatly he has become busy it seems so could anyone explain: if {[strlwr $chan] == "*"} { set chan "owner" } ...