ID:169533
Jun 5 2005, 1:20 pm
|
|
Hey, i want to give admin powers and character choices to certain users, but i don't know how to specify certain clients, anybody with some help?
|
Jun 5 2005, 1:26 pm
|
|
address, ckey, key
|
In response to Hell Ramen
|
|
.....what?
|
In response to Telk
|
|
client.key is the player's Byond Key
client.ckey is the same as key but all small caps, no punctuation, etc. client.address is the IP of the player thats what he means To give verbs to people use something like this: mob This exemple gives a player the ability to add the Boot() verb. |
In response to FranquiBoy
|
|
hmmm well im still a little confused i mean so far i have this
client var admin = 0 and then i set up a character select sreen where if ur admin is less than or equal to 0, u get basic characters, but if its 1 and up, u can choose special ones. but still, i know what key, ckey, and address mean, but how do i enter them? like this or something if(client.key = *name*) admin = 1 ??????????? |
To add easy admin powers, do something with a list like the following:
var/list/GMs=list("Reinhartstar")//Add key here |
In response to Telk
|
|
mob
Login() .=..() //Set the default return to continue the default actions if(ckey==ckey("Telk")) //Checks if your key is yours Admin=1 //If it is, your an admin else Admin=0 //If it isnt, your a regular person |
In response to Telk
|
|
var/list/adminips=list() |