PDA

View Full Version : exec script in welcome msg and return value


Ofloo
12-13-2003, 05:14 PM
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 ??

darkone
12-14-2003, 02:14 AM
needs to be puts; if you don't want newline to interrupt output, use iputs -nonewline

Ofloo
12-14-2003, 08:49 PM
sorry doesn't work .. i think its there is an syntax error in the cookie or %[...]

above just not sur what it is ..