SWEP - ironsight code?

Can anybody help me, I need a code snipped that works like the cs_base ironsight code, so when you rightclick you aim, and you use the SWEP.Ironsight.Vector and SWEP.Ironsight.Angle as normal… That is pretty much it… It could be sweet to have on the wiki to i think, it would help a lot of people… Thanks n’ stay greasy^^

Nevermind… Found out myself… TO anyone else wanin’ the same thing, use gcf scape and open the css addons. In lua\weapons there is a base… Stay greasy fp!