Need help with IF function script

Just copy everything to performersortorder and then use this kind of action to the "The "
Actions