Hello everybody!
I'm working on creating a display file for the External programs menu. Is it possible to make a display file for a specific users security level?
@h@bRe@n@b: @h@cDisplay file question
@bBy@n@b: @h@cRickV @bto @cAll @bon @cFri Dec 05 2025 08:24 am@n
Hello everybody!
I'm working on creating a display file for the External programs
menu. Is it possible to make a display file for a specific users
security level?
It's not a built-in feature of "display files", but you could modify
your xtrn_sec.js file (suggest you copy to your "mods" directory
first) to display different files based on the user's security level,
if you like.
--
@H@Ydigital man @n(rob)
Ok, I see. So I plugged the xtrn_sec.js into ChatGPT and asked it to
make me a new xtrn_sec.js so that it will display a ansi file based
on security level. Now I can create a specific file
(xtrn_sec_50.ans) for my external programs that only that security
level can access.
: Display file question
: RickV to Digital Man on Sat Dec 13 2025 01:57 pm
Ok, I see. So I plugged the xtrn_sec.js into ChatGPT and asked it
to make me a new xtrn_sec.js so that it will display a ansi file
based on security level. Now I can create a specific file
(xtrn_sec_50.ans) for my external programs that only that security
level can access.
so did that actually work or did it bomb out.
so did that actually work or did it bomb out.
YES!. After about 20 minutes of some back and fourth, it with display
my ansi screen for the external programs (xtrn_sec_security level.ans/msg/asc for each level I want. If no display file for a
secutity level, it will just display the default one.
So I ended up with a NEW xtrn_sec.js I put in the mods directory,
and renamed the orignal in the exec directory, just to save it.
RickV
: Display file question
: RickV to MRO on Sun Dec 14 2025 04:21 am
so did that actually work or did it bomb out.
YES!. After about 20 minutes of some back and fourth, it with
display my ansi screen for the external programs (xtrn_sec_security
level.ans/msg/asc for each level I want. If no display file for a
secutity level, it will just display the default one.
So I ended up with a NEW xtrn_sec.js I put in the mods directory,
and renamed the orignal in the exec directory, just to save it.
RickV
can you post it on pastebin? i'm interested in seeing how IT modified
the script.
So I ended up with a NEW xtrn_sec.js I put in the mods directory, and renamed the orignal in the exec directory, just to save it.
RickV
can you post it on pastebin? i'm interested in seeing how IT modified the script.
Ok, here it is.
https://pastebin.com/7AGgk6eQ
Re: Display file question
By: RickV to MRO on Sun Dec 14 2025 04:21 am
So I ended up with a NEW xtrn_sec.js I put in the mods directory,
and renamed the orignal in the exec directory, just to save it.
You don't need to rename the original in that case. If a script by the same name exists both in mods and exec, the mods version will always
take precdence.
--
digital man (rob)
Re: Display file question
By: RickV to MRO on Sun Dec 14 2025 01:12 pm
RickV
can you post it on pastebin? i'm interested in seeing how ITmodified
the script.
Ok, here it is.
https://pastebin.com/7AGgk6eQ
i'm surprised that chatgtp made workable code.
i've tried to use it to generate weather scripts for eggdrop,etc but
it would just make junk. then it would plagarize a lot for other
ideas.
maybe digitalman can scrutinize the code.
maybe digitalman can scrutinize the code.
That would be nice to hear what he thinks.
| Sysop: | Lmorchard |
|---|---|
| Location: | Portland, OR |
| Users: | 128 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 17:42:46 |
| Calls: | 812 |
| Calls today: | 2 |
| Files: | 24 |
| D/L today: |
2 files (136K bytes) |
| Messages: | 29,327 |