| Blockland Forums > Modification Help |
| Preferred way to get the owner of a brick |
| << < (3/3) |
| Placid:
--- Quote from: Penguin/Person on August 24, 2010, 02:33:18 AM ---No. --- End quote --- would you read the rest of the loving post, he explains that this is not a way to find the owner but it is the list of variables. read more next time. |
| Destiny/Zack0Wack0:
--- Quote from: Penguin/Person on August 24, 2010, 02:33:18 AM ---No. --- End quote --- If you're so new to coding you shouldn't really be posting outside of your own topics. You're just making a fool of yourself. |
| Bauklotz:
--- Code: ---function getBrickOwner(%brick) { if(isObject(%brick.client)) return %brick.client.name; else return "BL_ID:" SPC %brick.getGroup().bl_id; } --- End code --- NINJA: Too late, already answered. :c |
| -Jetz-:
--- Quote from: Syntax on August 23, 2010, 06:57:46 PM ---%brick.dump(); shows all variables, and functions to do with that class/brick --- End quote --- That will only be useful if you want to do something with the console. A script will have to call the specific variable to work. |
| Navigation |
| Message Index |
| Previous page |