diff --git a/ctrl/modopts.ini b/ctrl/modopts.ini index 17858a2b0a24ab11eaeea4b0c94983452d13515e..17bd452ad79bac47aefe922e3bb5c30eefdf28ef 100644 --- a/ctrl/modopts.ini +++ b/ctrl/modopts.ini @@ -1,5 +1,3 @@ -; $Id: modopts.ini,v 1.36 2020/04/18 06:21:33 rswindell Exp $ - ; This file contains simple JS object defintions to enable/control the optional ; behavior of various Synchronet stock and 3rd party JS modules (e.g. exec/*.js) @@ -68,8 +66,21 @@ ; Auto-execute the only available program when entering a program section autoexec = false ; Execute (evaluate) a JavaScript expression before/after executing any external programs (doors) -; eval_before_exec = alert('Running ' + prog.name); -; eval_after_exec = load('../xtrn/twitter/tweet.js', user.alias, 'ran', prog.name); +; eval_before_exec = alert('Running ' + prog.name); +; eval_after_exec = load('../xtrn/twitter/tweet.js', user.alias, 'ran', prog.name); + +; uncomment and modify any of the below to change the look of the external programs menu +; header_fmt: \1n\1c\1h%s \1n\1cExternal Programs:\r\n\r\n +; titles: \1n\1cNum \1h\xb3\1n\1c Name \1n\1c +; multicolumn_fmt: \1h\1c%3u \xb3 \1n\1c%-32.32s \1h +; singlecolumn_fmt: \1h\1c%3u \xb3 \1n\1c%s \1h +; which: \r\n\1-\1cWhich or \1h~Q\1n\1cuit: \1h +; underline: \1c\1h\xc4\xc4\xc4\xc4\xc5\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4 + +; to enable cost display, use these instead +; titles: \1n\1cNum \1h\xb3\1n\1c Name Cost \1n\1c +; multicolumn_fmt: \1h\1c%3u \xb3 \1n\1c%-26.26s\1h %5u +; singlecolumn_fmt: \1h\1c%3u \xb3 \1n\1c%-26.26s\1h %5u [chat_sec] ; Over-ride default IRC server/port and channel (if desired) here: