The code provided in this function is what will be executed when a player either completes an achievement, or when a player progresses in an achievement that requires X amount of something.
To make your own, you must know Lua.
XTASK.onShared = function( )
// your code here
end