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
Wed Jul 06, 2016 10:50 am
Forum: Script Support & Releases
Topic: Service.tcl (current version: 5.2.0.0)
Replies: 0
Views: 6993

Service.tcl (current version: 5.2.0.0)

Howdy, This is a script i have coded over several years, started around 2006. It was the script powering the much loved service bots of #pwnd.bots on QuakeNet back in the day, and has been kept as a private script until last year or so when I decided to do a rewrite and make the script modular ready...
by r0t3n
Sat Nov 27, 2010 9:35 am
Forum: Script Requests
Topic: Quakenet chanstat
Replies: 5
Views: 4775

Just use regexp to grab out the data you want to display, also the chanstat has two Since lines, the second line is a trip counter which can be reset, so it depends which Since line you want to use/display (or both).
by r0t3n
Thu Aug 20, 2009 10:27 am
Forum: Script Requests
Topic: Join/part
Replies: 15
Views: 10576

bind part responds to the bot parting, or so it does for myself, either way you could always bind to raw part to overcome the issue
by r0t3n
Sat May 30, 2009 8:14 am
Forum: Scripting Help
Topic: mysql $var
Replies: 4
Views: 3397

Include $nick in your output line:

Code: Select all

putserv "PRIVMSG $nick :$nick $txt"
by r0t3n
Sun Mar 15, 2009 10:58 pm
Forum: Script Requests
Topic: Auto Oper
Replies: 16
Views: 19868

for an irc-operator to be able to change modes for a channel, they must use the OPMODE command instead of MODE

Also dont use botnick for your oper username, just put the entery you entered as username for the eggdrop's oper block.
by r0t3n
Wed Jan 07, 2009 7:51 pm
Forum: Script Requests
Topic: $botnick command
Replies: 9
Views: 4661

Let me explain what i meant about going about it the wrong way. Binding to $botnick is very well ok. but it will also error because $botnick is in the global namespace, so you need to call it via $::botnick When your botnick changes nickname on irc, lets say from its alt-nick to its main nickname, t...
by r0t3n
Wed Jan 07, 2009 9:13 am
Forum: Script Requests
Topic: Clones
Replies: 4
Views: 2741

This was made ages ago, not sure if it still works: namespace eval clonescan { variable copyright "[lindex [split [info script] /] end] - v1.0.0.0 - r0t3n" variable clones array set clones {} variable trigger "!" bind pub m|o "${trigger}clone" [namespace current]::comma...
by r0t3n
Wed Jan 07, 2009 9:02 am
Forum: Script Requests
Topic: $botnick command
Replies: 9
Views: 4661

Thats the wrong way to go about it, use something like this: bind pubm o|o {*} bot:cmds proc bot:cmds {nick host hand chan text} { global botnick if {![string equal -nocase $botnick [lindex [split $text] 0]]} { return } set cmd [lindex [split $text] 1] set arg [join [lrange $text 2 end]] switch -exa...
by r0t3n
Mon Dec 15, 2008 5:32 am
Forum: Scripting Help
Topic: Get #auth on Mask
Replies: 10
Views: 4783

bind join - {*} hello:join bind raw - {354} hello:raw proc hello:join {n u h c t} { global hello if {[string match -nocase *users.quakenet.org $h]} { putserv "PRIVMSG $c :Hello $n ([lindex [split [lindex [split $h @] 1] .] 0])" } elseif {![info exists hello([string tolower $n])]} { set he...
by r0t3n
Sun Dec 14, 2008 7:44 pm
Forum: Scripting Help
Topic: Get #auth on Mask
Replies: 10
Views: 4783

Its infact 5 lines of output, but your only processing a certain line from the whois reply. WHO is however one line of output.
by r0t3n
Sun Dec 14, 2008 4:26 pm
Forum: Scripting Help
Topic: can i load a TCL from a process?
Replies: 2
Views: 1846

I use a pre-rehash script, which unbinds all non-default binds upon rehash. So if you remove your script from the config file, it wont be reloaded.
by r0t3n
Sun Dec 14, 2008 4:24 pm
Forum: Scripting Help
Topic: Get #auth on Mask
Replies: 10
Views: 4783

Its better to use WHO with a special reply, raw 354 with %na arguments.
by r0t3n
Wed Oct 08, 2008 7:36 am
Forum: Scripting Help
Topic: Eggdrop - Topic countdown
Replies: 4
Views: 6699

Firstly, you can get rid of all those ugly variables and use one simple expr whilst setting the topic: bind time - "03 00 * * *" time:topic proc time:topic {min hour day month year} { # lets do a little check to make sure it only runs at 00 hour 03 minute if {$hour != "00" &&...
by r0t3n
Tue Oct 07, 2008 7:53 am
Forum: Scripting Help
Topic: utimer with an if statement
Replies: 4
Views: 2950

Why not just create a seperate proc.. and call it with var arguments.. proc dostuff {n c line} { if {[onchan $n $c] && ![isop $n $c]} { putserv "PRIVMSG $c :[string map -nocase { %n $n } [random $line]]" } } and call it with: utimer $::timer1 [list dostuff $n $c $::line1] This save...
by r0t3n
Wed Oct 01, 2008 10:20 am
Forum: Eggdrop Help
Topic: greet problem
Replies: 9
Views: 5763

This might be nothing, no idea if its relevant or not.. but in your whois reply you have

Code: Select all

[21:23] <Shia>    #Shia              -               08:31 
whereas the other user does not.. meaning you are known to #Shia but the other user is not.. maybe?