I would go further:
Code:
var %text = $editbox($active)
if ($len(%text) >= 1) && ($left(%text,1) != $chr(47)) {


Note that I reversed the conditions, too.

Also looked like there was a space missing between one of the ) { pairs (in the OP).

Last edited by Sais; 21/12/06 11:20 PM.

Sais