rejetto forum
May 23, 2012, 08:17:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Auto-away since  (Read 4692 times)
0 Members and 1 Guest are viewing this topic.
alkimiya
Moderator
Insane poster
*****
Offline Offline

Posts: 315


986246
View Profile Email
« on: July 03, 2002, 08:54:22 AM »

I have the %awaysince% in my autoaway msg and it shows the time I was set away. Wouldn't it be better if it said which time I last used the computer?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11826


View Profile
« Reply #1 on: July 03, 2002, 10:50:18 AM »

it would not be better

it would be better if we had another symbol for that you asked Smiley
Logged
alkimiya
Moderator
Insane poster
*****
Offline Offline

Posts: 315


986246
View Profile Email
« Reply #2 on: July 03, 2002, 10:56:18 AM »

Off course Smiley

Btw is there a list of symbols for automsgs somewhere?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11826


View Profile
« Reply #3 on: July 03, 2002, 11:55:16 AM »

Code:
function getAutomsgFor(c:Tcontact):string;
var
  h:Tdatetime;
begin
if imAwaySince > 0 then
  h:=(now-imAwaySince)*24
else
  h:=0;
result:=template(automessages[0], [
  '%you%',   c.displayed,
  '%nick%',  c.nick,
  '%ip%', ifThen(c.ip=0,___('unk'),ip2str(c.ip)),
  '%status%', statusName(c.status),
  '%proto%', ifThen(c.proto=0, ___('unk'),  intToStr(c.proto)),
  '%awaysince%', formatDatetime(timeformat.automsg, imAwaySince),
  '%elapsedhours%', intToStr(trunc(h)),
  '%elapsedminutes%', intToStr(trunc(frac(h)*60)),
  '%h%', intToStr(hourof(now)),
  '%m%', intToStr(minuteof(now)),
  '%s%', intToStr(secondof(now)),
  '%D%', intToStr(dayof(now)),
  '%M%', intToStr(monthof(now)),
  '%Y%', intToStr(yearof(now)),
  '%hh%', intToStr(hourof(now),2),
  '%mm%', intToStr(minuteof(now),2),
  '%ss%', intToStr(secondof(now),2),
  '%DD%', intToStr(dayof(now),2),
  '%MM%', intToStr(monthof(now),2),
  '%YY%', intToStr(yearof(now),2),
  '%onlinecontacts%', intToStr(ICQ.readroaster.count-countContactsIn(SC_offline)),
  '%offlinecontacts%', intToStr(countContactsIn(SC_offline))
]);
end; // getAutomsg
Logged
Timo
Guest
« Reply #4 on: November 28, 2005, 01:06:27 PM »

And with winamp :?:

 Tongue
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11826


View Profile
« Reply #5 on: November 28, 2005, 07:32:55 PM »

Quote from: "Timo"
And with winamp :?:
uh?
Logged
rejetto forum
« Reply #5 on: November 28, 2005, 07:32:55 PM »

Do you like this software? Consider even $2
 Logged
ggege
Guest
« Reply #6 on: January 05, 2006, 04:33:54 AM »

how can i display what winamp play at the moment? something like that %winamp...%
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11826


View Profile
« Reply #7 on: January 05, 2006, 07:38:05 AM »

do you REALLY guys want such feature?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 22, 2012, 06:06:21 AM