Created
August 18, 2017 00:00
-
-
Save spacemud/691309aaaa39bf4a882865dc2e14f871 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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