mIRC Home    About    Download    Register    News    Help

Print Thread
#243418 17/11/13 08:23 PM
Joined: Nov 2013
Posts: 21
A
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Nov 2013
Posts: 21
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

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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 }


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard