i saw the wiichuck library. how can i download it?
I think the instructions are somewhere on that page.
and will there be anything i need to change in the code to use the wireless nunchuk?
Unless you have a strange wireless nunchuk that requires a modified Wii controller you should be able to treat it like any other nunchuk (wireless or not).