Hello! The following plugin will grant your server the getguildid("<Guild Name>") script command. It is quite self-explanatory. Simply enter the Guild Name for which you need the GID. Make sure you capture it too!
Example:
.@GID = getguildid("My Pro Guild");
// .@GID will now be equal to whatever the guild id of 'My Pro Guild' is.
// example, can be used with flagemblem
flagemblem(.@GID);
Hopefully no errors and compiles first time ...and hopefully this will get added to source as I hadn't found a similar functionality to it yet in our existing commands.
Download: https://pastebin.com/CpyT7WKm