On a side note, there's probably a better way to accomplish what you're trying to do, which appears to be some sort of warp the player somewhere if they are in water, the script could easily be replaced by using level warps.
Also your script is incredibly insecure. You don't need to send any extra parameters at all.
PHP Code:
function onActionWarpPlayerw() {
// Don't really need this array either
temp.dest = {"testtourny.nw", 2, 2};
player.setlevel2(dest[0], dest[1], dest[2]);
}
Then for your triggeraction all you would need is:
triggeraction(this.x + 0.5, this.y + 0.5, "WarpPlayerw", "");