-
Copy the file to the PHP script directory (e.g.
~/.local/share/weechat/php/
); -
Ensure weechat-php plugin is installed or compiled for required PHP version;
-
Issue Weechat commands to load the script
/script load custom_test.php
; -
Check script loading messages in the "core" Weechat buffer;
-
Check corresponding Weechat settings if required:
plugins.var.php.custom_test.buffers
;plugins.var.php.custom_test.message_count
;
-
Issue command
/testcommand
in a few buffers if required.