#######################
# CHECK FOR COMMAND?? #
#######################
if ($noqq == 0 && substr($mtext,-2,2) eq "??") {
if ($mtext =~ /^\Q$botname\E($botanswer)/i) {
sndtxt("Use either \002$botname, command\002 or \002command??\002, not both.");
next;
}
$mtext = "$botname, " . substr($mtext,0,length($mtext)-2);
$silent = 1;
}
if (lc($ffirstword) eq "seen") {
if ($silent == 0) {
$mtext = lc($botname) . ", " . $mtext;
}
}
Should I remove everything, or just the "??" with "" or "."
I dont have a clue when it comes to perl....or any language at this point..