westor

/check_ident for GaMbiTo v1.1

Mar 13th, 2021 (edited)
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.43 KB | None | 0 0
  1. alias check_ident {
  2.   var %t = $ial(*! $+ $1 $+ @*,0)
  3.  
  4.   if (!%t) { echo 4 -aet $calias $+ : No results match your search! | return }
  5.  
  6.   echo -atc info $calias $+ : Searching for $qt($1) ident...
  7.  
  8.   var %i = 1
  9.   while (%i <= %t) {
  10.     var %nick = $ial(*! $+ $1 $+ @*,%i).nick
  11.     var %host = $ial(*! $+ $1 $+ @*,%i).host
  12.  
  13.     if (%nick) && (%host) { echo -atc info2 $calias $+ : %nick ( $+ %host $+ ) }
  14.  
  15.     inc %i
  16.   }
  17. }
Add Comment
Please, Sign In to add comment