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

by Ofloo
Wed Jun 03, 2009 11:13 am
Forum: Scripting Help
Topic: regexp problem..
Replies: 4
Views: 3117

it is kindoff a lot .. it's whole html page .. i did some tests to .. on emulated tests it works just fine however on a site it doesn't maybe i'm nto considering all special charaters,.. and should split the data before i regexp it .. i'll let you know how it turns out.
by Ofloo
Wed Jun 03, 2009 11:05 am
Forum: Scripting Help
Topic: Help on where to begin
Replies: 1
Views: 2020

set text { write some text here if like .. that the command should write to the file } if {[catch {open file.txt 'w'} w]} { # # either puts $w $text # # or line by line # foreach {x} [split $text \n] { puts $w $x } close $w } it all depends, .. a is append w is write and r is read i see you use a ....
by Ofloo
Wed Jun 03, 2009 11:02 am
Forum: Scripting Help
Topic: eggdrop + wordpress
Replies: 2
Views: 2721

or insert directly into the mysql db or read from it.
by Ofloo
Wed Jun 03, 2009 10:53 am
Forum: Scripting Help
Topic: regexp problem..
Replies: 4
Views: 3117

regexp problem..

i've got this issue with html tags, .. for some reason this can be <div id="building_contract2"> or <div id="building_contract"> regexp -nocase {<div id="building_contract"><div class="f10 b">.+?</div>(.+?)</div>} $data > build works regexp -nocase {<div id=&q...
by Ofloo
Wed Jan 28, 2009 6:45 am
Forum: Scripting Help
Topic: remove proc
Replies: 2
Views: 2087

remove proc

hi, i'm wondering if it would be possible to delete a proc without restarting your script..

like..

Code: Select all

proc test {} {return 0} ;# proc is created now how to delete it?
I've been thinking of a way to do this but I can't think of any, is it even possible, ..
by Ofloo
Fri Oct 10, 2008 1:03 pm
Forum: Eggdrop Help
Topic: eggdrop 1.6.19 with ssl.patch AND ipv6.patch
Replies: 1
Views: 5594

I know it is an old question, though even if you where able to compile it you wouldn't be able to make it work, since encryption requires work on the sockets, and so does ipv6 .. you need to write new code for the ssl ipv6 because it's spefic you can't just apply ssl and ipv6 and assume ipv6 will be...
by Ofloo
Wed May 14, 2008 6:41 am
Forum: Scripting Help
Topic: socket issues.
Replies: 11
Views: 4621

if {[info exists _forever_]} else {unset _forever_} if {[catch {socket localhost 25} sock]} { puts "Error couldn't connect" set _forever_ {} } else { fileevent $sock writable [list socket_async_callback $sock] } proc socket_async_callback {sock} { global _forever_ if {[string equal {} [fc...
by Ofloo
Sun May 04, 2008 8:59 am
Forum: Eggdrop Help
Topic: Compile problem eggdrop
Replies: 8
Views: 6932

i replaced this line

Code: Select all

(unsigned char *)data += free;
with:

Code: Select all

data = (unsigned char *) data + free;
and it compiled without a problem, I'm assuming the difference in version of compiler mattered, previous version was gcc 3.4 current gcc 4.2
by Ofloo
Sun May 04, 2008 8:39 am
Forum: Eggdrop Help
Topic: Compile problem eggdrop
Replies: 8
Views: 6932

Compile problem eggdrop

I seem to have a compile issue on 1.6.13 with ipv6 patch gcc -pipe -g -O2 -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c ./md5c.c ./md5c.c: In function 'MD5_Update': ./md5c.c:208: error: lvalue required as left operand of assignment *** Error code 1 Stop in /usr/local/src/eggdrop1.6.13-ipv6/src/...
by Ofloo
Wed Apr 30, 2008 7:06 am
Forum: Script Requests
Topic: hot potato.tcl [solved]
Replies: 1
Views: 4065

I think this belongs in the request forum.
by Ofloo
Wed Apr 30, 2008 7:01 am
Forum: Scripting Help
Topic: Issue with timers
Replies: 1
Views: 1558

it should be something like this ..

Code: Select all

if {![catch {open "myfile.txt" r} r]} {
  set time 0
  while {![eof $r]} {
    gets $r line
    utimer [incr time 30] [list putserv "PRIVMSG $chan :$line"]
  }
  close $r
}
by Ofloo
Wed Mar 05, 2008 6:09 am
Forum: Modules & Programming
Topic: Sample
Replies: 5
Views: 12113

But that is in C++ i really would like to learn C before I start overcoming the problems of compiling a C++ source module, I do know C++ little except the use of classes, .. so it's very basic..

and that bind !hello is wrapped with a class ..
by Ofloo
Sun Mar 02, 2008 7:41 am
Forum: Modules & Programming
Topic: Sample
Replies: 5
Views: 12113

Have you all i can see there is a bind dcc !?
by Ofloo
Wed Feb 27, 2008 12:45 pm
Forum: Modules & Programming
Topic: Sample
Replies: 5
Views: 12113

Sample

I'm still learning C though i know the basics, and I wanted to create a eggdrop module, to gain more experiance in C, ..

Would anyone be so kind to write a small sample of a bind pub, msg, dcc, time..
by Ofloo
Tue Mar 06, 2007 11:55 am
Forum: Scripting Help
Topic: Piped sockets under tcl
Replies: 10
Views: 5852

I asked for a named pipe which functioned as a socket, UNIX sockets I suppose.

i want to be able to '|' pipe data from syslogd to a script.

but since reading from stdin is having some issues.. i wanted to use pipes instead.