| View previous topic :: View next topic |
| Author |
Message |
Stupidman Voice
Joined: 11 Sep 2007 Posts: 7
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Oct 09, 2007 3:58 pm Post subject: |
|
|
Some kind of explanation of the problem would be nice...
However, one issue that's easy to see, is that you've messed up the binding, by putting a { at the end... It should not be there...
Edit:
Also, you cannot use C-style indenting as tcl is newline terminated. Structures such as below will not work simply because the commandline is terminated prematurely:
| Code: | command param1 param2 {param 3 with spaces}
{
param4
} |
This will be interpreted as two separate commandlines.
In this example, proper code would be:
| Code: | command param1 param2 {param 3 with spaces} {
param4
} |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Stupidman Voice
Joined: 11 Sep 2007 Posts: 7
|
Posted: Tue Oct 09, 2007 4:10 pm Post subject: hi nml |
|
|
hi nml, im sorry
[13:07] Tcl error in file 'strict.conf':
[13:07] wrong # args: should be "proc name args body"
while executing
"proc m:chan {nick uhost hand chan text} "
(file "scripts/file.tcl" line 91)
invoked from within
"source scripts/file.tcl"
(file "strict.conf" line 195)
[13:07] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
but i did take away the thing you told me and now its fine except this. |
|
| Back to top |
|
 |
Stupidman Voice
Joined: 11 Sep 2007 Posts: 7
|
Posted: Tue Oct 09, 2007 4:27 pm Post subject: I got it |
|
|
| I got it to work thanks alot. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
|
| Back to top |
|
 |
|