Even though the event is within the brick, you have a /command call it. Plus, it gets the brick and ifs they are doing from vars that could....
Ok:function fxDTSBrick::Password(%brick,%arg1,%client)
{
%player = %client.player;
[b]if(%player.isenteringpassword == true)
return;[/b]
%player.brickpassword = getword(%arg1,0);
%player.passbrick = %brick;
if(%player.brickpassword $= "")
%brick.onPassword(%client);
%player.isenteringpassword = true;
messageclient(%client,'',"Enter password. <color:ffffff>[ /password thepass ]");
}
With this, if you start the enter password and forget, you'll be entering it to the old brick
And if the brick has an onIncorrect>player>kill, it will be extremely annoying.