The following Maya expression detects a particle collision and sets attributes to a fluid container. Must have an empty particle collision event. This script was researched from other sources and modified to fit my needs.

if(particleShape1.event > 0)
{
//get particle position at point of impact
vector $colPos = particleShape1.worldPosition;
$colX = $colPos.x;
$colY = $colPos.y;
$colZ = $colPos.z;

//get which voxel the point of impact its in
vector $cpVoxel = `fluidVoxelInfo -voxel $colX $colY $colZ fluid1`;
$pvX = $cpVoxel.x;
$pvY = $cpVoxel.y;
$pvZ = $cpVoxel.z;

//Add fluid attributes each time a particle collides with the surface.
eval setFluidAttr -at "density" -xi $pvX -yi $pvY -zi $pvZ -fv 30 fluid1;
eval setFluidAttr -at "temperature" -xi $pvX -yi $pvY -zi $pvZ -fv 150 fluid1;
eval setFluidAttr -at "fuel" -xi $pvX -yi $pvY -zi $pvZ -fv 80 fluid1;

//kill the particle at impact
particleShape1.lifespanPP = 0;
}

I don't know about you, but I hate trying to import namespaces and then trying to edit them, even though Maya 2011 on up has a Namespace editor...the last time I tried it, I got annoyed so I created a little script to easily remove namespaces...

//Namespace Remove Tool
string $NSR_Win = `window -t "NameSpace Removal"`;

//Make the window a columnLayout and adjustable
columnLayout -adj 1;
text -label "Name to remove: ";
string $NS_Name = `textField`;
//remove namespace button
button -l "Remove Namespace" -c "removeNameSpace($NS_Name)";
//close Button
button -l "Close" -c "deleteUI -window $NSR_Win";

//shows our namespace window
showWindow $NSR_Win;

proc removeNameSpace(string $NS_Name)
{
string $getText;
$getText = `textField -query -text $NS_Name`;
namespace -mv $getText":" -force;
}