EPOCH time #122


  • New
  • Enhancment
Open
Assigned to ivanfromitaly
  • _ForgeUser18416192 created this issue May 19, 2016

    Hi Ivanpro, I was hoping you could install a new feature on the next version of MyCommand for timers, more specificly, something like an EPOCH timer which will be helpfull for creating custom cooldowns.

    For instance it could be used like this

    'RunFirstCommand':
       command: /RunFirstCommand
       type: RUN_CONSOLE
       runcmd:
       - "$Script$%PlayerData%RunFirstCommandTimer=$epoch"
    'HowLongAgo':
       command: /RunFirstCommand
       type: RUN_CONSOLE
       runcmd:
       - "$Script$%PlayerData%TimeNow=$epoch"
       - "$Script$%PlayerData%TimeNow-RunFirstCommandTimer"
       - "$text$&aYou typed /RunFirstCommand $PlayerData%TimeNow% secconds ago!"

    Thanks for reading

  • _ForgeUser18416192 added the tags New Enhancment May 19, 2016
  • _ForgeUser18416192 edited description May 19, 2016

To post a comment, please login or register a new account.