Ok I see - you want to increase the radius of all torches when the player is in a cave.
The script is choking on this line:
Torch02.setlightradius 2592
Torch02 is a base object, not a reference. The thing on the left of the dot must be a reference; if it's not, the game will stop executing your script. Use this instead:
setlightradius 2592 torch02
This is a common idiom with OBSE commands - you can either call the command on a reference, which will apply the command to that ref's base object, or you can pass a base object as the final argument.