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...
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.
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...
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/...
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...
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...
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...
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...