Zmiana aliasow, indentacja.

This commit is contained in:
Bartek Stalewski 2013-10-31 12:57:30 +01:00
parent e2a74c2f23
commit fa980e22e5
3 changed files with 109 additions and 109 deletions

View file

@ -11,13 +11,13 @@
/set wskazanie=%;\ /set wskazanie=%;\
/undef tempbind /undef tempbind
/def -Fp2 -mregexp -t'tes( fizycznie|) w swietnej kondycji' kon1 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), "] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) w swietnej kondycji' kon1 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), "] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) w dobrym stanie' kon2 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) w dobrym stanie' kon2 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) lekko rann.' kon3 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) lekko rann.' kon3 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) rann.' kon4 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) rann.' kon4 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_alarm_background}), " ] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) w zlej kondycji' kon5 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) w zlej kondycji' kon5 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_alarm_background}), " ] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) ciezko rann.' kon6 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_crit_background}), " ] ")] /def -Fp3 -mregexp -t'tes( fizycznie|) ciezko rann.' kon6 = /set kondycja=$[strcat("[", decode_attr(" ", {zc_crit_background}), " ] ")]
/def -Fp2 -mregexp -t'tes( fizycznie|) ledwo zyw.' kon7 = /set kondycja=$[strcat("[", decode_attr(" L E D W O ", {zc_crit_background}),"]")] /def -Fp3 -mregexp -t'tes( fizycznie|) ledwo zyw.' kon7 = /set kondycja=$[strcat("[", decode_attr(" L E D W O ", {zc_crit_background}),"]")]
/def -p2 -mregexp -t'(i jestes|Czujesz sie) w pelni wypoczet.' zmecz0 = /eval /set zmeczenie=$[strcat("[", decode_attr(" ", {zc_main_background}), "] ")] /def -p2 -mregexp -t'(i jestes|Czujesz sie) w pelni wypoczet.' zmecz0 = /eval /set zmeczenie=$[strcat("[", decode_attr(" ", {zc_main_background}), "] ")]
/def -p2 -mregexp -t'(i jestes|Czujesz sie) wypoczet.' zmecz1 = /set zmeczenie=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")] /def -p2 -mregexp -t'(i jestes|Czujesz sie) wypoczet.' zmecz1 = /set zmeczenie=$[strcat("[", decode_attr(" ", {zc_main_background}), " ] ")]

View file

@ -56,6 +56,6 @@
/eval /set zc_main_bold=C%c_main_bold /eval /set zc_main_bold=C%c_main_bold
/eval /set zc_main_background=Cbg%c_main /eval /set zc_main_background=Cbg%c_main
/eval /set zc_alarm=C%c_alarm /eval /set zc_alarm=C%c_alarm
/eval /set zc_alarm_background=Cbg%c_alarm_bold /eval /set zc_alarm_background=Cbg%c_alarm
/eval /set zc_crit=C%c_crit_bold /eval /set zc_crit=C%c_crit_bold
/eval /set zc_crit_background=Cbg%c_crit_bold /eval /set zc_crit_background=Cbg%c_crit_bold

View file

