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

by daltonc
Wed Sep 28, 2005 10:02 pm
Forum: Archive
Topic: TCL
Replies: 5
Views: 9166

hmmmm.. still getting the same error... I know I specifiyed with the libtcl was.. and I know its finding it... cause its specifying the correct file. But its like it cannot load the file. ./eggdrop: error while loading shared libraries: libtcl8.4.so: cannot open shared object file: No such file or d...
by daltonc
Wed Sep 28, 2005 6:02 pm
Forum: Archive
Topic: TCL
Replies: 5
Views: 9166

ahhh, thanks alot :)
by daltonc
Wed Sep 28, 2005 5:35 pm
Forum: Archive
Topic: TCL
Replies: 5
Views: 9166

TCL

Ok, I am trying to compile eggdrop and I keep getting this error saying it cant find libtcl8.3.so and I know I have TCL 8.3 installed.. so is there a way to specify where the .so file is in the ./configure ?
by daltonc
Tue May 10, 2005 6:56 pm
Forum: Archive
Topic: Strip question
Replies: 5
Views: 1610

rgr, here ya, this is the part thats setting the custom commands and adding to the database.. elseif {[string tolower [lindex [split $arg] 0]] == "$chan_trigger($chan)set"} { if {[isop $nick $chan]} { set command_input [string tolower [join [lindex $arg 1 ]]] set command_input_value "...
by daltonc
Tue May 10, 2005 5:58 pm
Forum: Archive
Topic: Identd Help
Replies: 1
Views: 1319

Identd Help

Hey guys, whats up? Anyways , my bots were glined! They said something is up with identd.

I have
set username "myuser"
in the config. I also have an ident server running.

Any ideas?
by daltonc
Tue May 10, 2005 2:35 pm
Forum: Archive
Topic: Strip question
Replies: 5
Views: 1610

Thanks, but now on my set command I am tryin to set a variable. Its giving me 'variable commands already exist'

Its like for some reason it wont overwrite. Any ideas why?

I have another command called set trigger.. and it overwrites the trigger just fine.
by daltonc
Tue May 10, 2005 12:53 pm
Forum: Archive
Topic: Strip question
Replies: 5
Views: 1610

Strip question

Ok, I am inserting data into my database as a value for a variable and when my bot loads up it sets the value to that variable. Anyways, if there is more than 1 word as the value it outputs it like this {command1 command2} so If I type @set commands command1 and then type @commands it says command1 ...
by daltonc
Mon May 09, 2005 9:29 pm
Forum: Archive
Topic: Some help on arrays
Replies: 8
Views: 2020

Yea, I got it working, I just chaned user to user_account .. Now this is saying: missing close-brace: possible unbalanced brace in comment proc command:lookup {nick uhost hand chan arg} { if {[isop $nick $chan]} { set command [lindex $arg 0] switch -- $command { case "chaninfo" { set chan_...
by daltonc
Mon May 09, 2005 3:35 pm
Forum: Archive
Topic: Some help on arrays
Replies: 8
Views: 2020

mmmm, nope. That little piece of code isnt in a proc. Its like an on startup event. Its not working though :( 'dalton' is in my database as a name. Its saying cant set user(dalton): variable isnt array.

As this is an on start event it is the first time I Set the variable.
by daltonc
Sun May 08, 2005 9:49 pm
Forum: Archive
Topic: Some help on arrays
Replies: 8
Views: 2020

Some help on arrays

how come this isnt working? Its saying.. can't set "user(blah)": variable isn't array set get_users [mysql_query "SELECT * FROM bot_users"] foreach user_info $get_users { set user_name [lindex $user_info 2] set user($user_name) [lindex $user_info 3] set user_email($user_name) [li...
by daltonc
Sun May 08, 2005 10:40 am
Forum: Archive
Topic: Switch Help
Replies: 5
Views: 1466

Hey, thanks! It works now, got another question, how can I find out if there is a certin element in an array?
by daltonc
Sat May 07, 2005 5:53 pm
Forum: Archive
Topic: Switch Help
Replies: 5
Views: 1466

Doesnt seem to work, when I do @global rehash. It gives me the error saying I didnt specify a command.
by daltonc
Sat May 07, 2005 4:02 pm
Forum: Archive
Topic: Switch Help
Replies: 5
Views: 1466

Switch Help

Hey, I am kinda new to the switch function, anyone wanna help? This isnt working.. proc command:global {nick uhost hand chan arg} { global botnick if {[isop $nick #nrbots]} { switch [lindex $arg 1] { "rehash" { rehash if {[${botnick} == "nrbot-01"]} { putnotc $nick "Rehashin...
by daltonc
Mon May 02, 2005 8:41 pm
Forum: Archive
Topic: Variable questions
Replies: 16
Views: 8536

Alright , fixed it! But another problem : / proc command:main {nick uhost hand chan arg} { global chan_trigger set command "[string range $arg 1 end]" global command($chan) putlog "${command}($chan)" if {[info exist command($chan)]} { putnotc $nick "$command($chan)" } }...
by daltonc
Mon May 02, 2005 4:45 pm
Forum: Archive
Topic: Variable questions
Replies: 16
Views: 8536

Ok, I found the problem..
chan_trigger is acting as an array. I have more than one thing set in that array. But is there a way I can make it so it wont act as an array using chan_trigger() ? I want a seprate variable for every chan_trigger($chan). Any ideas?