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

by r0t3n
Sat Jul 02, 2005 9:44 am
Forum: Archive
Topic: need help with a cupbot !add !remove and !whois system
Replies: 18
Views: 7801

ok, i read lsearch, but dont understand what the script would look like. bind pub - !add cup:add proc cup:add {nick host hand chan text} { if {![channel get $chan "cup"]} { putserv "PRIVMSG $chan :Error: $nick there is no cup runnnig." } elseif {[channel get $chan "cup"...
by r0t3n
Sat Jul 02, 2005 7:12 am
Forum: Archive
Topic: need help with a cupbot !add !remove and !whois system
Replies: 18
Views: 7801

Hmm, i dont know much about lists. But, i guess i use: list - to create the new list linsert - to insert the elements lreplace - to replace any elements lsearch - to search the list Thats al i know, i dint know how to use all of them. Could you please help me with these commands. lsearch -exact *$te...
by r0t3n
Thu Jun 30, 2005 1:25 pm
Forum: Archive
Topic: need help with a cupbot !add !remove and !whois system
Replies: 18
Views: 7801

need help with a cupbot !add !remove and !whois system

Ok, i have made the script now, it works, but now im at the stage of making the !add !remove and !whois team system. Can anyone give me any ideas who to store the team information like teamname and the nicknames of the people in that team. Also any ideas how to go with the !whois and !remove system ...
by r0t3n
Wed Jun 29, 2005 9:47 am
Forum: Archive
Topic: need to convert mrc to tcl
Replies: 5
Views: 3040

Well, you could try searching the TCL Archive or learning TCL. If you looked at a TCL Guide, the first thing you would notice is the binds and the proc. bind notc - * ::ircd::notice That bind looks fine to me, now you need to make a proc for this. proc ::ircd::notice {nick host hand} { if {($nick ==...
by r0t3n
Tue Jun 28, 2005 1:22 pm
Forum: Archive
Topic: autorejoin protection script?
Replies: 4
Views: 2241

demond, would you need the check if the user is added to the bot, [matchattr $h f|f $chan] ?
Otherwise a user could be kicked...?
by r0t3n
Mon Jun 27, 2005 5:09 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

now, this is a big error, the script does not work as such: When i set $cup(cup,$chan) off and type .start 5on5 8 testing the bot replys, Error: a cup is alreadt running, blah But, the cup is not running, and $cup(cup,$chan) is set to off, please can you check the script, it will be a big help to me...
by r0t3n
Mon Jun 27, 2005 4:16 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

arrh, Hmm, i fixed that earlier, i think i must have pasted the old scropt, oh well, thanks!!
by r0t3n
Mon Jun 27, 2005 2:33 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

well, i got the start system as you can see, just fixing the errors, i got the stop, prize, setprize, hltv sethltv, etc etc. Making a !add system aswell, and a !remove then some more stuff. Coming on good. Someone please help with that error shown above!!
by r0t3n
Mon Jun 27, 2005 2:10 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

omg, these errors are flying at me, <[Cup-Bot]> [19:09] Tcl error [start:cup]: syntax error in expression "($cup(prize,$chan) == """: looking for close parenthesis

please help!!
im nuub at tcl now :(
by r0t3n
Mon Jun 27, 2005 2:05 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

arrh, ok, also the 5on5 ;p, ok, thanks Sir_Fz
by r0t3n
Mon Jun 27, 2005 1:55 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

ok, this is the new code, the brackets are fixed now. proc start:cup {nick host hand chan text} { global cup set cup(slots,$chan) [lindex [split $text] 2] set cup(prize,$chan) [join [lrange [split $text] 3 end]] set cup(type,$chan) [lindex [split $text] 1] set cup(admin,$chan) $nick set cup(map,$cha...
by r0t3n
Mon Jun 27, 2005 1:16 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

arrh, stupid me, thanks Sir_Fz
by r0t3n
Mon Jun 27, 2005 12:35 pm
Forum: Archive
Topic: cupbot error
Replies: 12
Views: 4040

cupbot error

proc start:cup {nick host hand chan text} { global cup set cup(slots,$chan) [lindex [split $text] 2] set cup(prize,$chan) [join [lrange [split $text] 3 end]] set cup(type,$chan) [lindex [split $text] 1] set cup(admin,$chan) $nick set cup(map,$chan) de_dust2 if {![matchattr $handle o|o $chan] &&...
by r0t3n
Sun Jun 26, 2005 11:42 am
Forum: Archive
Topic: badword script
Replies: 3
Views: 2242

Hmm, theres a error somewhere in the script, whenever i type !badword add/del word or !badword list nothjing happens, the bot does not report a erro in dcc, and the bot does not reply. Please help!! bind pub - * badwords:check bind pub - !badword bad:words proc badwords:check {nick host hand chan te...
by r0t3n
Sun Jun 26, 2005 10:26 am
Forum: Archive
Topic: badword script
Replies: 3
Views: 2242

ok, thanks De Kus!