I'm brand spanking new to using Filebot (loving it so far

Currently I have this:
Code: Select all
Z:\Media Server\.Processed\{n.replace(':', ' ')}\{n.replace(':', ' ')} ({y}) - {'pt'+pi}
The general format I'm looking for is:
- All words in "Camel Case" or "Mixed Case" (first letter of each word capitalized), for all folders and files.
For the folders, just the movie name; no year or anything else.
For the files in those folders, just add the year the the name*
*IF there are multiple parts to a movie, then add a space, dash, space, lower case "pt" and the number. (i.e. Austin Powers (1969) - pt1.avi, Austin Powers (1969) - pt2.avi, etc.).
If no multiple parts then leave off the space, dash, space stuff at the end, leaving just the movie name and year.
Once all renamed, move them to "Z:\Media Server\.Processed"

The above expression works pretty well so far for movies, however, it always adds the space, dash, space stuff to every file, even if no multiple parts. I'm not familiar enough with the syntax to know how/if I can add some "if/else" handling to it?
Can anyone with more experience help me whip up the proper expression? It'd be much appreciated.
Thanks!