Your IP : 172.28.240.42


Current Path : /var/www/html/clients/amz.e-nk.ru/0pjithr/index/
Upload File :
Current File : /var/www/html/clients/amz.e-nk.ru/0pjithr/index/mikrotik-script-if-else.php

<!DOCTYPE html>
<html class="" data-skin="light" lang="id">
<head>

	
  <meta charset="UTF-8">

	
	
  <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style><!-- This site is optimized with the Yoast SEO plugin v25.2 -  -->
	
	
	
	
  <title></title>
 
  <style type="text/css">
			:root{				
			--tie-preset-gradient-1: linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%);
			--tie-preset-gradient-2: linear-gradient(135deg, rgb(122, 220, 180) 0%, rgb(0, 208, 130) 100%);
			--tie-preset-gradient-3: linear-gradient(135deg, rgba(252, 185, 0, 1) 0%, rgba(255, 105, 0, 1) 100%);
			--tie-preset-gradient-4: linear-gradient(135deg, rgba(255, 105, 0, 1) 0%, rgb(207, 46, 46) 100%);
			--tie-preset-gradient-5: linear-gradient(135deg, rgb(238, 238, 238) 0%, rgb(169, 184, 195) 100%);
			--tie-preset-gradient-6: linear-gradient(135deg, rgb(74, 234, 220) 0%, rgb(151, 120, 209) 20%, rgb(207, 42, 186) 40%, rgb(238, 44, 130) 60%, rgb(251, 105, 98) 80%, rgb(254, 248, 76) 100%);
			--tie-preset-gradient-7: linear-gradient(135deg, rgb(255, 206, 236) 0%, rgb(152, 150, 240) 100%);
			--tie-preset-gradient-8: linear-gradient(135deg, rgb(254, 205, 165) 0%, rgb(254, 45, 45) 50%, rgb(107, 0, 62) 100%);
			--tie-preset-gradient-9: linear-gradient(135deg, rgb(255, 203, 112) 0%, rgb(199, 81, 192) 50%, rgb(65, 88, 208) 100%);
			--tie-preset-gradient-10: linear-gradient(135deg, rgb(255, 245, 203) 0%, rgb(182, 227, 212) 50%, rgb(51, 167, 181) 100%);
			--tie-preset-gradient-11: linear-gradient(135deg, rgb(202, 248, 128) 0%, rgb(113, 206, 126) 100%);
			--tie-preset-gradient-12: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
			--tie-preset-gradient-13: linear-gradient(135deg, #4D34FA, #ad34fa);
			--tie-preset-gradient-14: linear-gradient(135deg, #0057FF, #31B5FF);
			--tie-preset-gradient-15: linear-gradient(135deg, #FF007A, #FF81BD);
			--tie-preset-gradient-16: linear-gradient(135deg, #14111E, #4B4462);
			--tie-preset-gradient-17: linear-gradient(135deg, #F32758, #FFC581);

			
					--main-nav-background: #FFFFFF;
					--main-nav-secondry-background: rgba(0,0,0,);
					--main-nav-primary-color: #0088ff;
					--main-nav-contrast-primary-color: #FFFFFF;
					--main-nav-text-color: #2c2f34;
					--main-nav-secondry-text-color: rgba(0,0,0,0.5);
					--main-nav-main-border-color: rgba(0,0,0,0.1);
					--main-nav-secondry-border-color: rgba(0,0,0,);
				
			}
		</style>
	
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <style id="wp-block-library-theme-inline-css" type="text/css">
.wp-block-audio :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio :where(figcaption){color:#ffffffa6}.wp-block-audio{margin:0 0 1em}.wp-block-code{border:1px solid #ccc;border-radius:4px;font-family:Menlo,Consolas,monaco,monospace;padding:.8em 1em}.wp-block-embed :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed :where(figcaption){color:#ffffffa6}.wp-block-embed{margin:0 0 1em}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:#ffffffa6}:root :where(.wp-block-image figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme :root :where(.wp-block-image figcaption){color:#ffffffa6}.wp-block-image{margin:0 0 1em}.wp-block-pullquote{border-bottom:4px solid;border-top:4px solid;color:currentColor;margin-bottom:}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:currentColor;font-size:.8125em;font-style:normal;text-transform:uppercase}.wp-block-quote{border-left:.25em solid;margin:0 0 ;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote:where(.has-text-align-right){border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote:where(.has-text-align-center){border:none;padding-left:0}.,.,.wp-block-quote:where(.is-style-plain){border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-search__button{border:1px solid #ccc;padding:.375em .625em}:where(.){padding: }.{opacity:.4}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto}.{opacity:1}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.:not(.is-style-dots){border-bottom:none;height:1px}.:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{margin:0 0 1em}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table :where(figcaption){color:#ffffffa6}.wp-block-video :where(figcaption){color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video :where(figcaption){color:#ffffffa6}.wp-block-video{margin:0 0 1em}:root :where(.){margin-bottom:0;margin-top:0;padding: }
  </style>
  <style id="classic-theme-styles-inline-css" type="text/css">
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc( + 2px);font-size:}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
  </style>
  <style id="global-styles-inline-css" type="text/css">
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: ;--wp--preset--spacing--30: ;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: ;--wp--preset--spacing--60: ;--wp--preset--spacing--70: ;--wp--preset--spacing--80: ;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: ;}:where(.is-layout-grid){gap: ;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.){gap: 2em;}:where(.){gap: 2em;}:where(.){gap: ;}:where(.){gap: ;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
:where(.){gap: ;}:where(.){gap: ;}
:where(.){gap: 2em;}:where(.){gap: 2em;}
:root :where(.wp-block-pullquote){font-size: ;line-height: 1.6;}
  </style>


  <style id="tie-css-print-inline-css" type="text/css">
html .entry h3{font-size: 22px;}html .entry h4{font-size: 20px;}html .,html .container-wrapper{box-shadow: 0 5px 15px 0 rgba(0,0,0,);}html .dark-skin .,html .dark-skin .container-wrapper{box-shadow: 0 5px 15px 0 rgba(0,0,0,0.2);}html ::-moz-selection{background-color: #0088ff;color: #FFFFFF;}html ::selection{background-color: #0088ff;color: #FFFFFF;}html a:hover,html body .entry a:hover,html .dark-skin body .entry a:hover,html .comment-list .comment-content a:hover{color: #e74c3c;}html #the-post .entry-content a:not(.shortc-button):hover{color: #e74c3c !important;}html .post-cat{background-color:#e74c3c !important;color:#FFFFFF !important;}html #respond .comment-form-email{width: 100% !important;float: none !important;}html body .mag-box .breaking,html body .social-icons-widget .social-icons-item .social-link,html body .widget_product_tag_cloud a,html body .widget_tag_cloud a,html body .post-tags a,html body .widget_layered_nav_filters a,html body .post-bottom-meta-title,html body .post-bottom-meta a,html body .post-cat,html body .show-more-button,html body # .follow-button,html body .cat-counter a + span,html body .mag-box-options .slider-arrow-nav a,html body .main-menu .cats-horizontal li a,html body #,html body .pages-numbers a,html body .pages-nav-item,html body .bp-pagination-links .page-numbers,html body .fullwidth-area .widget_tag_cloud .tagcloud a,html body  ,html body  ,html body #tie-popup-search-mobile {border-radius: 35px;}html body .mag-box  li{border: 0 !important;}html body #{padding-right: 40px;padding-left: 40px;}html body .post-bottom-meta-title,html body .post-bottom-meta a,html body .more-link{padding-right: 15px;padding-left: 15px;}html body #masonry-grid .container-wrapper .post-thumb img{border-radius: 0px;}html body .video-thumbnail,html body .review-item,html body .review-summary,html body .user-rate-wrap,html body textarea,html body input,html body select{border-radius: 5px;}html body .post-content-slideshow,html body #tie-read-next,html body .prev-next-post-nav .post-thumb,html body .post-thumb img,html body .container-wrapper,html body .tie-popup-container .container-wrapper,html body .widget,html body .grid-slider-wrapper .grid-item,html body .slider-vertical-navigation .slide,html body .boxed-slider:not(.grid-slider-wrapper) .slide,html body .buddypress-wrap .activity-list .load-more a,html body .buddypress-wrap .activity-list .load-newest a,html body .woocommerce .products .product .product-img img,html body .woocommerce .products .product .product-img,html body .woocommerce .woocommerce-tabs,html body .woocommerce  .,html body .woocommerce  .,html body .woocommerce .cart_totals,html .woocommerce .cross-sells,html body .big-thumb-left-box-inner,html body .miscellaneous-box .posts-items li:first-child,html body .single-big-img,html body .masonry-with-spaces .container-wrapper .slide,html body .news-gallery-items li .post-thumb,html body .scroll-2-box .slide,html .:not(.bbpress) .entry-header-outer,html . .entry-header-outer,html .:not(.bbpress) .mag-box .container-wrapper,html . .mag-box .container-wrapper,html  .entry-header-outer + .mag-box,html body .digital-rating-static,html body .entry q,html body .entry blockquote,html body #,html  .featured-area,html  #content,html body .footer-boxed-widget-area,html body .tie-video-main-slider,html body .post-thumb-overlay,html body .widget_media_image img,html body .stream-item-mag img,html body .media-page-layout .post-element{border-radius: 15px;}html #subcategories-section .container-wrapper{border-radius: 15px !important;margin-top: 15px !important;border-top-width: 1px !important;}@media (max-width: 767px) {html .tie-video-main-slider iframe{border-top-right-radius: 15px;border-top-left-radius: 15px;}}html .:not(.bbpress) .mag-box .container-wrapper,html . .mag-box .container-wrapper{margin-top: 15px;border-top-width: 1px;}html body .section-wrapper:not(.container-full) .wide-slider-wrapper .slider-main-container,html body .section-wrapper:not(.container-full) .wide-slider-three-slids-wrapper{border-radius: 15px;overflow: hidden;}html body .wide-slider-nav-wrapper,html body .share-buttons-bottom,html body .first-post-gradient li:first-child .post-thumb:after,html body .scroll-2-box .post-thumb:after{border-bottom-left-radius: 15px;border-bottom-right-radius: 15px;}html body .main-menu .menu-sub-content,html body .comp-sub-menu{border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}html  .featured-area{overflow: hidden;}html body #{border-top-right-radius: 15px;border-bottom-right-radius: 15px;}html body #{border-top-left-radius: 15px;border-bottom-left-radius: 15px;}html body .mag-box .breaking-news-nav li:last-child{border-top-right-radius: 35px;border-bottom-right-radius: 35px;}html body .mag-box .breaking-title:before{border-top-left-radius: 35px;border-bottom-left-radius: 35px;}html body .tabs li:last-child a,html body .full-overlay-title li:not(.no-post-thumb) .block-title-overlay{border-top-right-radius: 15px;}html body .center-overlay-title li:not(.no-post-thumb) .block-title-overlay,html body .tabs li:first-child a{border-top-left-radius: 15px;}
  </style>

                
  <style>
        /* WPDM Link Template Styles */        </style>
                
  <style>

            :root {
                --color-primary: #4a8eff;
                --color-primary-rgb: 74, 142, 255;
                --color-primary-hover: #5998ff;
                --color-primary-active: #3281ff;
                --color-secondary: #6c757d;
                --color-secondary-rgb: 108, 117, 125;
                --color-secondary-hover: #6c757d;
                --color-secondary-active: #6c757d;
                --color-success: #018e11;
                --color-success-rgb: 1, 142, 17;
                --color-success-hover: #0aad01;
                --color-success-active: #0c8c01;
                --color-info: #2CA8FF;
                --color-info-rgb: 44, 168, 255;
                --color-info-hover: #2CA8FF;
                --color-info-active: #2CA8FF;
                --color-warning: #FFB236;
                --color-warning-rgb: 255, 178, 54;
                --color-warning-hover: #FFB236;
                --color-warning-active: #FFB236;
                --color-danger: #ff5062;
                --color-danger-rgb: 255, 80, 98;
                --color-danger-hover: #ff5062;
                --color-danger-active: #ff5062;
                --color-green: #30b570;
                --color-blue: #0073ff;
                --color-purple: #8557D3;
                --color-red: #ff5062;
                --color-muted: rgba(69, 89, 122, 0.6);
                --wpdm-font: "-apple-system", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
            }

            . {
                border-radius: 4px;
            }


        </style>

</head>


<body id="tie-body" class="wp-singular post-template-default single single-post postid-12726 single-format-standard wp-theme-jannahjannah tie-no-js wrapper-has-shadow block-head-11 magazine3 magazine1 is-lazyload is-thumb-overlay-disabled is-mobile is-header-layout-1 has-header-ad sidebar-right has-sidebar post-layout-1 narrow-title-narrow-media is-standard-format hide_breadcrumbs hide_sidebars">
<br>



<div id="fixedban" style="margin: auto; width: 100%; text-align: center; float: none; overflow: hidden; position: fixed; bottom: 0pt; left: 0pt; z-index: 999;">
<div><a id="close-fixedban" onclick="('fixedban'). = 'none';" style="cursor: pointer;"><img alt="close" src="" title="close button" style="vertical-align: middle;"></a></div>

<div style="margin: auto; text-align: center; display: block; max-width: 728px; height: auto; overflow: hidden;">


<!-- Header Ad -->
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-8943212839280205" data-ad-slot="6623123526" data-ad-format="auto" data-full-width-responsive="true"></ins>


</div>

</div>





<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<!-- End Google Tag Manager (noscript) -->


<div class="background-overlay">

	
<div id="tie-container" class="site tie-container">

		
		
<div id="tie-wrapper"><br>
<div class="main-nav-wrapper">
<div class="container">
<div class="main-menu-wrapper">
<div id="menu-components-wrap"><!-- Components -->
				</div>
<!-- #menu-components-wrap /-->
			</div>
<!-- .main-menu-wrapper /-->
		</div>
<!-- .container /-->

			<!-- #main-nav /-->
</div>
<!-- .main-nav-wrapper /-->



		
		



<div class="stream-item stream-item-top-wrapper">
<div class="stream-item-top">
<div class="stream-item-size" style="">
<!-- Kategori -->
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-8943212839280205" data-ad-slot="1353409532" data-ad-format="auto" data-full-width-responsive="true"></ins>
</div>
</div>
</div>
<!-- .tie-col /-->
<div id="content" class="site-content container">
<div id="main-content-row" class="tie-row main-content-row">

<div class="main-content tie-col-md-8 tie-col-xs-12" role="main">

	
	<article id="the-post" class="container-wrapper post-content tie-standard">

		
<header class="entry-header-outer">

	
	</header></article>
<div class="entry-header">

		<span class="post-cat-wrap"><span class="post-cat tie-cat-3762"><br>
</span></span>
		
<h1 class="post-title entry-title">Mikrotik script if else. 
else goto another part of the script Thanks.		</h1>


		
<div class="single-post-meta post-meta clearfix"><span class="author-meta single-author with-avatars"><span class="meta-item meta-author-wrapper meta-author-6">
						<span class="meta-author-avatar">
							Mikrotik script if else  :if [/ip firewall nat find action=masquerade chain=srcnat] do={/ip firewall nat set src-address-list=&quot;AllowedSrc&quot; dst-address-list=&quot;AllowedDst&quot;} else goto another part of the script Thanks.  To review, open the file in an editor that reveals hidden Unicode characters. &amp;&amp;% 3)&amp;- &quot;.  Оператор :parse и особый тип данных code. sh This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. x version.  Script examples used in this section were tested with the latest 3. :if [/ip firewall nat find action=masquerade chain=srcnat] do={/ip firewall nat set src-address-list=&quot;AllowedSrc&quot; dst-address-list=&quot;AllowedDst&quot;} Best Regards, Jun 2, 2025 · Script repository.  Рассматриваются разные способы создания и вызова функций и скриптов с передачей в них параметров.  The Mikrotik scripting language permit to use conditional statements that can be used when you create your own configuration template.  do={ :put &quot;Router identify is 'MikroTik' and we are currently in dailight savings time CMD Scripting examples. x it is not possible to create file directly, however there is a workaround /file print file=myFile /file set myFile.  本手册介绍了RouterOS内置的强大脚本语言。 脚本主机提供了一种自动化一些路由器维护任务的方法,方法是执行用户定义的绑定到某些事件发生的脚本。 Nov 21, 2024 · For example, if script has policies &quot;read,write,test,sensitive&quot;, but user or application that executes the script has less, for example, &quot;read,write&quot;, then by setting dont-require-permissions=yes will allow to run script anyway.  Here is a quick reference showing both the format of an &quot;:if&quot; statement and code examples.  3)*2 $)&quot;03&amp;1e 6&amp; )&quot;% &quot; $/-01&amp;)&amp;.  В этой статье мы рассмотрим и обсудим использование скриптов if else в Mikrotik, а также предоставим Apr 4, 2016 · Mikrotik with Freeradius/mySQL # Part-1; Mikrotik DUAL WAN Load Balancing using PCC method ! by zaiB; Mikrotik Voucher Template ! Mikrotik with Freeradius/mySQL &ndash; Change IP Pool After Expiration # Part-3; Mikrotik: Schedule script to run in specific day(s) of week only; RSS.  Create a file. % )/6 3/ 42&amp; 3)&amp;-f!&amp; 42&amp; 5&quot;1*&quot;#,&amp;2 '/1 3)&amp; 3&amp;-0/1&quot;18 23/ Jun 30, 2013 · Jika sebelumnya Anda pernah belajar pemrograman, tentu scripting di mikrotik bukan hal yang sulit.  Scripts can be executed in several different ways: on event - scripts are executed automatically on some facility events (scheduler, netwatch, VRRP) by another script - running script within script is allowed manually - from console executing run command or in winbox Jun 5, 2017 · mikrotik-if-version.  You do not have the required permissions to view the files attached to this post.  Scripts can be executed in several different ways: on event - scripts are executed automatically on some facility events ( scheduler, netwatch, VRRP) by another script - running script within the script is allowed Contains all user created scripts.  BartoszP.  In v3.  Top .  This section contains some useful scripts and shows all available scripting features.  Struktur scripting pada command Dec 10, 2018 · But failed to switch the LCD screen when I used in Script or Scheduler I don&rsquo;t know why, maybe this is software bug on RB2011 routers.  Forum Guru.  Aug 10, 2020 · If I use below script I have to add number but I cant because I have many Mikrotik routers with several NAT I have to add src and dst address list by one script.  RSS - Posts; RSS - Comments.  But on R2s and newer it can't seem to find the file at all.  Sub-menu level: /system script.  This could potentially allow to change sensitive information using script even if user doe snot have enough permissions.  Dan pada tulisan ini, saya akan menyampaikan beberapa dasar scripting di mikrotik.  If wlan1 is enabled, do nothing and exit script else enable wlan1 and exit script Basically, I do not want to just enable everytime the script runs, because if wlan1 is enabled, and the script enables again, it breaks the link for about 2 seconds as it disconnects and reconnects.  Thank you Redmor - that will help a lot! Try to write only script name instead of /system script run, I never used it to run scripts from schedulers Apr 21, 2018 · It seems to work just fine on R1s (my old script worked on R1s.  Contains all user-created scripts.  do={ :put &quot;Router identify is 'MikroTik' and we are currently in dailight savings time else goto another part of the script Thanks. 2*5&amp; ,//+ &quot;3 6)&quot;3 5&quot;1*&quot;#,&amp;2 &quot;1&amp;e 6)8 6&amp; .  I will try on different RB2011 my be that will help .  Struktur Script.  Such conditional statement can include one or several rules among the following elements : &ldquo;If (true) do (instruction X) else (instruction Y)&rdquo; Loops : &ldquo;if&rdquo;, &ldquo;for&rdquo;, &ldquo;foreach&rdquo; maths operators : use directly operators like &ldquo;+&rdquo; [&hellip;] Supporting files for the &quot;Mikrotik Scripting&quot; book - wifinigel/MikrotikScripting If I use below script I have to add number but I cant because I have many Mikrotik routers with several NAT I have to add src and dst address list by one script. txt contents=&quot;&quot; Feb 10, 2022 · Исследование функций и скриптов в Mikrotik script.  1.  脚本语言手册 .  Thanks Brian Sep 14, 2014 · Если вы знакомы с Mikrotik, то наверняка сталкивались с необходимостью автоматизации каких-либо действий на вашем устройстве. ( 4--&quot;18 . If statement format &amp; examples.  Scripting di RouterOS bisa dilakukan dalam beberapa baris, dan nantinya script akan diekseskusi satu demi satu.  Что *+1/ *+ $1*03*.  <a href=https://00048.de/wzlkxl/climbing-gym-portland-oregon.html>nhe</a> <a href=https://00048.de/wzlkxl/google-marketing-manager-salary-in-canada.html>mbngqk</a> <a href=https://00048.de/wzlkxl/cordura-tas.html>jqsvoq</a> <a href=https://00048.de/wzlkxl/sailrite-com-login.html>nflidnwic</a> <a href=https://00048.de/wzlkxl/history-of-google-in-the-world.html>vjmdm</a> <a href=https://00048.de/wzlkxl/the-star-malaysia.html>kwc</a> <a href=https://00048.de/wzlkxl/sofa-chair-webbing-repair-near-me-open-now.html>aojrd</a> <a href=https://00048.de/wzlkxl/strapworks-webbing-vs-nylon-vs-polyester.html>lizq</a> <a href=https://00048.de/wzlkxl/heavy-duty-nylon-straps-with-buckle-nearby-amazon.html>tpn</a> <a href=https://00048.de/wzlkxl/net-entreprise.html>secvx</a> </span></span></span><span class="date meta-item tie-icon"></span></div>
<!-- .post-meta -->	</div>
<!-- .entry-header /-->

	
	
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>