I'd personally love to have a nanogun, but I'm not entirely sure this is possible with Lua. I mean, there are scripts for alternate fire/multiple firing modes, sure, but I've never seen any weapons with more than two modes, and Iji's nanogun had a total of 16!
Of course, I'm also pretty ignorant of Lua, so maybe the actual script isn't that tough to make