getguildid Script Command

bWolfie

I'm the man
Messages
850
Points
0
Location
Alberta, Midgard
Github
bWolfie
Emulator
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:

Code:
.@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 :D ...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

 
Back
Top