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

by tsukeh
Tue Feb 23, 2010 12:53 pm
Forum: Eggdrop Help
Topic: Crontab problem
Replies: 9
Views: 18026

After killing your eggdrop (if it's running) try to start it like:

Code: Select all

./Dev.conf
If eggdrop starts kill it and then try to run botchk manually:

Code: Select all

./Dev.botchk
If eggdrop starts again, those configs should be ok.
by tsukeh
Mon Feb 22, 2010 8:52 am
Forum: Eggdrop Help
Topic: Crontab problem
Replies: 9
Views: 18026

# change this to the name of your bot's config file (capitalization COUNTS): botscript="./Dev Dev.conf" I bet your config is "Dev.conf" and not "./Dev Dev.conf" ? also make sure first line of your config points to "eggdrop" binary: #! /home/mynick/eggdrop/egg...
by tsukeh
Sun Feb 14, 2010 5:35 am
Forum: Scripting Help
Topic: New to tcl, need help with a simple trigger script
Replies: 6
Views: 4474

proc pub:hug {nick uhost chan hand text} {

should be:

proc pub:hug {nick uhost hand chan text} {
by tsukeh
Fri May 29, 2009 1:36 pm
Forum: Scripting Help
Topic: get yesterday date
Replies: 1
Views: 1955

Code: Select all

proc getDate {} {
    set temp [clock format [clock scan "yesterday"] -format "%Y-%m-%d"]
    return $temp
}
by tsukeh
Thu Apr 30, 2009 9:48 am
Forum: Scripting Help
Topic: Pub string match - simple command, silly problem.
Replies: 4
Views: 3471

bind pub -|- !xxx pub_do_ccc proc pub_do_ccc {nick host handle channel text} { set text [string trim $text] if {[string match -nocase "ccc" $text]} { putserv "PRIVMSG $channel : good" } elseif {[string match -nocase "ccc1" $text]} { putserv "PRIVMSG $channel : goo...
by tsukeh
Sun Mar 08, 2009 3:55 pm
Forum: Scripting Help
Topic: regsub syntax
Replies: 3
Views: 2525

Code: Select all

set txt "this is a test (hopefully). We'll see"
set txt [regsub -all -- {(.*)\(([^)]*)\)(.*)} $txt "\\1(\00314\\2\003)\\3"]
by tsukeh
Mon Feb 09, 2009 11:09 am
Forum: Scripting Help
Topic: special char
Replies: 5
Views: 3104

by tsukeh
Tue Dec 30, 2008 10:01 am
Forum: Scripting Help
Topic: Need help: extra characters after close-quote
Replies: 2
Views: 2541

check this line...

Code: Select all

putquick "privmsg $chan "Error. The ident is longer as 6 vars."
by tsukeh
Mon Jun 16, 2008 9:30 am
Forum: Script Requests
Topic: Read from textfile every 4 secs
Replies: 4
Views: 2444

We expect users to help themselves here, you could of searched the forum for 'utimer' and created the timer yourself. It should look something like: proc dumpfile {} { set file [open text.txt r] set data [read -nonewline $file] close $file foreach line [split $data \n] { if {$line == ""} ...
by tsukeh
Thu Jan 03, 2008 11:54 am
Forum: Scripting Help
Topic: padding with leading zero's
Replies: 2
Views: 1835

Code: Select all

set color [format %02s $value]
by tsukeh
Wed Jan 02, 2008 12:32 pm
Forum: Scripting Help
Topic: msg all channels/on channel? [solved]
Replies: 4
Views: 2514

Code: Select all

bind pub - !lol lolproc

set diffchans [list #LOL #ROFL #OMGWTF]

proc lolproc {nick uhost hand chan text} {
 set value [lindex [split $text] 0]
 foreach i $::diffchans {
  if ![string equal -nocase $chan $i] {
   putquick "PRIVMSG $i :\[NEWS\] - $value"
  }
 }
}
by tsukeh
Wed Jan 02, 2008 12:11 pm
Forum: Script Requests
Topic: Basic on text/join scripts and abit more advanced request
Replies: 8
Views: 3763

raider2k, your code contains ~5 errors and/or misunderstanding.. These should work: bind join - "#Channel1 *" foo:join proc foo:join {nick uhost hand chan} { if [isop $nick #Channel2] { pushmode $chan +o $nick } } bind pubm - "#Channel1 *" foo:pubm proc foo:pubm {nick uhost hand ...
by tsukeh
Fri Dec 07, 2007 8:43 am
Forum: Other Topics
Topic: PHP IRC Bot
Replies: 14
Views: 16651

by tsukeh
Mon Dec 03, 2007 9:39 am
Forum: Script Requests
Topic: tcl for game
Replies: 3
Views: 2496

This rcon module could work.. there is some script inside package also.
http://ftp.icm.edu.pl/packages/irc/robo ... mod.tar.gz
by tsukeh
Sun Dec 02, 2007 6:41 am
Forum: Scripting Help
Topic: What Pulse script
Replies: 2
Views: 2352

package require http bind pub - !test pulse_get proc pulse_get {n u h c t} { set x [::http::geturl http://whatpulse.org/api/user.php?UserID=223348] set data [::http::data $x] regexp -- {<AccountName>([^<]+)} $data {} AccountName regexp -- {<Country>([^<]+)} $data {} Country regexp -- {<DateJoined>(...