Skip to content
Snippets Groups Projects
Commit 8c823077 authored by Kayz's avatar Kayz Committed by Rob Swindell
Browse files

make it easy for people to change the look of the external programs menu by...

make it easy for people to change the look of the external programs menu by presenting them the defaults instead of them having to dig into the code, text.dat, etc. to get the starting values
parent 2afabbb4
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
; $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 ; 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) ; behavior of various Synchronet stock and 3rd party JS modules (e.g. exec/*.js)
...@@ -68,8 +66,21 @@ ...@@ -68,8 +66,21 @@
; Auto-execute the only available program when entering a program section ; Auto-execute the only available program when entering a program section
autoexec = false autoexec = false
; Execute (evaluate) a JavaScript expression before/after executing any external programs (doors) ; Execute (evaluate) a JavaScript expression before/after executing any external programs (doors)
; eval_before_exec = alert('Running ' + prog.name); ; eval_before_exec = alert('Running ' + prog.name);
; eval_after_exec = load('../xtrn/twitter/tweet.js', user.alias, 'ran', 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] [chat_sec]
; Over-ride default IRC server/port and channel (if desired) here: ; Over-ride default IRC server/port and channel (if desired) here:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment