This may be an option, but what about optimizing the code instead? :) I didn't have a closer look at the script, but it seems to me like you do letter-by-letter checking... you could store the current looking position in a variable and go then as many cahrs to the left/right as stored in that variable.
-- Âť http://saga-games.ath.cx <http://forum.pspad.com/read.php?2,43912,43937> PSPad freeware editor http://www.pspad.com
