this.getParent().sendPrivMsg(sendTo,
"!isuserinchan requires two arguments.");
return;
}
Channel channel = this.getParent().getChannelForName(
msgSplit[2]);
if (channel == null)
{
this.getParent().sendPrivMsg(sendTo,
"We are not in that channel.");
return;
}
this.getParent().sendPrivMsg(sendTo,
"Status: " + channel.isUserInChannel(msgSplit[1]));
}
}
}