Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #####################################
- ## Commands For Script (S.A.S) ##
- ## /away2 To set as away ##
- ## /saway For silent away ##
- ## /back2 & /sback to reset ##
- #####################################
- alias away2 {
- set %away.time $ctime
- set %reason $1-
- ame 14,1is now 11away 0,1- 14Left at11 $time 14with the reason0,1:11 %reason
- /nick Prefix[aFK]
- /away %reason
- }
- alias back2 {
- ame 14,1is now 11back 14from0:11 %reason 0- 14 $+ $me was gone for0:11 $duration($calc($ctime - %away.time))
- unset %away.time
- unset %reason
- /nick Prefix
- /away
- }
- alias saway {
- set %away.time $ctime
- set %reason $1-
- /nick Prefix[aFK]
- /away %reason
- }
- alias sback {
- unset %away.time
- unset %reason
- /nick Prefix
- /away
- }
- on *:TEXT:*Prefix[aFK]*:#:{
- notice $nick I'm currently away with the reason: %reason - Auto Message on: $me $+ .
- }
- on *:ACTION:*Prefix[aFK]*:#:{
- notice $nick I'm currently away with the reason: %reason - Auto Message on: $me $+ .
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement