Read Then Write, intercept usb?

right, so, i have an idea but i dunno how to do it?

I don't have much experience with the arduino language,
and all i want to do is be able to splice a usb into my arduino,
to intercept any signals/pulses, write them to memory or serial,
then make another sketch to write those over and over.

for example: 1. press button 1 on a mouse,2. arduino records this,3. arduino replays this over and over really fast to the PC to make it think i am clicking loads(this is not my intention, but is the same concept.)

If you want an Arduino that can send mouse or keyboard commands to a PC you need a Leonardo. Look up the "keyboard" function in the Arduino reference.

I don't think it will be easy to get the Arduino to detect a mouse click because few of them can act as a USB Host. But you could use a push button instead.

...R

for example: 1. press button 1 on a mouse,2. arduino records this,3. arduino replays this over and over really fast to the PC to make it think i am clicking loads(this is not my intention, but is the same concept.)

Your best bet is to hack the button in the mouse so the arduino can control it. A resistor and an NPN transistor might do the job.