Skip to content

Instantly share code, notes, and snippets.

@AndrioCelos
Created March 15, 2019 11:37
Show Gist options
  • Save AndrioCelos/69f47a55578d1cf2defee891af02e97c to your computer and use it in GitHub Desktop.
Save AndrioCelos/69f47a55578d1cf2defee891af02e97c to your computer and use it in GitHub Desktop.
event(OnAway,AwayMessages) {
if ($query($0)) {
if ($3) echo -w=$query($0) -i=$msgtype(Away) $b()$0$b() is away: $3;
else echo -w=$query($0) -i=$msgtype(Away) $b()$0$b() is back.;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment