The quick answer to your question is that you probably want to change both instances of $currentresults, and leave the period in place. However in this step you're just editing a template so you don't need to worry about your syntax as much as if you were editing a script.
Hope you find this mod beneficial, let me know if you have any other questions!
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.