User talk:Kibje

From Official Kodi Wiki
Revision as of 12:56, 10 July 2018 by Kibje (talk | contribs) (test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  <category label="Chat">
    <setting id="run_chat" type="bool" label="Run IrcChat" default="false" />
    <setting id="nickname" type="text" label=" Username" default="" visible="eq(-1,true)" />
    <setting id="password" type="text" label=" Password" default="" option="hidden" visible="eq(-2,true)" />

Then pass the host, channel and user parameters of your website to the chat.

#if stream started:
    if addon.getSetting('run_chat') == 'true':
            "RunScript(script.ircchat, run_irc=True&nickname=%s&username=%s&password=%s&host=%s&channel=%s)"
            %(addon.getSetting('nickname'), addon.getSetting('nickname'),
              addon.getSetting('password'), name+'', name)