Skip to content

Instantly share code, notes, and snippets.

@spacemud
Created August 18, 2017 00:00
Show Gist options
  • Save spacemud/691309aaaa39bf4a882865dc2e14f871 to your computer and use it in GitHub Desktop.
Save spacemud/691309aaaa39bf4a882865dc2e14f871 to your computer and use it in GitHub Desktop.
alias xmlogin {
if (!$0 || $0 > 1) {
echo -a Syntax: /xmlogin [password]
halt
}
set %login
set %password $1
whois xM_1
}
raw 311:*: {
if (!$var(%login)) {
halt
}
if ($2 != xM_1 || $4 != play.xmovieserver.com) {
echo -a Error: IRC bot credentials could not be verified. Use caution and do not login.
halt
}
unset %login
msg xM_1 login %password
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment