0 onActivate self vce_retrocheck bl_id != <var:br:currentID> 1 7
1 onVariablefalse client centerprint "You have this already"
2 onVariabletrue self vce_modvariable currentID set <var:cl:bl_id>
3 onVariabletrue self vce_modVariable looping set false
4 onVariabletrue client vce_modvariable tech add 2
5 onVariabletrue client centerprint "Tech acquired"
[1000] 6 onVariabletrue self vce_modvariable looping set true
[1000] 7 onVariabletrue self fireRelay
8 onRelay self vce_ifvariable looping == true 9 11
9 [1000] onVariabletrue self fireRelay
10 onVariablefalse client centerprint "Tech lost"
11 onVariablefalse client vce_modvariable tech sub 2
Bleh... That was boring to type...
Anyway: clicking this the first tine will give the player tech, set their id to the brick, and fire a relay. Onrelay, it checks to see if its looping. If it is, it'll fire another relay a second later [delay is changable].
Then when someone else clicks it, looping becomes false, and within a second the first persons looping is canceled and they lose tech.
After making sure no one is looping anymore, looping is turned back on for the next person.