| Blockland Forums > Modification Help |
| Is there a way to force two people to have trust? |
| << < (3/4) > >> |
| Maerwynn:
I love doing this on my servers and messing with people... Nothing too bad though. |
| Lugnut:
--- Quote from: Chrono on February 21, 2012, 04:29:07 PM ---Forcing between 2 IDs: --- Code: ---function ForceTrustLevel(%id1,%id2,%level) { %bg1 = "brickGroup_" @ %id1; %bg2 = "brickGroup_" @ %id2; %bg1.trust[%id2] = %level; %bg2.trust[%id1] = %level; } --- End code --- Doesn't check for any possible errors. --- End quote --- Dynamic and works. Thanks. |
| Ephialtes:
setMutualBrickGroupTrust(id1,id2,trust level); |
| MrLoL:
--- Quote from: Ephialtes on February 22, 2012, 06:32:51 AM ---setMutualBrickGroupTrust(id1,id2,trust level); --- End quote --- Woah, useful! |
| Lugnut:
--- Quote from: Ephialtes on February 22, 2012, 06:32:51 AM ---setMutualBrickGroupTrust(id1,id2,trust level); --- End quote --- All of a sudden I'm seeing the importance of not locking Coding Help topics. |
| Navigation |
| Message Index |
| Next page |
| Previous page |