Last active
February 26, 2020 16:19
-
-
Save mpenet/d8e9902f636c1b54ff97f9f250c44ffe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defun kikoo-line (nick) | |
(let ((front (+ (random 13) 1)) | |
(back (+ (random 13) 1))) | |
(while (= back front) | |
(setq back (+ (random 13) 1))) | |
(erc-send-message | |
(apply 'concat | |
(append (list (format "\002\003%s,%sKIKOO" | |
front | |
back)) | |
(make-list (+ (random 11) 2) "O") | |
(list " " nick " ") | |
(make-list (+ (random 11) 2) "!") | |
(list " :o") | |
(make-list (+ (random 11) 2) ")"))) | |
t))) | |
(defun kikoo () | |
(interactive) | |
(let ((nick (completing-read "Enter nick: " (erc-get-channel-nickname-list)))) | |
(dotimes (i 3) | |
(kikoo-line nick)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment