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

by nso
Mon Jan 05, 2004 11:05 am
Forum: Archive
Topic: ot: arrayproblem?
Replies: 1
Views: 760

oh the wonderfull magic that 'join' can perform.
thanks to a kind soul on irc for this little tidbit of information
by nso
Mon Jan 05, 2004 10:00 am
Forum: Archive
Topic: ot: arrayproblem?
Replies: 1
Views: 760

ot: arrayproblem?

i know this is an 3rd-party program, and thus not exactly ontopic for egghelp. But since there may be some people here whom have experienced the same I thought I'd have a go at it. I get a problem when I am collection more then one column from a row in my mysql-db using fbsql When I am fetching a si...
by nso
Tue Sep 23, 2003 4:27 am
Forum: Archive
Topic: Looping timer that halts
Replies: 0
Views: 657

Looping timer that halts

I've got a script that communicates with a vBB (virtual bulletin board) PHP forum. When a scripted event occurs in the PHPscript, it stores a string to a file which the TCl checks every couple of seconds for new info. The script works fine and dandy, but it seems like the timer halts sometimes.. It ...
by nso
Fri Aug 01, 2003 5:34 am
Forum: Archive
Topic: cycle code
Replies: 11
Views: 2975

i found this to be a good approach # channel to cycle set cyclechan "#blabla" # minutes between each cycle set timecycle 120 # minutes to idle before rejoining chan set timewait 1 bind RAW * 366 cyclestart proc cyclestart { from key arg } { global cyclechan timecycle set chan [lindex [spli...
by nso
Mon Jun 16, 2003 5:58 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

hi. it wont work tho.. it still denies to do anything when someone with a \ in their nick joins the channel.. any other suggestions? i really dont understand why :p [edit] did some testing now.. entered a putserv "privmsg $rschan :$isonserver" below set isonserver in the second proc.. and ...
by nso
Mon Jun 16, 2003 4:39 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

thanks for the assistance.. will try it out :)
by nso
Mon Jun 16, 2003 4:05 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

goodie :)
i thought it was kindoff funny since i didn't manage to reproduce the error on my own testeggie ^^
by nso
Mon Jun 16, 2003 4:03 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

set rschan "#bla" set rsserver "bla bla" set rskickreason "bla" set rsmsgonkick "\[blabla\] bla" set rsbanreason "bla" set rsmsgonban "\[blabla\] bla" bind JOIN - * rsjoin bind RAW * 312 rswhois set rsnick "" set rslastnick "...
by nso
Mon Jun 16, 2003 3:51 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

i dont think it would be wise to ban hosts..
but thanks anyway :)
by nso
Mon Jun 16, 2003 3:39 am
Forum: Archive
Topic: 2 quick questions
Replies: 10
Views: 3144

2 quick questions

Hi. Im currently working on a tcl-script and have fond some weird "bugs" I haven't been able to figure out what is. 1: I get the nick of the last erson whom joined with $nick in an JOIN bind. I set a global variable to that nick, and then when I call the global variable in another proc and...
by nso
Wed Jun 11, 2003 1:01 pm
Forum: Archive
Topic: Splitting strings
Replies: 1
Views: 998

Splitting strings

Hi, I need to split a string with the syntax "random random http://whatever.tld random random" but have had no luck in my quest. since the only absolute in the string is http i htought i could use split.. but i can't find the right syntax.. what i want to do is seperate the http://whatever...
by nso
Sun Apr 27, 2003 7:29 pm
Forum: Archive
Topic: Joining / Parting
Replies: 5
Views: 1440

bind raw * JOIN onjoin_proc proc onjoin_proc {from keyword arg} { set bannmb1 [chanbans #mychan] set bannmb2 [llength $bannmb1] putlog $bannmb2] return 1 } while testing just trying to get usernmb not working with what you suggested tho and yeah, need more then just info, also gonna act on info
by nso
Sun Apr 27, 2003 2:54 pm
Forum: Archive
Topic: Joining / Parting
Replies: 5
Views: 1440

Joining / Parting

is there any way to make the bot wait to execute the channel remove untill you have done all the stuff in the middle, if you have add/remove in same proc.. without using timer?
by nso
Sat Apr 26, 2003 1:14 pm
Forum: Archive
Topic: Who wrote topic
Replies: 17
Views: 4099

thanx, got it all to work now.

here is the current code
bind raw * 333 proc_topicset

proc proc_topicset { from keyword arg } {
set testing $arg
putquick "PRIVMSG mynick :$testing"
}
have included lindex'ing and stuff, just have the code on another computer
by nso
Sat Apr 26, 2003 11:21 am
Forum: Archive
Topic: Who wrote topic
Replies: 17
Views: 4099

yeah, i figuered out as much as my start will be
bind raw - 332 proc_topicset
and
bind raw - 331 proc_notopicset

but i still dunno how to fetch the info out of the rawcommand.