alias rept { var %xi = 1 | while (%xi <= $notify(%xi)) { set %Lista $notify(%xi) | inc %xi | grabar1 } } alias grabar1 { write c:\i\mirc\files [ $+ [ Protect ] ] [ $+ [ .txt ] ] protect users %lista }
i want save the notify list on file, how i do ?
EpicNet.Ru - Форум IRC Чата |
Привет, Гость! Войдите или зарегистрируйтесь.
Вы здесь » EpicNet.Ru - Форум IRC Чата » HELP SCRIPTS - Помощь по mIRC скриптам » Write a list of NOTIFY to TXT file
alias rept { var %xi = 1 | while (%xi <= $notify(%xi)) { set %Lista $notify(%xi) | inc %xi | grabar1 } } alias grabar1 { write c:\i\mirc\files [ $+ [ Protect ] ] [ $+ [ .txt ] ] protect users %lista }
i want save the notify list on file, how i do ?
i want save the notify list on file, how i do ?
Вы можете попробовать использовать такой скрипт:
alias rept { var %nf_path = C:\i\mirc\files\list_notify.txt if ($exists(%nf_path)) .remove %nf_path var %xi 1 | while (%xi <= $notify(0)) { .write -i %nf_path $notify(%xi) | inc %xi } .echo -a 03The list notify has been compiled. Total:07 $lines(%nf_path) 03users. }
Для проверки введите команду: "/rept".
Для более подробной информации о применяемых в этом скрипте командах и как их правильно использовать вы можете прочитать здесь:
[indent=0.8,0.5] https://en.wikichip.org/wiki/mirc/commands/while или https://www.mirc.com/help/html/index.ht … #cmd_while
[indent=0.8,0.5] https://en.wikichip.org/wiki/mirc/commands/write или https://www.mirc.com/help/html/index.ht … #cmd_write
[indent=0.8,0.5] https://en.wikichip.org/wiki/mirc/commands/notify или https://www.mirc.com/help/html/index.ht … cmd_notify
[indent=0.8,0.5] https://en.wikichip.org/wiki/mirc/identifiers/$notify или https://www.mirc.com/help/html/index.ht … id_$notify
[indent=0.8,0.5] https://en.wikichip.org/wiki/mirc/identifiers/$lines или https://www.mirc.com/help/html/index.ht … #id_$lines
[html]<style>img {vertical-align:middle;}.hnet{color:#FFFFFF;}.hstar{color:#DE0000;}.htext{font-family:Verdana;font-size:13px;color:#6E1E00;}.heading{font-family:Verdana;font-size:13px;font-weight:bold;background-color:#4898CD;}.stitle{font-family:Verdana;font-size:12px;}.dot{color:#808000;}.desc{color:#ADADAD;}a .curl{font-family:Verdana;font-size:13px;color:#3A92CD;}</style><table><tr><td width="20px" height="20px"><img src="https://forumstatic.ru/files/000d/c9/8c/34681.jpg"></td><td><a href="https://forum.epicnet.ru/viewtopic.php?id=234"><span class="heading"> <span class="hstar">★</span> <span class="hnet">EpicNet.Ru</span> <span class="hstar">★</span> </span><span class="htext"> - IRC Чат © 2008</span></a></td></tr><tr><td></td><td><div class="stitle"><span class="dot">•</span> <span class="desc">Вход через вебгейт:</span> <a href="http://irc.epicnet.ru"><span class="curl">http://irc.epicnet.ru</span></a><br><span class="dot">•</span> <span class="desc">Сервер:</span> irc.epicnet.ru <span class="desc">Порты:</span> 6667, 6668 (ssl)<br><div></td></tr></table>[/html]
thnx so much works just fine
Вы здесь » EpicNet.Ru - Форум IRC Чата » HELP SCRIPTS - Помощь по mIRC скриптам » Write a list of NOTIFY to TXT file