mIRC Home    About    Download    Register    News    Help

Print Thread
#269794 27/01/22 09:59 AM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
alias colores {
var %di 1
while (%di <= $ialchan($address($snick(#,1),2),#,0)) {
set %com $ialchan($address($snick(#,1),2),#,0)
echo -a -- $+ $ialchan($address($snick(#,1),2),#,%di)
echo -a ( $+ %com $+ )
inc %di
}
}

--(2)
--vavalera!Pikachu@7C3BCF7.A16C3358.11AF95E4.IP
--ninja!Pikachu@7C3BCF7.A16C3358.11AF95E4.IP

how i do to get this on the screen? thnx in advnce

Joined: Jan 2012
Posts: 301
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jan 2012
Posts: 301
Originally Posted by XGamerAMD
--(2)
--vavalera!Pikachu@7C3BCF7.A16C3358.11AF95E4.IP
--ninja!Pikachu@7C3BCF7.A16C3358.11AF95E4.IP

how i do to get this on the screen?


Try to use this code:
Code
alias clones {
  if (!$snick($chan,0)) { echo -a To check, select a nickname in the list. | halt }
  var %sn $snick($chan,1)
  var %sa $address(%sn,2)
  var %nc $ialchan(%sa,$chan,0)
  echo -a ( $+ %nc $+ ) clones: %sn - %sa
  var %di 1 | while (%di <= %nc) {
    echo -a -- $+ $ialchan(%sa,$chan,%di)
    inc %di
  }
}

Select the necessary nickname in the list of nicknames and enter the command "/clones" to check.

Note: To work correctly, you should not have other aliases with the same name anywhere. Otherwise, you can change the name of the alias, and this will also be the name of the command to enter.


Help on commands and identifiers used in this code:

    aliashttps://en.wikichip.org/wiki/mirc/aliases
    ifhttps://en.wikichip.org/wiki/mirc/commands/if
    varhttps://en.wikichip.org/wiki/mirc/commands/var
    inchttps://en.wikichip.org/wiki/mirc/commands/inc
    echohttps://en.wikichip.org/wiki/mirc/commands/echo
    whilehttps://en.wikichip.org/wiki/mirc/commands/while
    $snickhttps://en.wikichip.org/wiki/mirc/identifiers/$snick
    $addresshttps://en.wikichip.org/wiki/mirc/identifiers/$address
    $ialchanhttps://en.wikichip.org/wiki/mirc/identifiers/$ialchan



🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples
Epic #269796 27/01/22 05:39 PM
Joined: Apr 2005
Posts: 111
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 111
thnx for the answer my friend epic cheers!!!!!!!! good job


Link Copied to Clipboard