Skip to content

Instantly share code, notes, and snippets.

@mpenet
Last active February 26, 2020 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpenet/d8e9902f636c1b54ff97f9f250c44ffe to your computer and use it in GitHub Desktop.
Save mpenet/d8e9902f636c1b54ff97f9f250c44ffe to your computer and use it in GitHub Desktop.
(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