[REBOL] problem with system/script/args/1
From: zimmerman:chartermi at: 1-Sep-2001 23:23
Hi, I'm using a script trying to send info to an eggdrop, but whenever I
run it it I receive this error message
** Script Error: Cannot use path on none! value
** Where: do-boot
** Near: ftpst: join ".say " system/script/args/1
append
I run the script from the W2k command line as such, c:\egg.r test
The only thing that makes sense to me is that the script thinks there is
no value in system/script/args/1,
But I have supplied an argument. I am confused by this. If someone
could help me out I would appreciate it.
Chris(TheTurtle)
Here is my script in full: (some things have been replaced for security
reasons :-))
REBOL [Title: "Eggdrop thingee"]
ftpst: join ".say " system/script/args/1
append ftpst " arbitrary string "
egg: open/direct/lines tcp://192.168.0.1:12444
print first egg
insert egg "username "
print first egg
insert egg "password of bot"
print egg first
insert egg ftpst
close egg
quit