Sub FontColorChanger() var c, len = 3 DIM colors[ val( str( len ) ) ] colors[ 0 ] = "0x0000" colors[ 1 ] = "0x0000" colors[ 2 ] = "0x0000" if uo.getGlobal( "FontColorChanger::c" ) == "N/A" then c = 0 else c = val( uo.getGlobal( "FontColorChanger::c" ) ) endif uo.fontcolor( colors[ c ] ) if c + 1 == len c = 0 else c = c + 1 endif uo.setGlobal( "FontColorChanger::c", str( c ) ) endsub
Повесить это дело на энтер, забить массивчик и наслаждаться.. Должно неплохо работать, в принципе.. Я на работе - порты порезаны, не протестить -(
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Sub Sub FontColorChanger() var c, len = 3 DIM colors[ val( str( len ) ) ] colors[ 0 ] = "0x0044" colors[ 1 ] = "0x0035" colors[ 2 ] = "0x0026" if uo.getGlobal( "FontColorChanger::c" ) == "N/A" then c = 0 else c = val( uo.getGlobal( "FontColorChanger::c" ) ) endif uo.fontcolor( colors[ c ] ) if c + 1 == len then c = 0 else c = c + 1 endif uo.setGlobal( "FontColorChanger::c", str( c ) ) endsub
Sub FontColorChanger() var c, len = 3 DIM colors[ val( str( len ) ) ] colors[ 0 ] = "0x0023" colors[ 1 ] = "0x0044" colors[ 2 ] = "0x0066" if uo.getGlobal( "FontColorChanger::c" ) == "N/A" then c = 0 else c = val( uo.getGlobal( "FontColorChanger::c" ) ) endif uo.fontcolor( colors[ c ] ) if c + 1 == len then c = 0 else c = c + 1 endif uo.setGlobal( "FontColorChanger::c", str( c ) ) uo.say('') endsub
Sub FontColorChanger() var c, len = 3 DIM colors[ val( str( len ) ) ] colors[ 0 ] = "0x0023" colors[ 1 ] = "0x0044" colors[ 2 ] = "0x0066" if uo.getGlobal( "FontColorChanger::c" ) == "N/A" then c = 0 else c = val( uo.getGlobal( "FontColorChanger::c" ) ) endif uo.fontcolor( colors[ c ] ) if c + 1 == len then c = 0 else c = c + 1 endif uo.setGlobal( "FontColorChanger::c", str( c ) ) uo.say('') endsub