@ -1,97 +1,97 @@
/def comp = \ /def comp = \
/send porownaj sile z %{*}%;\ /send porownaj sile z %{*}%;\
/send porownaj zrecznosc z %{*} %;\ /send porownaj zrecznosc z %{*} %;\
/send porownaj wytrzymalosc z %{*} /send porownaj wytrzymalosc z %{*}
/def cel = \ /def cel = \
/if ( {*} !~ NULL )\ /if ( {*} !~ NULL )\
/if (strstr({*}, "|") != -1) \ /if (strstr({*}, "|") != -1) \
/let n=$[strchr({*}, '|')] %;\ /let n=$[strchr({*}, '|')] %;\
/test cel := substr({*}, 0, n) %;\ /test cel := substr({*}, 0, n) %;\
/test celu := substr({*}, n+1) %;\ /test celu := substr({*}, n+1) %;\
/else \ /else \
/set cel %{*} %;\ /set cel %{*} %;\
/set celu %{*} %;\ /set celu %{*} %;\
/endif %;\ /endif %;\
/endif %;\ /endif %;\
/echo -p #@{C%c_info}#@{n}# 1st: @{C%c_info}%cel@{n} (lamanie @{C%c_info}%celu@{n})%;\ /echo -p #@{C%c_info}#@{n}# 1st: @{C%c_info}%cel@{n} (lamanie @{C%c_info}%celu@{n})%;\
/echo -p #@{C%c_info}#@{n}# 2nd: @{C%c_info}%cel2@{n} (lamanie @{C%c_info}%cel2u@{n})%;\ /echo -p #@{C%c_info}#@{n}# 2nd: @{C%c_info}%cel2@{n} (lamanie @{C%c_info}%cel2u@{n})%;\
/echo -p #@{C%c_info}#@{n}# Typ: @{C%c_info}%opis_ataku@{n} /echo -p #@{C%c_info}#@{n}# Typ: @{C%c_info}%opis_ataku@{n}
/def cel2 = \ /def cel2 = \
/if ( {*} !~ NULL )\ /if ( {*} !~ NULL )\
/if (strstr({*}, "|") != -1) \ /if (strstr({*}, "|") != -1) \
/let n=$[strchr({*}, '|')] %;\ /let n=$[strchr({*}, '|')] %;\
/test cel2 := substr({*}, 0, n) %;\ /test cel2 := substr({*}, 0, n) %;\
/test cel2u := substr({*}, n+1) %;\ /test cel2u := substr({*}, n+1) %;\
/else \ /else \
/set cel2 %{*} %;\ /set cel2 %{*} %;\
/set cel2u %{*} %;\ /set cel2u %{*} %;\
/endif %;\ /endif %;\
/endif %;\ /endif %;\
/echo -p #@{C%c_info}#@{n}# 1st: @{C%c_info}%cel@{n} (lamanie @{C%c_info}%celu@{n})%;\ /echo -p #@{C%c_info}#@{n}# 1st: @{C%c_info}%cel@{n} (lamanie @{C%c_info}%celu@{n})%;\
/echo -p #@{C%c_info}#@{n}# 2nd: @{C%c_info}%cel2@{n} (lamanie @{C%c_info}%cel2u@{n})%;\ /echo -p #@{C%c_info}#@{n}# 2nd: @{C%c_info}%cel2@{n} (lamanie @{C%c_info}%cel2u@{n})%;\
/echo -p #@{C%c_info}#@{n}# Typ: @{C%c_info}%opis_ataku@{n} /echo -p #@{C%c_info}#@{n}# Typ: @{C%c_info}%opis_ataku@{n}
/def am = \ /def am = \
/if ( {1} =~ "1" ) \ /if ( {1} =~ "1" ) \
/set attackmode=1 %;\ /set attackmode=1 %;\
/set opis_ataku atak %;\ /set opis_ataku atak %;\
/elseif ( {1} =~ "2") \ /elseif ( {1} =~ "2") \
/set attackmode=2 %;\ /set attackmode=2 %;\
/set opis_ataku wskazanie - atak %;\ /set opis_ataku wskazanie - atak %;\
/elseif ( {1} =~ "3") \ /elseif ( {1} =~ "3") \
/set attackmode=3 %;\ /set attackmode=3 %;\
/set opis_ataku atak - wskazanie - rozkaz %;\ /set opis_ataku atak - wskazanie - rozkaz %;\
/elseif ( {1} =~ "4") \ /elseif ( {1} =~ "4") \
/set attackmode=4 %;\ /set attackmode=4 %;\
/set opis_ataku lamanie - atak - wskazanie - rozkaz %;\ /set opis_ataku lamanie - atak - wskazanie - rozkaz %;\
/elseif ( {1} =~ "5") \ /elseif ( {1} =~ "5") \
/set attackmode=5 %;\ /set attackmode=5 %;\
/set opis_ataku atak - przedstawienie - wskazanie - rozkaz %;\ /set opis_ataku atak - przedstawienie - wskazanie - rozkaz %;\
/elseif ( {1} =~ "6") \ /elseif ( {1} =~ "6") \
/set attackmode=6 %;\ /set attackmode=6 %;\
/set opis_ataku lamanie - atak - przedstawienie - wskazanie - rozkaz %;\ /set opis_ataku lamanie - atak - przedstawienie - wskazanie - rozkaz %;\
/elseif ( {1} =~ "help" )\ /elseif ( {1} =~ "help" )\
/echo -p #@{C%c_info}#@{n}# --------------------------------------------------------@{n} %;\ /echo -p #@{C%c_info}#@{n}# --------------------------------------------------------@{n} %;\
/echo -p #@{C%c_info}#@{n}# 1: atak @{n} %;\ /echo -p #@{C%c_info}#@{n}# 1: atak @{n} %;\
/echo -p #@{C%c_info}#@{n}# 2: wskazanie - atak @{n} %;\ /echo -p #@{C%c_info}#@{n}# 2: wskazanie - atak @{n} %;\
/echo -p #@{C%c_info}#@{n}# 3: atak - wskazanie - rozkaz @{n} %;\ /echo -p #@{C%c_info}#@{n}# 3: atak - wskazanie - rozkaz @{n} %;\
/echo -p #@{C%c_info}#@{n}# 4: lamanie - atak - wskazanie - rozkaz @{n} %;\ /echo -p #@{C%c_info}#@{n}# 4: lamanie - atak - wskazanie - rozkaz @{n} %;\
/echo -p #@{C%c_info}#@{n}# 5: atak - przedstawienie - wskazanie - rozkaz @{n} %;\ /echo -p #@{C%c_info}#@{n}# 5: atak - przedstawienie - wskazanie - rozkaz @{n} %;\
/echo -p #@{C%c_info}#@{n}# 6: lamanie - atak - przedstawienie - wskazanie - rozkaz@{n} %;\ /echo -p #@{C%c_info}#@{n}# 6: lamanie - atak - przedstawienie - wskazanie - rozkaz@{n} %;\
/echo -p #@{C%c_info}#@{n}# --------------------------------------------------------@{n} %;\ /echo -p #@{C%c_info}#@{n}# --------------------------------------------------------@{n} %;\
/else \ /else \
/echo -p #@{C%c_info}#@{n}# Typ ataku: @{C%c_info}%opis_ataku@{n} %;\ /echo -p #@{C%c_info}#@{n}# Typ ataku: @{C%c_info}%opis_ataku@{n} %;\
/endif /endif
/alias x \ /alias x \
/if (strstr({*}, "|") != -1) \ /if (strstr({*}, "|") != -1) \
/let n=$[strchr({*}, '|')] %;\ /let n=$[strchr({*}, '|')] %;\
/test p1 := substr({*}, 0, n) %;\ /test p1 := substr({*}, 0, n) %;\
/test p2 := substr({*}, n+1) %;\ /test p2 := substr({*}, n+1) %;\
/_atak %{p1}|%{p2} %;\ /_atak %{p1}|%{p2} %;\
/else \ /else \
/_atak %{*}|%{*} %;\ /_atak %{*}|%{*} %;\
/endif /endif
/alias x1 /_atak %{cel}|%{celu} /alias x1 /_atak %{cel}|%{celu}
/alias x2 /_atak drugiego %{cel}|drugiego %{celu} /alias x2 /_atak drugiego %{cel}|drugiego %{celu}
/alias x3 /_atak trzeciego %{cel}|trzeciego %{celu} /alias x3 /_atak trzeciego %{cel}|trzeciego %{celu}
/alias x4 /_atak czwartego %{cel}|czwartego %{celu} /alias x4 /_atak czwartego %{cel}|czwartego %{celu}
/alias x5 /_atak piatego %{cel}|piatego %{celu} /alias x5 /_atak piatego %{cel}|piatego %{celu}
/alias x6 /_atak szostego %{cel}|szostego %{celu} /alias x6 /_atak szostego %{cel}|szostego %{celu}
/alias c1 /_atak %{cel2}|%{cel2u} /alias c1 przelam obrone %{celu}
/alias c2 /_atak drugiego %{cel2}|drugiego %{cel2u} /alias c2 przelam obrone drugiego %{celu}
/alias c3 /_atak trzeciego %{cel2}|trzeciego %{cel2u} /alias c3 przelam obrone trzeciego %{celu}
/alias c4 /_atak czwartego %{cel2}|czwartego %{cel2u} /alias c4 przelam obrone czwartego %{celu}
/alias c5 /_atak piatego %{cel2}|piatego %{cel2u} /alias c5 przelam obrone piatego %{celu}
/alias c6 /_atak szostego %{cel2}|szostego %{cel2u} /alias c6 przelam obrone szostego %{celu}
/alias v1 przelam obrone %{celu} /alias v1 /_atak %{cel2}|%{cel2u}
/alias v2 przelam obrone drugiego %{celu} /alias v2 /_atak drugiego %{cel2}|drugiego %{cel2u}
/alias v3 przelam obrone trzeciego %{celu} /alias v3 /_atak trzeciego %{cel2}|trzeciego %{cel2u}
/alias v4 przelam obrone czwartego %{celu} /alias v4 /_atak vzwartego %{cel2}|czwartego %{cel2u}
/alias v5 przelam obrone piatego %{celu} /alias v5 /_atak piatego %{cel2}|piatego %{cel2u}
/alias v6 przelam obrone szostego %{celu} /alias v6 /_atak szostego %{cel2}|szostego %{cel2u}
/alias b1 przelam obrone %{cel2u} /alias b1 przelam obrone %{cel2u}
/alias b2 przelam obrone drugiego %{cel2u} /alias b2 przelam obrone drugiego %{cel2u}
/alias b3 przelam obrone trzeciego %{cel2u} /alias b3 przelam obrone trzeciego %{cel2u}
@ -100,33 +100,33 @@
/alias b6 przelam obrone szostego %{cel2u} /alias b6 przelam obrone szostego %{cel2u}
/def _war_binds = \ /def _war_binds = \
/def key_f9 = /_atak %%{cel}|%%{celu} %;\ /def key_f9 = /_atak %%{cel}|%%{celu} %;\
/def key_f10 = /_atak %%{cel2}|%{cel2u} %;\ /def key_f10 = /_atak %%{cel2}|%{cel2u} %;\
/def key_esc_f9 = /send przelam obrone %%{celu} %;\ /def key_esc_f9 = /send przelam obrone %%{celu} %;\
/def key_esc_f10 = /send przelam obrone %%{cel2u} %;\ /def key_esc_f10 = /send przelam obrone %%{cel2u} %;\
/def key_f11 = /send przestan walczyc %;\ /def key_f11 = /send przestan walczyc %;\
/if ( {ktype} =~ "mac" ) \ /if ( {ktype} =~ "mac" ) \
/def key_f16 = /_atak %%{cel}|%%{celu} %;\ /def key_f16 = /_atak %%{cel}|%%{celu} %;\
/def key_f17 = /_atak %%{cel2}|%%{cel2u} %;\ /def key_f17 = /_atak %%{cel2}|%%{cel2u} %;\
/def key_esc_shift_f4 = /send przelam obrone %%{celu} %;\ /def key_esc_shift_f4 = /send przelam obrone %%{celu} %;\
/def key_esc_shift_f5 = /send przelam obrone %%{cel2u} %;\ /def key_esc_shift_f5 = /send przelam obrone %%{cel2u} %;\
/def key_f18 = /send przestan walczyc %;\ /def key_f18 = /send przestan walczyc %;\
/endif /endif
/_war_binds /_war_binds
/def -mregexp -Fp2 -t'.* wydaje ci rozkaz ataku na (.*).' _order_atak = \ /def -mregexp -Fp2 -t'.* wydaje ci rozkaz ataku na (.*).' _order_atak = \
/set atakowany=$[tolower({P1})] %;\ /set atakowany=$[tolower({P1})] %;\
/echo %;\ /echo %;\
/echo -p @{C%c_crit_bold}>>> ROZKAZ ATAKU NA @{n}%atakowany@{C%c_crit_bold} <<<@{n} %;\ /echo -p @{C%c_crit_bold}>>> ROZKAZ ATAKU NA @{n}%atakowany@{C%c_crit_bold} <<<@{n} %;\
/echo %;\ /echo %;\
/set wskazanie=%{atakowany} %;\ /set wskazanie=%{atakowany} %;\
/def -b'[' _atakporozkazie = zabij %atakowany %%; /set wskazanie= %;\ /def -b'[' _atakporozkazie = zabij %atakowany %%; /set wskazanie= %;\
/def -b']' = przelam obrone %atakowany /def -b']' = przelam obrone %atakowany
/def -mregexp -Fp2 -t'(.*) wydaje .*rozkaz zasloniecia (.*).' _order_zaslona = \ /def -mregexp -Fp2 -t'(.*) wydaje .*rozkaz zasloniecia (.*).' _order_zaslona = \
/echo %;\ /echo %;\
/echo -p @{C%c_crit_bold}>>> @{n}%P1@{C%c_crit_bold} chce zasloniecia @{n}%P2@{C%c_crit_bold} <<< %;\ /echo -p @{C%c_crit_bold}>>> @{n}%P1@{C%c_crit_bold} chce zasloniecia @{n}%P2@{C%c_crit_bold} <<< %;\
/echo /echo
/def -mregexp -Fp2 -t'Atakujesz' atakujesz = /beep 1 %; /sneak off /def -mregexp -Fp2 -t'Atakujesz' atakujesz = /beep 1 %; /sneak off
/def -mregexp -Fp2 -t' atakuje ' atakuje_ktos = /beep 1 /def -mregexp -Fp2 -t' atakuje ' atakuje_ktos = /beep 1