Advertisement
Guest User

Untitled

a guest
May 27th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. #####################################
  2. ## Commands For Script (S.A.S) ##
  3. ## /away2 To set as away ##
  4. ## /saway For silent away ##
  5. ## /back2 & /sback to reset ##
  6. #####################################
  7.  
  8. alias away2 {
  9. set %away.time $ctime
  10. set %reason $1-
  11. ame 14,1is now 11away 0,1- 14Left at11 $time 14with the reason0,1:11 %reason
  12. /nick Prefix[aFK]
  13. /away %reason
  14. }
  15. alias back2 {
  16. ame 14,1is now 11back 14from0:11 %reason 0- 14 $+ $me was gone for0:11 $duration($calc($ctime - %away.time))
  17. unset %away.time
  18. unset %reason
  19. /nick Prefix
  20. /away
  21. }
  22. alias saway {
  23. set %away.time $ctime
  24. set %reason $1-
  25. /nick Prefix[aFK]
  26. /away %reason
  27. }
  28. alias sback {
  29. unset %away.time
  30. unset %reason
  31. /nick Prefix
  32. /away
  33. }
  34. on *:TEXT:*Prefix[aFK]*:#:{
  35. notice $nick I'm currently away with the reason: %reason - Auto Message on: $me $+ .
  36. }
  37. on *:ACTION:*Prefix[aFK]*:#:{
  38. notice $nick I'm currently away with the reason: %reason - Auto Message on: $me $+ .
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement