Getting JOIN messages with pIRCbot to work - Java

Thank you very much @george that worked. I see join messages now and can proceed.

When looking at the documentation, once the membership is established, which it now is, it says that you can get access to NAMES, JOIN, PART and MODE. So, for example, for the NAMES, does that mean I should be able to do something like…
PircBot.sendRawLine(“NAMES”);
…to get all the users in the channel? Or is it just saying that my onUserList() method should work now that I can “access that info” ?

Thank you