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

by WulfMan72
Thu Dec 15, 2005 7:51 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

ahhhhhh perfect, that worked!!!
ty much Fz, I really appreciate the help :)
by WulfMan72
Thu Dec 15, 2005 7:37 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

ok, I shut the bot down completely and restarted it, went to test it again, and now I'm not getting a tcl error, but I'm getting this in the channel as the bots output: \{nickname\}X is not in the channel here's the code as it stands now: bind pub f kick, kick proc kick {nick host hand chan arg} { s...
by WulfMan72
Thu Dec 15, 2005 7:13 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

ok, updated the line for setting the reason variable, and tried to do the .set errorinfo, this is what I got:

#Wulf# set errorinfo
Error: can't read "errorinfo": no such variable
by WulfMan72
Thu Dec 15, 2005 6:58 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

tried that, same error :( here's the revised code just to make sure I did it right: bind pub f kick, kick proc kick {nick host hand chan arg} { set who [lindex [split $arg] 0] set who [string map {\{ \\\{ \} \\\}} $who] set reason [lrange $arg 1 end] if {![onchan $who $chan]} { putchan $chan "$...
by WulfMan72
Thu Dec 15, 2005 6:22 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

bind pub f kick, kick proc kick {nick host hand chan arg} { set who [lindex [split $arg] 0] set reason [lrange $arg 1 end] if {![onchan $who $chan]} { putchan $chan "$who is not in the channel" } else { if {[botisop $chan]} {putkick $chan $who $reason} } return 0 } this code is working fo...
by WulfMan72
Thu Dec 15, 2005 6:10 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

hmmmm tried that Fz, same results, still getting the tcl error.

I'm using a winegg "eggdrop1.6.17"

dunno if that makes a difference, but it also doesn't seem to like the "read" command :?
by WulfMan72
Thu Dec 15, 2005 5:12 pm
Forum: Scripting Help
Topic: {}'s in nick cause tcl error...
Replies: 15
Views: 24913

{}'s in nick cause tcl error...

I'm having an issue with nicks that have {}'s in them an example of the problem comes from nicks like "{nick}X" I used: set who [lindex [split $args] 0] but whenever the nick follows the format listed above, I get the error: Tcl error [kick]: list element in braces followed by "X"...
by WulfMan72
Tue Nov 15, 2005 5:46 am
Forum: Scripting Help
Topic: stripping generic characters from the hostmask
Replies: 2
Views: 8243

ty ty :D
I really appreciate the reply demond
by WulfMan72
Mon Nov 14, 2005 1:36 pm
Forum: Scripting Help
Topic: stripping generic characters from the hostmask
Replies: 2
Views: 8243

stripping generic characters from the hostmask

on the network my bot runs on, they automatically add a string of characters to the hostmask of every user. some of the characters are static, and some are dynamic, but it follows the same pattern in every instance. I'm writing a ban script for the bot and would like to remove all the network added ...
by WulfMan72
Thu Nov 10, 2005 4:30 pm
Forum: Eggdrop Help
Topic: removing annoying message from party line
Replies: 5
Views: 11989

ty ty, worked like a charm, that's been annoying me for weeks :D
by WulfMan72
Thu Nov 10, 2005 3:58 pm
Forum: Eggdrop Help
Topic: removing annoying message from party line
Replies: 5
Views: 11989

removing annoying message from party line

please forgive me if this has been brought up before, I did multiple searches and couldn't find anything about it. when I'm logged into the party line of my bot, I keep getting this message every 5 minutes: [02:55pm] <WulfBot> [14:55] @#ChannelName (+trna) : [m/7 o/5 h/0 v/1 n/1 b/16 e/0 I/0] I'm pr...
by WulfMan72
Sun Oct 23, 2005 4:50 pm
Forum: Archive
Topic: help with chanlist script
Replies: 12
Views: 61302

for anyone interested, I got the script working, here was the final code: bind msg - !list servlist proc servlist {nick uh hand var} { set chan "#channel" foreach user [chanlist $chan] { if {[getuser [nick2hand $user $chan] XTRA status] != ""} { set title [getuser [nick2hand $use...
by WulfMan72
Wed Oct 19, 2005 10:58 am
Forum: Archive
Topic: help with chanlist script
Replies: 12
Views: 61302

yes, I've tested it with two other people in the room who've had a status set, if they trigger it they see themselves but nobody else. if I trigger it I only see myself. if someone who doesn't have a status set, triggers it, they get nothing. it seems that this line: if {[getuser [nick2hand $user] X...
by WulfMan72
Tue Oct 18, 2005 9:11 pm
Forum: Archive
Topic: help with chanlist script
Replies: 12
Views: 61302

argh, i give up I've tried all the suggestions here and even quite a few modications of my own and no matter what I do, it only returns the name and status and title of the person who triggers the !list, and nobody else. ty everyone for your quick replies and attempts to help, if anyone comes up wit...
by WulfMan72
Tue Oct 18, 2005 5:22 pm
Forum: Archive
Topic: help with chanlist script
Replies: 12
Views: 61302

ok, I updated it again, and it's still only pm'ing the name and status of the person who triggers the script, and not everyone in the chanlist that has a status set. here's the updated script: bind msg - !list servlist proc servlist {nick uh hand var} { set chan "#channel" foreach user [ch...