Scripts/Commands: Add guild info to .pinfo

Original patch by @secharles, modified

Closes #8946