fold schmold
This commit is contained in:
parent
fb5f9fcf08
commit
a0abf92a2d
|
@ -17,9 +17,12 @@ sub pokerschmoker_cb {
|
||||||
elsif($msg =~ /^c$/) {
|
elsif($msg =~ /^c$/) {
|
||||||
$msg = "check";
|
$msg = "check";
|
||||||
}
|
}
|
||||||
|
elsif($msg =~ /^f/) {
|
||||||
|
$msg = "fold";
|
||||||
|
}
|
||||||
|
|
||||||
return $msg;
|
return $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
weechat::register("pokerschmoker.pl", "flummi", "1.0", "MIT", "pokerschmoker", "", "");
|
weechat::register("pokerschmoker.pl", "flummi", "1.1", "MIT", "pokerschmoker", "", "");
|
||||||
weechat::hook_modifier("input_text_for_buffer", "pokerschmoker_cb", "");
|
weechat::hook_modifier("input_text_for_buffer", "pokerschmoker_cb", "");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user