Below is the snippet I spoke of above incase you wanted to see it or if someone else wanted to.
on ^*:notice:*:*: {
if ($nick === MemoServ) {
haltdef
if ($1-3 === You have a) {
set %MemoServSender $7
ms read $remove($8,$chr(40),$chr(41))
}
inc %memo 1 | set %MemoServ $+ %memo $1-
if (%MemoServSender && %MemoServ5) {
noop $tip(MemoServ,Memo,Sender: %MemoServSender $str($crlf,3) Message: %MemoServ5,4)
unset %Memo*
}
if (!%MemoServSender) { echo 5 -s $timestamp $nick $1- | unset %Memo* }
}
}
All I am getting is a white rectangle. I am using version 6.35.
By the way I use background color of white.
I changed "consolas" to "Fixedsys" and the "$color(background)" to "$color(notice)" and it shows on mine now.
alias startclock {
var %color 2.3.5.6.7.10.12
window -pBw0hf +d @clock -1 -1 $calc($width($time(h:nn:ss TT),Fixedsys,20,0,1) + 2) 18
drawrect -nf @clock 0 1 0 0 $calc($width($time(h:nn:ss TT),Fixedsys,20,0,1) + 2) 18
drawtext -p @clock $gettok(%color,$r(1,7),46) Fixedsys 12 1 1 $time(h:nn:ss TT)
if (!$toolbar(clock)) { toolbar -au clock "Clock" @clock }
toolbar -t Clock $day
.timerclock 0 1 clock.cont
}
alias clock.cont {
var %color 2.3.5.6.7.10.12
window -pBw0hf +d @clock -1 -1 $calc($width($time(h:nn:ss TT),Fixedsys,20,0,1) + 2) 18
drawrect -nf @clock 0 1 0 0 $calc($width($time(h:nn:ss TT),Fixedsys,20,0,1) + 2) 18
drawtext -p @clock $gettok(%color,$r(1,7),46) Fixedsys 12 1 1 $time(h:nn:ss TT)
toolbar -up clock @clock
}
alias stopclock {
.timerclock off
close -@ @clock
toolbar -d clock
}
The above is my version of it. The time changes colors every second. There is a popup that tells you the day when you hover your mouse over it.
Update Sep 14th 2011: Redid entire script as site changed, yet again....
[11:20] <Goofy|AFK> !horoscope libra
[11:20] Sign & Dates: 12Libra @ 12 September 23rd - October 22nd Today: 12September 14, 2011
[11:20] Quickie: 03 Appreciate the smaller things in life -- even clouds in the sky deserve your notice.
[11:20] Overview: 03 Your love life can run on autopilot for the time being -- you need to focus all this social energy on other people! Old friends, colleagues, customers, family and more all need your attention now.
Interesting.
Few notes on it.
1) May want to add a way to remove the background name.
2) The query part only works if you are PMed. Might want to add an on input to make it work if you initiate the query.
-- Could fix #2 if you alter the alias bquery to be just query then it will place the person's nick in the query window