git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1235
c11ca15a-4712-0410-83d8-
924469b57eb5
$date =~ s/\w+\s+\w+\s+\d+\s+//;
$reply =~ s/\$time/$date/gi;
$date =~ s/\w+\s+\w+\s+\d+\s+//;
$reply =~ s/\$time/$date/gi;
+ # support $ident when I have multiple nicks
+ my $mynick = $conn->nick();
+
# dollar variables.
if ($flag) {
$reply =~ s/\$nick/$who/g;
# dollar variables.
if ($flag) {
$reply =~ s/\$nick/$who/g;
- $reply =~ s/\$ident/$ident/g;
+ $reply =~ s/\$ident/$mynick/g;
if ($reply =~ /\$startTime/) {
my $time = scalar(gmtime $^T);
if ($reply =~ /\$startTime/) {
my $time = scalar(gmtime $^T);