doesn't matter how long the script is, as long as the brackets are setup correctly so that everything executes within the same if/else statement


edit: or you can follow the exact same format for the slap script you had, with how the flood variable executes. If you follow that format, this would basically be your new outline:
Code:
<command trigger>{
   if (%funvariable) { return }
   ;everything
   ;coded
   ;here
   ;will execute
   ;if the variable
   ;is false/off
   ;no matter
   ;how many lines
   ;even this line
}


Again, you had everything you needed to work off of in that code snippet you posted: the trigger command, variables, how to check variables, and code to execute. I'm not sure why you are still struggling with this, as it seems you already have the basic concepts of scripting down, since you were already able to write that snippet of code you posted.