View Issue Details

IDProjectCategoryView StatusLast Update
0002329unrealircdpublic2005-03-01 16:23
Reporterw00t Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
Summary0002329: "Variables" in MOTD.
DescriptionI was wondering whether it would be possible to introduce a number of variables to the MOTD, etc so you could do something like:

ircd.motd:
Welcome to %SERVNAME% on %NETWORKNAME%.
The current server time is %SERVTIME%...

You get the idea.

The problem I can forsee is that it would have to be processed on every /motd for things like SERVTIME :/
3rd party modules

Activities

codemastr

2005-02-11 11:29

reporter   ~0009078

Why? You don't know the name of your own server/network?

w00t

2005-02-12 02:08

reporter   ~0009086

I was more thinking for remote MOTDs, so you could just go something like:

This is %SERVNAME% on netronet.
Your admin is %ADMINNAME% .. etc.

aquanight

2005-02-12 12:18

reporter   ~0009097

Do we even have remote MOTDs? I don't remember one being able to use a URL in tld{}... though I suppose cron+wget+kill -hup ircd can have this affect. But in that case you're already using a shell script to wget the conf and sighup the ircd, might as well use sed to do the variable stuff in the shell script...

w00t

2005-02-12 12:24

reporter   ~0009098

I thought we did have remote motds... If we don't, I guess I'll have to request that too ;p

aquanight

2005-02-12 12:28

reporter   ~0009099

Last edited: 2005-02-12 12:28

0001507 Seeing as it's still "open" I'm assuming that no, remote including of MOTDs don't exist... :p

*edit* Cursed URL whacker */edit*

codemastr

2005-02-12 13:12

reporter   ~0009100

I don't even really see the point of including the servername in the motd. When you type /motd the first line you see is:

- SERVERNAMEHERE Message of the Day -

So there is no reason to include that, it's already shown! The network name should be the same on all servers, so that can be hard-coded into an MOTD. The current time, well I don't see how that is useful in an MOTD, but in any case, that's what the /time command is for. And for admin name, there is /admin. I just don't quite see how this is really all that useful.

syzop

2005-03-01 16:23

administrator   ~0009385

I could leave this over forever, but the bottom line is that neither me nor codemastr see a useful purpose for this and thus won't be coding it :P.
So I'll just close it now ;)

Issue History

Date Modified Username Field Change
2005-02-11 10:33 w00t New Issue
2005-02-11 11:29 codemastr Note Added: 0009078
2005-02-12 02:08 w00t Note Added: 0009086
2005-02-12 12:18 aquanight Note Added: 0009097
2005-02-12 12:24 w00t Note Added: 0009098
2005-02-12 12:28 aquanight Note Added: 0009099
2005-02-12 12:28 aquanight Note Edited: 0009099
2005-02-12 13:12 codemastr Note Added: 0009100
2005-03-01 16:23 syzop Status new => closed
2005-03-01 16:23 syzop Note Added: 0009385