diff --git a/common/map.tf b/common/map.tf index 6617caf..7bda59d 100644 --- a/common/map.tf +++ b/common/map.tf @@ -144,7 +144,16 @@ /def -aL -mregexp -t'alert:' _map_prompt_alert = /test map_prompt_display("@{Crgb500}", "%{PR}") /eval /def -mregexp -h'SEND ^(%{_map_standard_exits})$$' _map_hooks_ide_normal = \ - /send %%{P0}%%;\ + /if ({sneak} =~ "off" )\ + /send %%{P0}%%;\ + /hide off%%;\ + /elseif ({sneak} =~ "ON" )\ + /send przemknij %%{P0}%%;\ + /hide on%%;\ + /elseif ({sneak} =~ "GRP" )\ + /send przemknij z druzyna %%{P0}%%;\ + /hide on%%;\ + /endif%%;\ /set lwgo=1%%;\ /set lwlast=%%{P1}%%;\ /if ({dowalkcmd} =~ "1")\ @@ -152,7 +161,6 @@ /endif%%;\ /def key_f12%%;\ /def key_nkp5%%;\ - /hide off%%;\ /_map_go exit:%%{P1} /eval /def -mregexp -h'SEND ^(przemknij (?:sie |)(?:z druzyna |))(%{_map_standard_exits})$$' _map_hooks_ide_sneak = \