Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. alias awaymsg {
  2. ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
  3.  
  4. ;PM message
  5. if ($1 == pm) { return is currently [Away]: %awayreason $+ }
  6. if ($nick == -sbnc) { halt }
  7.  
  8. ;away nick!
  9. elseif ($1 == nick) { return Rocker|Afk|PM }
  10. }
  11. alias away {
  12. if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
  13. set %awayreason $iif($1,$1-,N/A)
  14. set %nick $me
  15. nick $awaymsg(nick)
  16. echo -at You are now set as Away.
  17. }
  18. alias back {
  19. if (%awayreason == $null) { echo -at .:Away:. You are not currently set as away! | halt }
  20. if (%n !== true) { nick %nick }
  21. unset %awayreason
  22. unset %nick
  23. unset %n
  24. unset %xbox
  25. echo -at You are now set as Back.
  26. }
  27. on *:text:*:#: { if (%awayreason && $me isin $1-) { notice $nick $iif(%xbox !== $null,$awaymsg1(pm),$awaymsg(pm)) } }
  28. on *:text:*:?: {
  29. if (%awayreason) && ($me !== [[blackout]]) && (%time [ $+ [ $address($nick,3) ] ] == $null) {
  30. describe $nick $iif(%xbox !== $null,$awaymsg1(pm),$awaymsg(pm) )
  31. set -u1800 %time [ $+ [ $address($nick,3) ] ]
  32. }
  33. }
  34. on *:nick: { if (%a) { unset %a }
  35. elseif ($nick == $me && %awaytime !== $null) { back | set %n true}
  36. }
  37. }
  38. alias msgall {
  39. amsg $1-
  40. }
  41.  
  42. alias awaymsg1 {
  43. ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
  44.  
  45. ;PM message
  46. if ($1 == pm) { return is currently owning on %awayreason $+ . [GamerTag]: teh_sLaughter_x. }
  47. if ($nick == -sbnc) { halt }
  48.  
  49. ;away nick!
  50. elseif ($1 == nick) { return Rocker|Xbox|PM }
  51. }
  52. alias xbox {
  53. if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
  54. set %a true
  55. set %xbox true
  56. set %awayreason $iif($1,$1-,N/A)
  57. set %nick $me
  58. nick $awaymsg1(nick)
  59. echo -at You are now set as Away.
  60. }
  61. alias awaymsg2 {
  62. ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
  63.  
  64. ;PM message
  65. if ($1 == pm) { return is currently owning on %awayreason $+ . [GamerTag]: teh_sLaughter_x. }
  66. if ($nick == -sbnc) { halt }
  67.  
  68. ;away nick!
  69. elseif ($1 == nick) { return Rocker|Work}
  70. }
  71. alias work {
  72. if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
  73. set %a true
  74. set %work true
  75. set %awayreason $iif($1,$1-,N/A)
  76. set %nick $me
  77. nick $awaymsg2(nick)
  78. echo -at You are now set as Away.
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement