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

by raider2k
Sun Apr 11, 2010 12:41 pm
Forum: Scripting Help
Topic: read file randomly
Replies: 3
Views: 2643

after you read all of a files content into a list:

Code: Select all

set output [lindex $filecontent [rand [llength $filecontent]]]
putserv "PRIVMSG $channel :$output"
should do the trick, at least did it for me
by raider2k
Sun Apr 11, 2010 8:54 am
Forum: Script Support & Releases
Topic: problem with 1 old script
Replies: 4
Views: 5495

if you need help with something in particular just holla. if someone else is willing to install additional software or has lynx on his system already might want to try your existing script. from my point im only able to play a bit of guessing games and give you hints ;)
by raider2k
Sun Apr 11, 2010 7:34 am
Forum: Script Support & Releases
Topic: problem with 1 old script
Replies: 4
Views: 5495

what i wanted to do is to put that script into one of my bots, but then found out that i dont have lynx on my system and i dont want to install it (even though its possible to deinstall). so i was thinking about possible errors, not really sure about it but you might want to try: regsub -all "<...
by raider2k
Fri Apr 09, 2010 12:47 am
Forum: Scripting Help
Topic: [SOLVED] How to wait few seconds ?
Replies: 2
Views: 2793

Code: Select all

utimer 60 [list putbot botname "!mytrigger $var1 $var2 (...)"
utimer 60 waits 60 seconds, you could also use timer which counts in minutes and use 1 (minute) instead of 60, same result. hope that fits your needs
by raider2k
Wed Apr 07, 2010 11:04 am
Forum: Scripting Help
Topic: TK: "lock" lower windows
Replies: 0
Views: 2027

TK: "lock" lower windows

heya everyone, heya nml ;) this time i need help with tk again (those manpages make me crazy by now -.- ew ew ), in case of more windows (more toplevels) i want to know how to lock the lower ones. example: main window has a button called "launch", you click on it and another (new) window (...
by raider2k
Thu Mar 25, 2010 1:09 pm
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

k-meleon here ^^
and yup, thats probably why then, weird things are happening on the internet lol
by raider2k
Thu Mar 25, 2010 1:38 am
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

well, know what? lol i put a space after \ because of two reasons: 1. it seemed quite logic to me to escape a space char with \ so its really being treated as one 2. try to select that code of yours with your mouse and you'll notice that \[code\] puts a space after the \ plus, i made an important mi...
by raider2k
Wed Mar 24, 2010 12:53 pm
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

W O N D E R F U L L :D because right now i wanted to ask why its coming up with some errors here and there, i think missing uplevel was the answer to that not-yet-asked-question :) thx again for help, thx to both of you :) btw: since the loadsource proc does a list on script from foreach scripts, am...
by raider2k
Tue Mar 23, 2010 1:22 pm
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

mhm, i think now i know what you mean :)
very interesting, i hope ill keep that in mind :D
thx nml ^^
by raider2k
Tue Mar 23, 2010 12:45 am
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

i think ... im confused right now :shock:
by raider2k
Mon Mar 22, 2010 1:21 pm
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

ok, im always interested in becoming better, its just not clear enough to me what exactly i wasnt doing so properly. is it about those " \ "'s ? if you dont mind please post me an example based on my code, i think that would help me out :) btw: i also remember you telling me to use split $...
by raider2k
Mon Mar 22, 2010 12:39 pm
Forum: Script Requests
Topic: Voice tag nick
Replies: 14
Views: 7350

i think it will work like that, was wondering why theres a flag but nothings using it .. lets try the following: setudef flag tagvoice bind join - {% CFC|*} voice:user bind nick - {% CFC|*} voice:user bind join - {% AFC|*} voice:user bind nick - {% AFC|*} voice:user bind join - {% AVFC|*} voice:user...
by raider2k
Mon Mar 22, 2010 12:31 pm
Forum: Scripting Help
Topic: MSG Commands?
Replies: 4
Views: 3894

/<- CODE bind pub - !test test_pub proc test_pub {nick uhost handle chan text } { ->/ CODE when bind PUB has been specified put channel in there as an arguement being passed on ("chan" in my case). why? because a PUBlic event can be triggered in a CHANNEL, therefore channel is needed /<- C...
by raider2k
Mon Mar 22, 2010 12:22 pm
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

yup, this is true, figured where scripts comes from when i copied and modified it to my needs ^^ yup, namespace global var, got that, just wasnt really sure ^^ im wondering a bit whats so wrong about my code, having escapable character in FILENAMES isnt going to happen at all, i NEVER used and never...
by raider2k
Mon Mar 22, 2010 2:07 am
Forum: Scripting Help
Topic: [SOLVED] catch errors, dont make eggy die
Replies: 18
Views: 10219

proc loadscript { scripts } { foreach script $scripts { if { [catch { source $script } err] } { putlog "ERROR LOADING $script: $err" foreach x [split $::errorInfo "\n"] { putlog "$x" } } } } set scripts { scripts/something.tcl scripts/debug.tcl scripts/externalscript.t...