GarQet
Own3d!
- Joined
- Feb 10, 2009
- Messages
- 1,381
- Solutions
- 14
- Reaction score
- 81
Hello OTlanders!
I have small request, I found two scripts on this board which change our name on login, but... How to change name like this:
First login: GarQet 1862
Second login: GarQet 42
Third login: GarQet 717109
X login: GarQet 94813
After name system draws a random number. How does it get?
Two scripts which i found:
I have small request, I found two scripts on this board which change our name on login, but... How to change name like this:
First login: GarQet 1862
Second login: GarQet 42
Third login: GarQet 717109
X login: GarQet 94813
After name system draws a random number. How does it get?
Two scripts which i found:
Code:
{
if(SRT == 1)
{
s << "[V] " << nameDescription;
else
s << nameDescription;
}
if(!hasCustomFlag(PlayerCustomFlag_HideLevel))
s << " (level " << level << ")";
s << ". " << (sex % 2 ? "He" : "She");
if(hasFlag(PlayerFlag_ShowGroupNameInsteadOfVocation))
s << " is " << group->getName();
else if(vocationId != 0)
s << " is " << vocation->getDescription();
else
s << " is a soul";
}
Code:
msg->AddString(creature->getHideName() ? "" : (creature->getPlayer() && creature->getPlayer()->isPremium() ? "[v] " : "") + creature->getName());