How to make sweps

Can anyone tell me how to make sweps? I have no idea, all i know is you have download some Lua or something? Can anyone tell me what to do.