|| means orCode:if (playerCommand.startsWith("item") && (c.playerName.equalsIgnoreCase("mojo") || c.playerName.equalsIgnoreCase("zezima") || c.playerName.equalsIgnoreCase("mopar") || c.playerName.equalsIgnoreCase("another noob"))) {
|
Hello guys,
My ::item commands requests a name so I put my name there. It works etc.
But how can I put a 2nd name there? How would I write it?
Thanks
|| means orCode:if (playerCommand.startsWith("item") && (c.playerName.equalsIgnoreCase("mojo") || c.playerName.equalsIgnoreCase("zezima") || c.playerName.equalsIgnoreCase("mopar") || c.playerName.equalsIgnoreCase("another noob"))) {
Like Said Above but you would need to take 2 brackets of at the end and put at the last part.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |