erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Erc-discuss] ERC custom IRC /command


From: Emanuel Berg
Subject: Re: [Erc-discuss] ERC custom IRC /command
Date: Sun, 17 Mar 2019 20:29:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Max Zettlmeißl wrote:

>> How can I make a custom ERC IRC command
>>
>
> By defining a function using the "erc-cmd-"
> prefix, e.g. using your example command "/r":
> erc-cmd-R
>
> (defun erc-cmd-R ()
>   ;; If you want to send something to the server you could use
>   ;; erc-send-message or erc-message, depending on what
>   ;; exactly you intend to do.
>   ...
>   nil)
>
> A look into the ERC manual would have pointed
> you in the right direction. The feature is
> named under [1] and [2] even contains an
> example of it's use.
>
> Using a search engine of your choice to
> search for "emacs erc custom command" would
> also have helped you.
>
> [1] 
> https://www.gnu.org/software/emacs/manual/html_node/erc/Special-Features.html
> [2] 
> https://www.gnu.org/software/emacs/manual/html_mono/erc.html#Sample-Configuration
> [3] https://www.emacswiki.org/emacs/ErcCommands (At the very bottom of the 
> page.)

I sense a touch of antagonism/irritation in
your reply, and FTR I did Google it with no
result, but maybe it is just you having a bad
day, or me having one and thus reading in stuff
that isn't there.

But regardless of whatever, in terms of
technology, thanks a lot for an
exemplary answer!

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]