bind pub - !msg msgsend
set myfile "/home/MacGyver/storage/grab.key"
proc msgsend {nick uhost hand chan arg} {
global myfile
dumpfile $nick $myfile
}
now the grab.key is just a simple ascii text file one line
and but i am not seeing any output and no errors on the party line logged in as owner as I do it.
Sir Fz kindly got me started with a script example I have requested previous and I am pouring over faq's and examples and searching fast as I can. been running an eggdrop a few years but want to start learning and having more fun.
os is linux, the bot is in the same user home as the file and definitely has permission for the file. I just don't understand what me missing but it must be something obvious.
I even thought maybe I had left some module out required but the docs say its in the core module so I rebuilt 1.6.18 and no change.
just has me puzzled appreciate any input why the dumpfile script above is not working or coughing out an error why its not.
Because dumpfile only sends text from a file in the bot's helpfile dir, according to the documentation. Read the tcl-commands.doc that comes with eggdrop.