Guest User

Untitled

a guest
May 22nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. ###############################################
  2. # Planetarion Scan Relay script 1.0 by JDD
  3. ###############################################
  4.  
  5. #To load this script place this file in your C:\Documents and Settings\[username]\Application Data\mIRC or for vista/win7 C:\Users\[username]\AppData\Roaming\mIRC
  6. #You may need to turn your settings for folders to view hidden files.
  7. #Open mIRC type /load -rs scanscript.mrc
  8. #Setup: right click in any window and select Setup Scan Relay. This will pop up 2 edit box's.
  9. #In the first edit box you will need to input the server on which your bot is located.
  10. #In the second box you will need to input the name of the bot you wish scans to be relayed to.
  11. #To change the destination server and bot simply run the "Setup Scan Relay" again.
  12.  
  13.  
  14.  
  15.  
  16. Menu * {
  17. -
  18. Scan Relay Setup: {
  19. set %serv $input(Enter Your Destination Server Name located at the top of your status window.,e,Planetarion Scan Relay script 1.0 by JDD)
  20. set %bot $input(Enter Your Destination Bot Name.,e,Planetarion Scan Relay script 1.0 by JDD)
  21. }
  22. -
  23. }
  24. alias -l net {
  25. var %netcount $scon(0)
  26. while %netcount {
  27. if ($scon(%netcount).network == $1) { var %netid %netcount }
  28. dec %netcount
  29. }
  30. scon %netid return $!cid
  31. }
  32. alias -l relay {
  33. scid $net($1) { $2- }
  34. }
  35. on *:TEXT:*:*:{
  36. if (($regex($1-,/http:\/\/[^/]+\/showscan.pl\?scan_(grp|id)=[0-9a-zA-Z]+/)) && (($chan == $null) || (%bot !ison $chan))) { relay %serv .msg %bot $1- }
  37. }
  38. on *:INPUT:*:{
  39. if (($regex($1-,/http:\/\/[^/]+\/showscan.pl\?scan_(grp|id)=[0-9a-zA-Z]+/)) && (($chan == $null) || (%bot !ison $chan))) { relay %serv .msg %bot $1- }
  40. }
Add Comment
Please, Sign In to add comment