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 69 matches

by Souperman
Sun Jan 25, 2004 5:05 pm
Forum: Archive
Topic: "[ ]"s in .tcl script
Replies: 1
Views: 861

Try "*\[away\]*". Also, read http://www.peterre.com/characters.html.
by Souperman
Thu Jan 22, 2004 2:28 pm
Forum: Archive
Topic: Kicking nicknames with brackets in them
Replies: 23
Views: 8400

strikelight wrote:lrange returns a (sub)list, and from my understanding, $reason is supposed to be a string... as such you need to apply the join tcl command to the result to make it into a proper string.
Yup, you also have to [split] it before using [lrange] on it, like caesar says.
by Souperman
Fri Jan 16, 2004 8:20 am
Forum: Archive
Topic: special characters in chan names
Replies: 7
Views: 3118

Please be more specific. What changes have you made (preferably paste the script again)? Can you paste the output on the partyline, if any?
by Souperman
Fri Jan 16, 2004 2:32 am
Forum: Archive
Topic: special characters in chan names
Replies: 7
Views: 3118

In proc cssup you still have a few "[lindex $arg 0]" instead of "[lindex [split $arg] 0]". You also have an lrange a little after that which probably needs to be converted back into a string using join, i.e. "set msg [join [lrange [split $arg] 0 end]]". Incidentally, th...
by Souperman
Wed Dec 31, 2003 3:17 am
Forum: Archive
Topic: Permissions
Replies: 5
Views: 2256

HuH.I think this is deep in linux.I dont think is so easy to change.... Actually it's trivially easy to change ... when you type a command into your shell (bash, csh, tcsh, etc), it looks for the program in each directory listed in the PATH environment variable. The reason you have to run a lot of ...
by Souperman
Wed Dec 24, 2003 4:45 pm
Forum: Archive
Topic: newbie help with tcl scripting
Replies: 7
Views: 1842

bind join - * procname proc procname {nick uhost hand chan} { if {[string match "*@*.staff.*" $uhost]} { puthelp "PRIVMSG $nick :message for people with the staff host" } else { puthelp "PRIVMSG $nick :message for everyone else" } } Read the Tcl "string" manu...
by Souperman
Tue Dec 23, 2003 5:54 am
Forum: Archive
Topic: (Connection refused,111) n00b :) please read
Replies: 13
Views: 4800

Try connecting to ircnet using an IRC client on your shell. If it works you know it's an eggdrop issue. If it doesn't work you know it's something you need to discuss with your shell server's admin.
by Souperman
Tue Dec 23, 2003 5:35 am
Forum: Archive
Topic: How can I make bot not to kick ANYONE for flood?
Replies: 3
Views: 1182

If you want it to do logging and absolutely nothing else, why even bother giving it ops?
by Souperman
Mon Dec 15, 2003 9:37 am
Forum: Archive
Topic: MSSQL database connector
Replies: 2
Views: 996

This is a wild guess, based on the fact that one uses the Syabse functions in PHP to access MSSQL databases on *nix platforms.

Perhaps you could use Sybtcl to do the same in Tcl ... http://sourceforge.net/projects/sybtcl.
by Souperman
Sat Dec 06, 2003 6:29 pm
Forum: Archive
Topic: Mailing notes using smtp server (windrop)
Replies: 5
Views: 1640

Try using blat.
by Souperman
Wed Dec 03, 2003 2:56 am
Forum: Archive
Topic: tclscript blocks bot
Replies: 9
Views: 2488

CrazyCat wrote:

Code: Select all

switch [string tolower $args] {
Try and get out of that habit before it causes your problems. $args is a list, 'string' is for strings. Read http://www.peterre.com/characters.html as many times as it takes to understand it.
by Souperman
Mon Dec 01, 2003 6:31 am
Forum: Archive
Topic: voice ppl with a certan nick
Replies: 5
Views: 2229

You might want to use 'string match -nocase ...' to make sure it's case insensitive. ;)
by Souperman
Mon Dec 01, 2003 6:23 am
Forum: Archive
Topic: reverse script
Replies: 3
Views: 1811

use string functions: bind pub - "!reverse" reverse proc reverse {nick uhost handle chan args} { if {[string length $args] == 0} { return 0 } set new "" for { set len 0} {$len < [string length $args]} {incr len} { set pos {[string length $args] - $len} append new [string range $...
by Souperman
Fri Nov 28, 2003 6:22 am
Forum: Archive
Topic: !ping
Replies: 16
Views: 6556

Sir_Fz wrote:Souperman's ping.tcl works just fine. lol
The latest version works. Older versions had various bugs which would affect some bots. Hopefully I've thought of everything and there will be no more bugs ;)
by Souperman
Thu Nov 13, 2003 3:00 am
Forum: Archive
Topic: Trying to figure out a minor change
Replies: 7
Views: 2478

I'll be updating the archive again today. I do the updates manually, and believe it or not, it takes about an hour just to add seven or eight scripts. I've been working on an automated "self-serve" type of system which should be much more efficient and will allow for more frequent updates...