Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. ; #################################################################
  2. ; ## Custom Whois ##
  3. ; ## Written by Urza (Urza23@hotmail.com) ##
  4. ; ## Appearance taken from a screenshot by an unknown author ##
  5. ; ## Written and tested in mIRC 6.16/6.17 ##
  6. ; #################################################################
  7.  
  8. menu * {
  9. $iif($group(#whois) == on,disable,enable) Custom Whois: {
  10. var %status = $iif($group(#whois) == on,Disable,Enable)
  11. $+(.,%status) #whois
  12. echo -ta 4» Custom whois has been $+(%status,d)
  13. }
  14. }
  15. alias whoisnumerics return 301|307|310|311|312|313|314|317|318|319|320|330|335|338|369|378|379|401|406|671
  16. #whois on
  17. raw *:*: {
  18. if ($istok($whoisnumerics,$numeric,124)) haltdef
  19. if ($numeric == 301) echo -a 4» Away: Yes: ( $+ $3- $+ )
  20. elseif ($numeric == 307) echo -a 4» Registered Nickname: Yes.
  21. elseif ($numeric == 310) echo -a 4» IRC Helper: Yes.
  22. elseif ($numeric == 311) {
  23. echo -a 15-----14<15whois14>15----------------------------
  24. echo -a 4» Nick: $2
  25. echo -a 4» Real Name: $6-
  26. echo -a 4» Hostmask: $3 $+ 4 $+ @ $+ 07 $+ $4
  27. }
  28. elseif ($numeric == 312) echo -a 4» Server: $3
  29. elseif ($numeric == 313) echo -a 4» Network Functions: $5-9
  30. elseif ($numeric == 314) {
  31. echo -a 15-----14<15whowas14>15----------------------------
  32. echo -a 4» Nick: $2
  33. echo -a 4» Name: $6-
  34. echo -a 4» Hostmask: $3 $+ 4 $+ @ $+ $4
  35. }
  36. elseif ($numeric == 317) {
  37. echo -a 4» Signed on at: $asctime($4,dddd dd/mm/yyyy HH:nn:ss)
  38. echo -a 4» Time idle: $duration($3)
  39. echo -a 4» Time online: $duration($calc($ctime - $4))
  40. }
  41. elseif ($numeric == 318) echo -a 15-----14<15/whois14>15---------------------------
  42. elseif ($numeric == 319) echo -a 4» Channels: $3-
  43. elseif ($numeric == 320) echo -a 4» Swhois: $2-
  44. elseif ($numeric == 330) echo -a 4» Authname: $3
  45. elseif ($numeric == 335) echo -a 4» Bot: Yes
  46. elseif ($numeric == 338) {
  47. echo -a 4» Real Hostmask: $3
  48. echo -a 4» Real IP: $4
  49. }
  50. elseif ($numeric == 369) echo -a 15-----14<15/whowas14>15---------------------------
  51. elseif ($numeric == 378) echo -a 4» Connecting from: $6-
  52. elseif ($numeric == 379) echo -a 4» Modes: $6-
  53. elseif ($numeric == 401) echo -a 4» The nickname " $+ $2 $+ " is 4NOT 4online!
  54. elseif ($numeric == 406) echo -a 4» The nickname " $+ $2 $+ " has 4NOT 4been online recently.
  55. elseif ($numeric == 671) echo -a 4» Secure Connection: Yes
  56. }
  57. #whois end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement