Advertisement
sxiii

IRC: Search User By Host And SAJOIN Him Script (TCL)

Dec 24th, 2014
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.84 KB | None | 0 0
  1. ################################################################################
  2. #      Search User By Host And SAJOIN Him Script (TCL)                         #
  3. #             by Security XIII                                                 #
  4. ################################################################################
  5. # This TCL provides to users the possibility to find nick by hostname          #
  6. # and SAJOIN him to the admin specified channel                                #
  7. ################################################################################
  8.  
  9. set chan "#your-wanted-channel"
  10.  
  11. alias searchuser {
  12.   foreach user [users] {
  13.     if {[catch {finduser $_rest} uname] == 0} {
  14.     command "SAJOIN [uname] [chan]"
  15.     } else {
  16.     print "Error: please specify host ident like ./searchuser FULL_HOST_IDENTD"
  17.     }  
  18.   }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement