Tiago_f

Closed dialogs 2

Nov 14th, 2025 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.17 KB | None | 0 0
  1. alias shutdown.serv {
  2.   if ($cid == $activecid) {
  3.     var %d = $dialog($dialog(2)) $dialog($dialog(1)),%x = 1 ,%y = $numtok(%d,32)
  4.     while (%x <= %y) {
  5.       var %dlg = $wd(%d,%x,32),%name
  6.       if ($dialog(cmdoper) == %dlg) { %name = $wd(%geninp.ed,3,44) }
  7.       elseif ($dialog(sacmds) == %dlg) { %name = $wd(%geninp.ed,4,44) }
  8.       elseif ($dialog(eddialog) == %dlg) { %name = %geninp.2 }
  9.       else { %name = %geninp.3 }
  10.       if ($dialog(%dlg)) {
  11.         if (!%spamfilter. [ $+ [ $cid ] ]) && (!$istok(Sajoin Samode Sapart Sanick Kill kline gline gzline zline shun nicklock tempshun Stats Tline Unlock,%name,32)) {
  12.           .timerclose $+ $rand(0,100) -h 1 $calc(100 * %x) dialog -x %dlg
  13.           unset %geninp.* %hide.* %help.* %sortheader.* %mediaserv %cfblist %osignlist %forblist %flagslist %level %ajoinlist %botdmlist %mediaserv $&
  14.             %certlist %nsalist %menotify %ngrouplist %accesslist %akicklist %searhbox %botdmlist %bviewlist %hovtlist %csmode.tmp %did*.sel $&
  15.             %modesunset %dropconf %entrymsg %modeslist %bwordslist %nickaclist %setsend %hovtwait %vrange
  16.           .remove scripts\tmp\readserv.txt
  17.         }
  18.       }
  19.       inc %x
  20.     }
  21.   }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment