i have never done a rotation battle and used spikes mainly because i dont know wether it would work
every time you rotate do you get spiked or is it just every time you switch out and same for stealth rocks and ttoxic spikes
No, it wouldn't work in a rotation battle. Toxic spikes/spikes only come into effect when the opponent switches Pokemon. This also goes for Stealth Rock.
Hope this helps =)
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.