its all put into a server.cs and a description.txt
and not that i know a thing of what im saying but,
function fxDTSBrick::Diamond(%client)
{
if($Pref::Server::RPGMod::Enabled==1)
{
%client.goldAmount+=20;
messageClient(%client,'',"\c6You collected \c21\c6 diamond. You now have \c2"@%client.goldAmount@"\c6 peices of gold.");
}
}
looks like there is a brick and when it is there it automatically runs gold amount increase and the message but that could be onclick... not sure