examples/lua.rc
author Myhailo Danylenko <isbear@ukrpost.net>
Tue, 21 Aug 2012 15:32:19 +0300
changeset 129 ea30cf6c5bea
parent 127 9157566033e8
permissions -rw-r--r--
Rearrange documentation


# initialization file to load
set lua_init_filename    = ~/.mcabber/mcabberrc.lua

# show notifications for pep events
set lua_pep_notification = enable

# XXX jobs file
set lua_jobs_file        = ~/.mcabber/saved_jobs.lua

# XXX url file
set lua_url_file         = ~/.mcabber/urls.log

# XXX additional path to allow non-system loading of lua-lm
set lua_extra_include    = ~/.mcabber

# send evil presence
set lua_evil_mode        = 0

# 0 ignore, 1 print to log, 2 print to buddy's buffer
set lua_evil_sensibility = 1

# filter evil stanzas
set lua_filter_evil      = 0

# automatically send shortened urls to current user
set lua_shorten_post_url = 1

# set this to google api key, if you need it
# see https://developers.google.com/url-shortener/v1/getting_started#APIKey
#set lua_shorten_googl_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXX

module load lua