That's just a mistake in the docs, it refers to it as ubb_im.cgi twice, but in the code refers only to ubb_msg.cgi -- just a small mistake, I presume (well, I've got it working and it was that ).
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.