| View previous topic :: View next topic |
| Author |
Message |
MacGyver Voice
Joined: 26 Apr 2004 Posts: 9 Location: Dark side of the moon
|
Posted: Sun Jul 01, 2007 12:16 pm Post subject: neophyte scripter learning but dumpfile not working? |
|
|
| Code: | 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. _________________ Mac |
|
| Back to top |
|
 |
MacGyver Voice
Joined: 26 Apr 2004 Posts: 9 Location: Dark side of the moon
|
Posted: Mon Jul 02, 2007 7:47 am Post subject: |
|
|
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. _________________ Mac |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Jul 02, 2007 8:30 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
MacGyver Voice
Joined: 26 Apr 2004 Posts: 9 Location: Dark side of the moon
|
Posted: Tue Jul 03, 2007 1:41 am Post subject: |
|
|
thanks blush, that was almost good enough for rtfm chuckle I know I look at that command about 20 times just never noticed that. thanks again.  _________________ Mac |
|
| Back to top |
|
 |
|