examples/lua.rc
author Myhailo Danylenko <isbear@ukrpost.net>
Tue, 24 Feb 2009 19:42:48 +0200
changeset 7 eb6d89bf1fbf
parent 6 90dceae3ed1f
child 29 0199ecce6c11
permissions -rw-r--r--
Commands and init improvements * 'lua' command in C * add_command and del_command merged * de-hardcoded initialization file name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
90dceae3ed1f Hooks unification
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     1
90dceae3ed1f Hooks unification
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     2
# lua function name to be called on hooks invocation
90dceae3ed1f Hooks unification
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     3
set lua_hook_function = hook_handler
7
eb6d89bf1fbf Commands and init improvements
Myhailo Danylenko <isbear@ukrpost.net>
parents: 6
diff changeset
     4
set lua_init_filename = ~/.mcabber/mcabberrc.lua
6
90dceae3ed1f Hooks unification
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     5
load mcabber-lua
7
eb6d89bf1fbf Commands and init improvements
Myhailo Danylenko <isbear@ukrpost.net>
parents: 6
diff changeset
     6
# :(
eb6d89bf1fbf Commands and init improvements
Myhailo Danylenko <isbear@ukrpost.net>
parents: 6
diff changeset
     7
#lua dofile 'mcabberrc'
6
90dceae3ed1f Hooks unification
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     8