• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Thread to close! Thread to close! Thread to close!

Status
Not open for further replies.

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:
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());
 
Status
Not open for further replies.
Back
Top