ID:168272
 
Hi,all i was Wondering How would i password protect a character using a password and username ive seen some demos but what i want is a character which is already made but in order to access it requires a logni at the login screen is this possible if so how will i go about this?
Do you mean making the text asterik'd so nobody else can see it? Well then, use the "as password" function that people sometimes oversee.

mob/verb
input_password(t as password)
src << "Your password is [t]"


~~> Unknown Person
In response to Unknown Person
The 'as password' shouldn't work with proc arguments. You'll need to do an input() as password inside the actual proc.
In response to DarkView
Sorry, I meant that to be called as a verb. Edited.

~~> Unknown Person
In response to Unknown Person
How do i make it so that i want a certain character say i got a character like this

mob/verb
input_password(t as password)
src << "Your password is [t]"
new_mob = new /mob/characters/male()
new_mob.Powerlevel = 5
new_mob.mpowerlevel = 5
new_mob.mEnergy = 5
new_mob.Energy = 5
new_mob.dexterity = rand(1,100)
new_mob.name = name
src.client.mob = new_mob
new_mob.Move(startupLoc)



How will i make that password protected? do i just add the
the input password bit in?