![]() |
isGlobalGuild(guildname)
I figured this would be handy for those who want to have a local guild system that allows people to name their own guilds without conflicting with global ones.
The only issue with it at the moment is that it doesn't auto-update, but that can be fixed if you have a loop check the count every hour or so. I'll leave that part up to you. After the script pulls all the guild information from the Graal website it's ready to be manipulated, and compared. Enjoy. PHP Code:
|
Awesome, just what I need! Thanks for sharing :)
|
You sure do enjoy using the link functionality of the new engine (such as the dictionary you released some time ago). :p
Nice work, definitely has some good use. |
Quote:
|
I think this is quite good actually, nice job ^^
|
There is already functionality for checking what a player's rank is in a global guild, you might consider using that. It will return blank values if the player is not a member of that guild. http://forums.graalonline.com/forums...03&postcount=1
|
Quote:
The sendtext method combined with my isGlobalGuild() solution should allow global guilds to be setup to use local guild-based systems. ( Minus the add/remove member features ) Perhaps if there was one for like.. checkguild guildname, then we wouldn't have to use my solution. Thus, we all profit. |
Quick Note:
Not sure if this is just an error on my side, but I found out that if you have an already global guild name, and try to check a guild name that isnt the same case as one of the global guilds stored but is the same exact text, It will say it is not a global guild. I.e say I use btk and see if it is a global guild (The case is actually BTK) It will return as no it's not a global guild. |
Quote:
PHP Code:
|
Would one be able to check the guild's creator/owner through this, too?
|
Quote:
Quote:
|
Dunno, I'll check it out whenever I have time. I'm making a local guild system and would like to reserve global guilds for their owners.
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 11:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.