How can I make a Scripted Weapon?

I was wondering: How do I make Scripted Weapons? I wanted to post a new (and better) Fus Ro Dah SWEP on the toybox, but I do not know how.

I was going to use sounds (Which I have) and a Particle effect that appears when you click (Which I have)

All I need to know is: How can the effect be emitted, and: How do I make a SWEP?

As your question/request is related to LUA you should consider taking a look at the Facepunch LUA Section. LUA Developers ain’t very active in the Help & Support section so you should try to post a thread in the Question or Request sub-forums of the Facepunch LUA Section!

Thanks, I’ll try later.