[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Send args to hook command??
From: |
Nils G |
Subject: |
Re: Send args to hook command?? |
Date: |
Wed, 6 Nov 2019 19:08:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090817 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
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 ;-)