| View previous topic :: View next topic |
| Author |
Message |
Bernd Voice
Joined: 13 Nov 2009 Posts: 3
|
Posted: Tue Dec 01, 2009 3:08 pm Post subject: Can't get MemoScript to work. |
|
|
I tried setting up MemoScript, but I'm always getting this error, if i try to create a mailbox, it just says "Tcl error [eggmemo_new]: couldn't create error file for command: no such file or directory". Same when someone joins, but with "eggmemo_checkmsg" insted of "eggmemo_new". I looked up my scripts dir and created the wanted files(memo.userfile and memo.messages) but it still won't work. Oh, and I'm using Windrop on XP.
eggmemo_new is:
| Code: | proc eggmemo_new {nick host hand text} {
# new mailbox
global memo_userfile
set password [lindex $text 1]
if {$password==""} {
putserv "NOTICE $nick : Kein Passwort eingegeben";
} else {
if {[get $nick $memo_userfile] == ""} {
add $nick $password $memo_userfile
} else {
putserv "NOTICE $nick : Deine Mailbox existiert bereits."
}
}
} |
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 01, 2009 3:22 pm Post subject: |
|
|
Short story, tcl is unable to create the proper environment for running an external application using the exec command. The shortfix is to alter the commandline to redirect the stderr channel to the stdout channel (using "2>@1" as the last option on the command line).
You could also see this thread with a similar issue. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|