mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
core: allow pointer as list name in evaluation of hdata (closes #450)
This commit is contained in:
+10
-6
@@ -7204,12 +7204,16 @@ command_init ()
|
||||
"Format for hdata can be one of following:\n"
|
||||
" hdata.var1.var2...: start with a hdata (pointer must be known), "
|
||||
"and ask variables one after one (other hdata can be followed)\n"
|
||||
" hdata[list].var1.var2...: start with a hdata using a list, for "
|
||||
"example:\n"
|
||||
" ${buffer[gui_buffers].full_name}: full name of first buffer in "
|
||||
"linked list of buffers\n"
|
||||
" ${plugin[weechat_plugins].name}: name of first plugin in linked "
|
||||
"list of plugins\n"
|
||||
" hdata[list].var1.var2...: start with a hdata using a "
|
||||
"list/pointer, for example:\n"
|
||||
" ${buffer[gui_buffers].full_name}: full name of first buffer "
|
||||
"in linked list of buffers\n"
|
||||
" hdata[pointer].var1.var2...: start with a hdata using a list, "
|
||||
"for example:\n"
|
||||
" ${buffer[0x1234abcd].full_name}: full name of the buffer "
|
||||
"with this pointer (can be used in triggers)\n"
|
||||
" ${plugin[weechat_plugins].name}: name of first plugin in "
|
||||
"linked list of plugins\n"
|
||||
"For name of hdata and variables, please look at \"Plugin API "
|
||||
"reference\", function \"weechat_hdata_get\".\n"
|
||||
"\n"
|
||||
|
||||
Reference in New Issue
Block a user