triggeraction( this.x +.5, this.y +.5, "BuyWep", [...] );
function onActionBuyWep( [...] ) { player.chat = "trigger2"; [...] }