ablakok -> belövi az ablakokat a beállított helyükre, autoconnectnél ellövi ezt az aliast, akkor használd ha nem jó valami az ablakokkal.
ablakok2 -> fingom sincs mit csinál :)
Statusz ablakhoz van benne script amivel tudsz hozzáadni sort vagy törölni stb..
addtext
listtexts
stathelp
#CLASS {NEW_SCRIPTS|CHAT}
#ALIAS ablakok {#PRIORITY {#IF (%window( CaptureWindow)=0) {#MAKEWINDOW CaptureWindow open "left=47%|top=12%|width=15%|height=30%|floating=yes|scrolling=yes|_previous Redirect"} {#MAKEWINDOW CaptureWindow close}};#PRIORITY {#IF (%window( WhispWindow)=0) {#MAKEWINDOW WhispWindow open "left=47%|top=72%|width=15%|height=18%|floating=yes|scrolling=yes|persistant"} {#MAKEWINDOW WhispWindow close}}}
#ALIAS ablakok2 {#MENU {Layout|Auto Tiling|Multiple Tabs};#MENU {Layout|Quick Tiling|Multiple Tabbed}}
#ALIAS csatiteszt_sorteresre {#var at_hossz2 @at_screen - %len( @at_wrap);#if (@at_csati="csapat") {#var at_hossz1 @at_screen-(%len( @at_jatekos)+2+%len( @at_csapatnev)+7)} {#var at_hossz1 @at_screen-(%len( @at_jatekos)+2+%len( @at_csati)+2)};#var at_sor1 %copy( @at_msg, 1, @at_hossz1);#var at_sor2 %copy( @at_msg, %len( @at_sor1)+1, @at_hossz2);#var at_msg_ww @at_sor1;#if (@at_sor2!="") {#var at_msg_ww %concat( @at_sor1, " ", @at_wrap, @at_sor2)}}
#VAR CaptureList {JAG|duma|hip|aukcio|bug|haboru|jatek|kartya|koldul|pk|sport|vita|bk|demon|grat|jaghalal|kamu|kezdo|lyric|poen|tunder|wow|budo|amon|Aukcio Info|eden|demon|Borsodi duma}
#VAR CaptureHide {0}
#VAR CaptureSpacing {0} {0}
#REGEX {^.+ \<(\w+)\> mikor?} {mikorcs;%1 %^BOLD%^%^WHITE%^@res_timetext%^RESET%^} "" {disable}
#REGEX {\<(.*)\> (.*)} {#PRIORITY {#IF (%ismember( %1, @CaptureList)) {#CAPTURE CaptureWindow;#IF (@CaptureHide=1) {#GAG;#GAG -1};#IF (@CaptureSpacing=1) {#WINDOW CaptureWindow " "}}}}
#REGEX {^.{0,15} <.+ info>} {#cap CaptureWindow}
#REGEX "CapTell" {\S+ valaszolja: (.*)} {#CAP WhispWindow;#IF (%ends( "%1", """)) {#STATE CapTell 0} {#STATE CapTell 1};#COND {(*)} {#IF (!%null( "%1")) {#IF (%ends( "%1", """)) {#CAPTURE WhispWindow;#STATE CapTell 0} {#CAPTURE WhispWindow;#STATE CapTell 1}} {#STATE Captell 0}} {manual}} "" {disable}
#COND {(*)} {{#IF} {disable}
#REGEX {(.+) valaszolja: .*} {#CAP WhispWIndow %line;#window Brutalia2} "" {disable}
#REGEX {^([A-Za-z@]+) (uzeni|valaszolja|kialtja):} {#cap WhispWindow %line}
#REGEX {^([A-Za-z@]+) (reszere uzened|reszere valaszolod):} {#cap WhispWindow %line}
#CLASS 0
#CLASS {NEW_SCRIPTS|CHAT|StatusWindowExtender}
#ALIAS recalculate {#VAR TempOutput %null;#FORALL @StatusElements {#VAR TempOutput %concat(%expand(@TempOutput,1),%char(27),"[",%repeatnum.Row,"~;",%repeatnum.Column,"f",%expand(%repeatnum.Content, 1))};#EXEC %concat("#STW ",%char(34),%expand(@TempOutput, 1), %char(34))}
#ALIAS addtext {#VAR Found 0;#FORALL @StatusElements {#IF (%repeatnum.ID = "%1") {#VAR Found 1}};#IF (@Found = 0 and %isnumber(%2) and %isnumber(%3) and %2 > 0 and %3 > 0) {#ADDI StatusElements %addkey(%addkey(%addkey(%addkey(%null,"ID","%1"),"Row",%2),"Column",%3),"Content",%literal("%-4"));#SAY New status text ~(ID %1) added at row %2, column %3: %literal("%-4");recalculate} {#SAY Unable to add status text ~(could be due to a duplicate ID or an invalid row and column specification)}}
#ALIAS remtext {#VAR Found %null;#LOOP 1,%numitems(@StatusElements) {#IF (%db(%item(@StatusElements, %repeatnum),"ID") = "%1") {#VAR Found %if(@Found = %null,%repeatnum,%concat(%repeatnum,"|",@Found))}};#IF (@Found <> %null) {#FORALL @Found {#DELNITEM StatusElements %repeatnum};#SAY Status text ID %1 removed from display list;recalculate} {#SAY Unable to find ID %1 in current status elements.;listtexts}}
#ALIAS listtexts {#SAY Currently defined positional status window texts are:;#FORALL @StatusElements {#SHOWDB %repeatnum}}
#ALIAS stathelp {#SAY {%char( 10)%ansi( Yellow)Help for %ansi( Green)Status Window Extender};#SAY {%ansi( Yellow)%repeat( "-", 30)};#SAY {%ansi( Green)addtext ID row column text%ansi( yellow) ID is a unique specifier for the element to add to the status window Row and column start at 1};#SAY {%ansi( Green)remtext ID %ansi( yellow) Removes the text with the unique identifier ID};#SAY {%ansi( Green)listtexts %ansi( yellow) Displays the IDs, positions and content of all currently defined positional status window elements.
};#SAY {%ansi( Green)recalculate %ansi( yellow) Regenerates the status window definition from the list of text positions. This alias is executed internally by the script as needed and shouldn't be necessary unless the status window is overwritten with some other value.
};#SAY {%ansi( green)wehelp %ansi( byellow) This file.};#SAY {%ansi( Green)Example Usage:};#SAY {%ansi( Green)addtext HP 1 1 HP: ~@HP};#SAY {%ansi( green)addtext MV 1 10 MV: ~@MV};#SAY {%ansi( green)addtext Opponent 2 1 Current opponent: ~@Opponent};#SAY {%ansi( Yellow)%repeat( "-", 30)}}
#VAR TempOutput {}
#VAR StatusElements {}
#VAR Found {0}
#CLASS 0