|
From: | Rocko |
Subject: | Re: Send args to hook command?? |
Date: | Wed, 6 Nov 2019 11:29:50 -0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11/6/2019 10:08 AM, Nils G wrote:
Hello Rocko, Am 06.11.19 um 18:31 schrieb Rocko:I trying out my perl skills by writing a simple 'Hello' script . I want to type /hello /usersname /and have weechat display 'Hello /username/'.I guess you mean your nick on server. my $name_of_server = "freenode"; my $name = weechat::info_get('irc_nick', $name_of_server); PS: to give support is easier on freenode.#weechat ;-)
No, not my nick, the nick of of user in channelI want to pass the name of a user in the channel to the command, not my username.
/hello name_of_user_in_channel -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
[Prev in Thread] | Current Thread | [Next in Thread] |