diff --git a/common/movement.tf b/common/movement.tf index 0931f1c..43963b5 100644 --- a/common/movement.tf +++ b/common/movement.tf @@ -50,10 +50,6 @@ /eval /set krotki_kierunek=%{v}%;\ /set lwgo=0 -/def -i statusvar2 -/def -i statusvar3 -/def -i status - /def walkcmd = \ /if ({1} =~ "off")\ /set dowalkcmd=0%;\ @@ -85,7 +81,6 @@ /while (lw!~"") /lw5%; /done%;\ /set lw2=$[strcat(_lw0,_lw1,_lw2,_lw3,_lw4,_lw5,_lw6,_lw7,_lw8,_lw9,_lw10,_lw11,_lw12)]%;\ /set exits=$[substr(lw2,0,strlen(lw2)-1)]%;\ - /status%;\ /checkgo /def -mregexp -Fp2 -t'(Ruszasz .* na (.*)|podazasz .*za .* na (.*))\\.' ide_sobie = \ @@ -116,13 +111,13 @@ /endif /def checkgo=\ - /if (lwgo==1) \ - /if (lwcount==2) \ + /if (lwgo==1)\ + /if (lwcount==2)\ /def key_f12 = /testujwyjscia%;\ /def key_nkp5 = /testujwyjscia%;\ - /else \ + /else\ /set lwgo=0%;\ - /endif %;\ + /endif%;\ /endif /def testujwyjscia=\