local function pinkuBucket(line, mo)
	local player = mo.player
	if not (player and player.valid) then return end
	
	--To do: make this trigger only after a certain amount of jumps.
	line.frontside.textureoffset = line.frontside.textureoffset + 1
	if(line.frontside.textureoffset>50) then
		COM_BufAddText(nil, 'csay "\\\\\\Oooh...\\You bother me!\\Gotta punish you for this!!"')
		G_SetCustomExitVars(16, 1)
		for p in players.iterate() do
			P_DoPlayerFinish(p)
		end
	end
end

addHook("LinedefExecute", pinkuBucket, "PINKUBUC")