Miscellany
public text v1 · immutable if (strtolower(substr($msgwithoutident, 0, 8)) == 'channels')
{
$msgwithoutcommand = substr($msgwithoutident, 9, strlen($msgwithoutident)-9);
$vic = $msgwithoutcommand;
$att = $data->nick;
$chans =
"$att".": i am on the following channels: ";
$irc->message(SMARTIRC_TYPE_CHANNEL, $recip, $chans);
$valid_function = true;
}