Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

MIRC scripting

Options
  • 14-03-2001 4:57pm
    #1
    Moderators, Category Moderators, Technology & Internet Moderators Posts: 6,265 CMod ✭✭✭✭


    can any one give me a better way of outputting gmt and cet than this?
    cettime {
      %x = 1 + $time(HH)
      return %x
    }
    
    /now {
      /notice $chan Its now $time GMT and $cettime : $time(nn:ss) Cet
    }
    

    the output is
    Its now 15:49:30 GMT and 16 : 49:30 Cet

    i don't like the spaces


    any help/pointers?


Comments

  • Moderators, Music Moderators Posts: 1,481 Mod ✭✭✭✭satchmo


    I've never seen an mIRC script before, but I'm guessing you could just remove the spaces in the code, ie:
    /notice $chan Its now $time GMT and $cettime:$time(nn:ss) Cet
    


Advertisement