mIRC Homepage
Posted By: AlphaKennyHuan Time Command - 17/11/13 08:23 PM
Hey i am just wondering if there is a way to get a command like !time that when you do it it shows like a chosen timezone UTC for example, and then the bot would say something like "My time is ... UTC" This may seem like a weird request but it is only because when i stream on twitch people ask me what time it is for me
Posted By: sparta Re: Time Command - 17/11/13 10:20 PM
I guess you can use somthing like this
Code:
on *:text:*:* {
 if ($1 == !time) { .notice $nick My time is $time(hh:nn:ss) - $time(dd:mmm:yy) - $gettok($gmt(zzzz),2,32) }
}

made the code so you can add more commands if you like, use the part elseif ($1 == !what-ever) { do stuff }
© mIRC Discussion Forums