Go Back   FlashFXP Forums > > > >

! Other Scripts Support Support for all other scripts...

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-13-2003, 05:14 PM   #1
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default exec script in welcome msg and return value

i want the script to return a variable in my logon msg

ive tryed several ways for example this ..:

%[exec(TCL ..\scripts\ioUptime.tcl uptime mins)]

but its not working how is that ..


script

return $varname

or does it need to be puts ??
Ofloo is offline   Reply With Quote
Old 12-14-2003, 02:14 AM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

needs to be puts; if you don't want newline to interrupt output, use iputs -nonewline
darkone is offline   Reply With Quote
Old 12-14-2003, 08:49 PM   #3
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default

sorry doesn't work .. i think its there is an syntax error in the cookie or %[...]

above just not sur what it is ..
Ofloo is offline   Reply With Quote
Reply

Tags
mins], msg, return, script, working

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:02 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)