Thanks for finding that bug in PnP.

PnP is aware you've loaded PnP addons prior to PnP version 4. Because of that, the script requires script\addon320.mrc be loaded. If it cannot find it loaded it reloads it during startup. It errors because it's missing a '$+'

You will need to make a small change to L566 in script\first.mrc:
from:
Code
if ($script(addon320.mrc) == $null) .reload -rs $calc($script(0) - 2) script\addon320.mrc

to:
Code
if ($script(addon320.mrc) == $null) .reload -rs $+ $calc($script(0) - 2) script\addon320.mrc


I raised the issue on GitHub: (and closed it)
https://github.com/solbu/Peace-and-Protection/issues/41

P.S.: Out of interest (being a maintainer for PnP on GitHub) would you be willing to share the code for the addons: iRCop Command Addon and NickAlert?

Last edited by kap; 01/02/20 12:46 PM. Reason: Ask for source PnP addons

GNU Terry Pratchett - Looking for a mIRC help channel -> Check #mircscripting @ irc.swiftirc.net