Advertisement
DiamantThomy

WhoistoChan.mrc

Nov 3rd, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.21 KB | None | 0 0
  1. on admin:text:!whois *:#: {
  2.   whois $2
  3. }
  4.  
  5. raw 311:*: {
  6.   set %whois 1
  7.   msg %botchan $2 $+ `s Address: $3 $+ $chr(64) $+ $4
  8.   msg %botchan $2 $+ `s Realname: $6-
  9.   haltdef
  10. }
  11.  
  12. raw 378:*is connecting*: {
  13.   msg %botchan $2 $+ `s Host: $6
  14.   msg %botchan $2 $+ `s IP: $7
  15.   haltdef
  16. }
  17.  
  18. raw 338:*is actually*: {
  19.   msg %botchan $2 $+ `s $+ Host: $5
  20.   msg %botchan $2 $+ `s $+ IP: $remove($6,$chr(91),$chr(93))
  21.   haltdef
  22. }
  23.  
  24. raw 307:*: {
  25.   msg %botchan $2 is a registered nick
  26.   haltdef
  27. }
  28.  
  29. raw 319:*: {
  30.   msg %botchan $2 $+ `s  Channels: $3-
  31.   haltdef
  32. }
  33.  
  34. raw 312:*: {
  35.   msg %botchan $2 $+ `s  Server: $3 $4-
  36.   haltdef
  37. }
  38.  
  39. raw 716:*server side ignore*: {
  40.   if ($5 === +G) {
  41.     msg %botchan $2 $+  $5 $+ : Soft server side ignore
  42.     haltdef
  43.   }
  44.   elseif ($5 === +g) {
  45.     msg %botchan $2 $+  $5 $+ : Server side ignore
  46.     haltdef
  47.   }
  48. }
  49.  
  50. raw 310:*is using modes*: {
  51.   msg %botchan $2 $+ `s  Modes: $6-
  52.   haltdef
  53. }
  54.  
  55. raw 313:*is a*: {
  56.   if (service isin $3-) {
  57.     msg %botchan $2 is a network service
  58.     haltdef
  59.   }
  60.   elseif (bot isin $3-) {
  61.     msg %botchan $2 is a network service
  62.     haltdef
  63.   }
  64. }
  65.  
  66. raw 310:*is available for help.: {
  67.   msg %botchan $2 is available for help
  68.   haltdef
  69. }
  70.  
  71. raw 335:*: {
  72.   msg %botchan $2 is a bot on $network
  73.   haltdef
  74. }
  75.  
  76. raw 671:*secure connection*: {
  77.   msg %botchan $2 is using a secure connection
  78.   haltdef
  79. }
  80.  
  81. raw 672:*cgi*irc*: {
  82.   msg %botchan $2 s a CGI:IRC client
  83.   haltdef
  84. }
  85.  
  86. raw 317:*seconds idle*signon time*: {
  87.   msg %botchan $2 $+ `s Idle Time: $duration($3)
  88.   msg %botchan $2 $+ `s Onlinetime IRC: $asctime($4)
  89.   haltdef
  90. }
  91.  
  92.  
  93. raw 330:*is logged in as*: {
  94.   msg %botchan $2 is logged in as $3
  95.   haltdef
  96. }
  97.  
  98. raw 320:*is using a secure connection: {
  99.   msg %botchan $2 is using a secure connection
  100.   haltdef
  101. }
  102.  
  103. raw 379:*is using modes*: {
  104.   msg %botchan $2 $+ `s Modes: $6-
  105.   haltdef
  106. }
  107.  
  108. raw 301:*: {
  109.   msg %botchan $2 Away: $3-
  110.   haltdef
  111. }
  112.  
  113. raw 537:*is currently immune to filtering*: {
  114.   msg %botchan $2 is immune to filtering
  115.   haltdef
  116. }
  117.  
  118. raw 401:*no such nick*channel*: {
  119.   msg %botchan $2 No such nickname.
  120.   haltdef
  121. }
  122.  
  123. raw 318:*end of*: {
  124.   msg %botchan $2 End of WHOIS.
  125.   unset %whois
  126.   haltdef
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement