Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias awaymsg {
- ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
- ;PM message
- if ($1 == pm) { return is currently [Away]: %awayreason $+ }
- if ($nick == -sbnc) { halt }
- ;away nick!
- elseif ($1 == nick) { return Rocker|Afk|PM }
- }
- alias away {
- if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
- set %awayreason $iif($1,$1-,N/A)
- set %nick $me
- nick $awaymsg(nick)
- echo -at You are now set as Away.
- }
- alias back {
- if (%awayreason == $null) { echo -at .:Away:. You are not currently set as away! | halt }
- if (%n !== true) { nick %nick }
- unset %awayreason
- unset %nick
- unset %n
- unset %xbox
- echo -at You are now set as Back.
- }
- on *:text:*:#: { if (%awayreason && $me isin $1-) { notice $nick $iif(%xbox !== $null,$awaymsg1(pm),$awaymsg(pm)) } }
- on *:text:*:?: {
- if (%awayreason) && ($me !== [[blackout]]) && (%time [ $+ [ $address($nick,3) ] ] == $null) {
- describe $nick $iif(%xbox !== $null,$awaymsg1(pm),$awaymsg(pm) )
- set -u1800 %time [ $+ [ $address($nick,3) ] ]
- }
- }
- on *:nick: { if (%a) { unset %a }
- elseif ($nick == $me && %awaytime !== $null) { back | set %n true}
- }
- }
- alias msgall {
- amsg $1-
- }
- alias awaymsg1 {
- ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
- ;PM message
- if ($1 == pm) { return is currently owning on %awayreason $+ . [GamerTag]: teh_sLaughter_x. }
- if ($nick == -sbnc) { halt }
- ;away nick!
- elseif ($1 == nick) { return Rocker|Xbox|PM }
- }
- alias xbox {
- if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
- set %a true
- set %xbox true
- set %awayreason $iif($1,$1-,N/A)
- set %nick $me
- nick $awaymsg1(nick)
- echo -at You are now set as Away.
- }
- alias awaymsg2 {
- ;DON'T delete anything before and including "return"! and dont remove the } at end of the line!
- ;PM message
- if ($1 == pm) { return is currently owning on %awayreason $+ . [GamerTag]: teh_sLaughter_x. }
- if ($nick == -sbnc) { halt }
- ;away nick!
- elseif ($1 == nick) { return Rocker|Work}
- }
- alias work {
- if (%awayreason !== $null) { echo -at .:Away:. You are currently still set as away! | halt }
- set %a true
- set %work true
- set %awayreason $iif($1,$1-,N/A)
- set %nick $me
- nick $awaymsg2(nick)
- echo -at You are now set as Away.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement