mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Some remaining fixes
This commit is contained in:
@@ -70,7 +70,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
|
||||
* gchar\*: Name of the command (without the forward slash).
|
||||
* int: Priority of this command.
|
||||
* gchar\*: String of text to display when the user executes /help for this command. May be NULL if you're lazy.
|
||||
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
|
||||
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
|
||||
* Returns:
|
||||
* guint: The ID of the hook.
|
||||
|
||||
@@ -78,7 +78,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
|
||||
* Parameters:
|
||||
* gchar\*: Name of the server event.
|
||||
* int: Priority of this command.
|
||||
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
|
||||
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
|
||||
* Returns:
|
||||
* guint: The ID of the hook.
|
||||
|
||||
@@ -86,7 +86,7 @@ You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin"
|
||||
* Parameters:
|
||||
* gchar\*: Name of the print event.
|
||||
* int: Priority of this command.
|
||||
* int: Value to returns when the command is catched. See XCHAT\_EAT\_*.
|
||||
* int: Value to returns when the command is catched. See HEXCHAT\_EAT\_*.
|
||||
* Returns:
|
||||
* guint: The ID of the hook.
|
||||
|
||||
|
||||
@@ -514,7 +514,7 @@ a context cannot be found.</p>
|
||||
</table><p>This function is used to retrieve certain information about the current
|
||||
context. If there is an associated command then that command can be used to change the value for a particular ID.</p><p>
|
||||
</p>
|
||||
<h3><a name="xchat_get_prefs" /><code>Xchat::get_prefs( $name )</code></h3>
|
||||
<h3><a name="hexchat_get_prefs" /><code>Xchat::get_prefs( $name )</code></h3>
|
||||
<ul>
|
||||
<li><strong><code>$name</code> - name of a X-Chat setting (available through the /set command)</strong>
|
||||
</li>
|
||||
|
||||
@@ -875,7 +875,7 @@ A few extra bits of information are available that don't appear in the _/SET_ li
|
||||
int i;
|
||||
const char *str;
|
||||
|
||||
if (xchat_get_prefs (ph, "irc_nick1", &str, &i) == 1)
|
||||
if (hexchat_get_prefs (ph, "irc_nick1", &str, &i) == 1)
|
||||
{
|
||||
hexchat_printf (ph, "Current nickname setting: %s\n", str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user