[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with erc function
From: |
Bastien |
Subject: |
Re: help with erc function |
Date: |
Sat, 01 Mar 2008 14:06:55 +0000 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
someusernamehere <someusernamehere@gmail.com> writes:
> On Feb 29, 4:46 pm, Bastien <b...@altern.org> wrote:
>
>> Can you show some code?
>
>
> sure, take a look:
>
> (defun kick (nick)
> (let* ((chan (erc-default-target)))
> (erc-send-command (format "kick %s %s %s" chan nick "go
> away"))))
Well - maybe you can temporarilly switch to the relevant ERC buffer so
that (erc-default-target) returns the channel you want to use?
--
Bastien