![]() |
Catching cross server guilds on login?
This might be confusing but..
Is it possible, for example for me to set my nickname to my global guild when I login. And catch that on a server that has global guilds disabled? I wan't to try and get the guild before it takes it away. The reason is this could be nice if servers with scripted guilds could automatically reconnect after a player reconnects or gets disconnected. I was thinking maybe theres a GUI control that can catch the event already? Can't remember. |
Ahh, for example if I'm on Zodiac with *shrimps (Steele) and I log into Kingdoms, I get to keep the *shrimps (Steele) with the Clan system on Kingdoms? Instead of having to put my tag back on?
|
Quote:
Edit: Apparently using onActionPlayerOnline() in the Control-NPC will works. But it could be confusing. I will explain. PHP Code:
Also, while I can read the variable to a client flag, I still cannot get it to automatically set the tag. :( Any ideas on that would be great. |
Did you try something like...
PHP Code:
PHP Code:
PHP Code:
|
Quote:
Control-NPC PHP Code:
PHP Code:
|
Ah okay. Didn't understand what you were trying to do.
So you want to always preserve the player's guild through nickname changes unless they set a new guild? Then your function looks correct, minus giving players the ability to specify a new guild tag. What's wrong with it? |
All times are GMT +2. The time now is 01:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.