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.
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.
Re: Display file question
By: RickV to MRO on Sun Dec 14 2025 06:47 pm
maybe digitalman can scrutinize the code.
That would be nice to hear what he thinks.
A link to the script itself (not a screen shot) would help.
Re: Display file question
By: RickV to MRO on Sun Dec 14 2025 06:47 pm
maybe digitalman can scrutinize the code.
That would be nice to hear what he thinks.
A link to the script itself (not a screen shot) would help.
--
digital man (rob)
Re: Display file question
By: Digital Man to RickV on Sun Dec 14 2025 05:24 pm
Re: Display file question
By: RickV to MRO on Sun Dec 14 2025 06:47 pm
maybe digitalman can scrutinize the code.
That would be nice to hear what he thinks.
A link to the script itself (not a screen shot) would help.
he put it on pastebin
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 134:23:53 |
| Calls: | 12,087 |
| Files: | 14,997 |
| Messages: | 6,517,354 |