diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 1a0ade4b..863f028d 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -890,6 +890,7 @@ sub factlog { chomp $getopt_error; }; + $arguments =~ s/(? \$show_hostmask, diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 6d5589e1..bf0cfe13 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -470,7 +470,7 @@ sub expand_action_arguments { $action =~ s/\$args/$input/g; } - $input =~ s/'/\\'/g if defined $input; + $input =~ s/(? \$show_hostmasks, @@ -241,6 +242,7 @@ sub recall_message { foreach my $recall (@recalls) { my ($recall_nick, $recall_history, $recall_channel, $recall_before, $recall_after, $recall_context, $recall_count); + $recall =~ s/(? \$recall_channel, 'text|t|history|h:s' => \$recall_history, diff --git a/PBot/Plugins/Quotegrabs.pm b/PBot/Plugins/Quotegrabs.pm index 5756b169..16f7582d 100644 --- a/PBot/Plugins/Quotegrabs.pm +++ b/PBot/Plugins/Quotegrabs.pm @@ -322,6 +322,7 @@ sub show_random_quotegrab { chomp $getopt_error; }; + $arguments =~ s/(? \$channel_search, 'text|t=s' => \$text_search); diff --git a/PBot/Plugins/RemindMe.pm b/PBot/Plugins/RemindMe.pm index c2fdf89c..2ce6b77a 100644 --- a/PBot/Plugins/RemindMe.pm +++ b/PBot/Plugins/RemindMe.pm @@ -209,8 +209,7 @@ sub remindme { chomp $getopt_error; }; - $arguments =~ s/'/\\'/g; - + $arguments =~ s/(? \$repeat, 't:s' => \$alarm,