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

by tessa1
Sun Sep 22, 2013 1:13 pm
Forum: Scripting Help
Topic: [Solved] Write multiple lines to file.
Replies: 6
Views: 6077

Yes! Thats it!

Many thanks :)
by tessa1
Sun Sep 22, 2013 12:36 pm
Forum: Scripting Help
Topic: [Solved] Write multiple lines to file.
Replies: 6
Views: 6077

Ok, this is my script now. There are no errors in the partyline. But the script writes only the last server. I rehashed an restarted the Bot. Without deleting the file, the script writes all lines. bind pub - !uptime stats:cmd:uptime proc stats:cmd:uptime {nick uhost handle channel text} { global se...
by tessa1
Sun Sep 22, 2013 11:52 am
Forum: Scripting Help
Topic: [Solved] Write multiple lines to file.
Replies: 6
Views: 6077

Spike, yes! I know that. But "a" doesn't overwrite the file like "w"
It adds a new line to this file. I need this file to read it out with php and publish it on our homepage.
by tessa1
Sun Sep 22, 2013 12:18 am
Forum: Scripting Help
Topic: [Solved] Write multiple lines to file.
Replies: 6
Views: 6077

[Solved] Write multiple lines to file.

Hi :) I want to write the stats data of all 6 servers into a file. e.g: server1.irc.net:1268 server2.irc.net:724 server3.irc.net:954 ... But my script writes only the last server number six into the file. What can I do? Here is my script: bind pub - !uptime stats:cmd:uptime proc stats:cmd:uptime {ni...
by tessa1
Fri May 22, 2009 7:23 am
Forum: Eggdrop Help
Topic: [SOLVED] Telnet login command-Deliver nickname and password
Replies: 0
Views: 2283

[SOLVED] Telnet login command-Deliver nickname and password

Hi, I'm connecting via putty (ssh and keyfile) to the server. then i type the follwing command telnet 127.0.0.1 1234 --> Bot needs nickname and password Is it possible to deliver the nickname and password in this command? EDIT and Solved: I'm using expect on my shell. eggdropautologin.sh #!/usr/bin/...
by tessa1
Mon Sep 25, 2006 12:45 pm
Forum: Script Requests
Topic: [SOLVED] Search for files via Eggdrop
Replies: 5
Views: 3466

Many thanks... this code works for me :wink: set filepath "/path/to/dirctory" bind pub -|- !find find_proc proc find_proc {nick uhost handle channel arg} { set results [exec find $filepath -iname *[lindex [split $arg] 0 end]*] if {[llength $results]} { foreach result $results { putserv &qu...
by tessa1
Sun Sep 24, 2006 3:58 pm
Forum: Script Requests
Topic: [SOLVED] Search for files via Eggdrop
Replies: 5
Views: 3466

Ok... concat is false i replaced that with exec :wink: bind pub "-|-" !find find_proc proc find_proc {nick uhost handle channel arg} { set num [lindex [split $arg] 0 end] set command [exec find /home/dj/djpool -iname *$num*] set return [eval $command] foreach output [split $return \n] { pu...
by tessa1
Sun Sep 24, 2006 3:33 pm
Forum: Script Requests
Topic: [SOLVED] Search for files via Eggdrop
Replies: 5
Views: 3466

Hm... something like this? Thats untested and i dunno if it works. bind pub "-|-" !find find_proc proc find_proc {nick uhost handle channel arg} { set num [lindex [split $arg] 0 end] set command [concat find /home/dj/djpool -iname *$num*] set return [eval $command] foreach output [split $r...
by tessa1
Sun Sep 24, 2006 1:53 pm
Forum: Script Requests
Topic: [SOLVED] Search for files via Eggdrop
Replies: 5
Views: 3466

[SOLVED] Search for files via Eggdrop

Hi, i need a a small dj-searchscript that displays the path from a file on my shell. When i type this in my shell: root:~# find /home/dj/djpool -iname "*What is Love*" putty displays the following result: /home/dj/djpool/H/Haddaway/2nd Edition/Haddaway-00_What is Love.mp3 /home/dj/djpool/H...
by tessa1
Fri Aug 25, 2006 11:59 am
Forum: Scripting Help
Topic: Help with scan variable [solved]
Replies: 2
Views: 3697

thats the way :D

Thx
by tessa1
Fri Aug 25, 2006 10:34 am
Forum: Scripting Help
Topic: Help with scan variable [solved]
Replies: 2
Views: 3697

Help with scan variable [solved]

Hi, how to split Hostname[IP] in two variables? I think string trimright, but dunno how to use. *** Global -- from anystupidnet.com: Server hub.anystupidnet.com[123.456.789.0] closed the connection bind raw - NOTICE hubsplit_snotc proc hubsplit_snotc {from keyword text} { set variable_all "[lin...
by tessa1
Thu Mar 30, 2006 1:07 pm
Forum: Script Requests
Topic: Need a script to start some applications on my shell
Replies: 11
Views: 10490

Don't work...
Tcl error [sne:start]: can not find channel named "file10"

ps x
29458 ? Z 0:00 [eggdrop] <defunct>
29459 ? Z 0:00 [services] <defunct>
29460 ? Z 0:00 [neostats] <defunct>
by tessa1
Thu Mar 30, 2006 10:46 am
Forum: Script Requests
Topic: Need a script to start some applications on my shell
Replies: 11
Views: 10490

I hope, this is right now :) bind pub - !sne sne:start proc sne:start {nick uhost hand chan arg} { if {([file readable /home/eggdrop/eggdrop]) && ([file readable /home/ircd/services/services]) && ([file readable /home/NeoStats/neostats])} { set ca [open "|/home/eggdrop/eggdrop&q...
by tessa1
Thu Mar 30, 2006 10:32 am
Forum: Script Requests
Topic: Need a script to start some applications on my shell
Replies: 11
Views: 10490

Re: Need a script to start some applications on my shell

demond wrote:
tessa1 wrote: I can't use exec, because the bot is freezing.
Best regards
then use [open "|application"] for non-blocking I/O

search the forums for "tail -f" example on how to do that

hmmm....
by tessa1
Wed Mar 29, 2006 2:08 pm
Forum: Script Requests
Topic: Need a script to start some applications on my shell
Replies: 11
Views: 10490

I don't know, what is wrong with the braces.