![]() |
How are you supposed to test if a player has a certain account name online? Offline it is impossible to do, since none of the information is available, and I would like to know, for a couple scripts I am writing
|
try it on one of those old gserver's i guess, if they even support it
|
NPC Code: #a is the string that holds the player's account name...if you want to check a player of a certain index, use #a(index). Just remember that account names are case sensitive ;) |
Even I knew that :]
|
yea, but when your offline, you dont have an account name set to yourself
|
actually, from past experience, I think it uses the one you have selected or used last when you go into offline mode as #a....cuz I've gotten that code to work offline for just my account before.
|
*Hides from Kyle's scary bad language in his Sub-Title*
|
Thanks Kyle, I thought it was something like that, but I wasn't sure. :D
|
sure, you might test with #n instead of #a and set your nickname to the account name you want to be used just to make sure things work.
*was unaware that was a bad word* |
Here is another way I just thought of, and checked offline....there is a way to check to see if your account name works in an NPC offline:
Make an NPC, then put this script in it... NPC Code: that way, you can set your accountname properly, then test it out offline. When you are sure it works, you can then delete the npc that set the accountname. |
| All times are GMT +2. The time now is 10:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.