rejetto forum

Programmer's request for rejetto

Mars · 2 · 1411

0 Members and 1 Guest are viewing this topic.

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
Demand for some macro supplementary

one switch ON/OFF   
{.server on.} and {.server off.}
     or
{.server|on.} and {.server|off.}

to be using with a time event: 
  {.if|{.in range|22|%time%|24.}{.in range|00|%time%|08.}| {.server|off.} | {.server|on.} /if.}

In accompaniment of the macro 'disconnect', it would indeed be necessary have a macro 'busy' which prevents a person from logging by sending him a web page indicating to him that the server is at present occupied and with re-trying later

{.if|condition|{.busy.}.}

I know this quer you are going to answer me: use a section {.$busy }. But I do not want to use of sections because so it will be possible to use a button 'server as busy' in hfs to put the server in busy mode, and not inevitably in mode off.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
{.set ini|active=yes.}  (or "no")

about the "busy", it's not a bad idea, also if i never got a similar request.
i would like to get some opinions about it.