If you've played it wrong but it sounds right - that's diminished! Duh, could be an augmented chord too.
Ah so, so you should go and visit some guitar site and print out the diminished scale. The more you do your own work the more you will improve. Trust me on this.
Cheers
RoRK