zarqon
Well-known member
Don't replace them! I treasure them.
Today's Updates
I'd forgotten (due to not being able to see it on my small screen) that I was supposed to update those sign changes Theraze pointed out a while back. So, I've posted that update, and as a bonus it also contains another friggin' nifty little function which I am pleased to introduce:
void process_kmail(string functionname)
Loads your kmail, then calls the function specified by functionname on each message. That function must be top level, accept a kmessage as its parameter, and return a boolean. The return value specifies whether or not to delete the message afterwards. When all kmails have been parsed by the supplied function, all messages for which the function returned true will be deleted.
It's lovely! Here's a simple example which deletes all kmails from your pen pal:
My Registry script, login script, and StashBot script are getting smaller and smaller. w00th!
(The T9 on my phone recommended "w00th" as an option once when I started typing "w00t" -- I'm trying to make it catch on because it's kind of HILARIOUS.)
Today's Updates
I'd forgotten (due to not being able to see it on my small screen) that I was supposed to update those sign changes Theraze pointed out a while back. So, I've posted that update, and as a bonus it also contains another friggin' nifty little function which I am pleased to introduce:
void process_kmail(string functionname)
Loads your kmail, then calls the function specified by functionname on each message. That function must be top level, accept a kmessage as its parameter, and return a boolean. The return value specifies whether or not to delete the message afterwards. When all kmails have been parsed by the supplied function, all messages for which the function returned true will be deleted.
It's lovely! Here's a simple example which deletes all kmails from your pen pal:
PHP:
boolean deletepenpal(kmessage m) {
return (m.fromname == "Your Pen Pal");
}
process_kmail("deletepenpal");
My Registry script, login script, and StashBot script are getting smaller and smaller. w00th!
(The T9 on my phone recommended "w00th" as an option once when I started typing "w00t" -- I'm trying to make it catch on because it's kind of HILARIOUS.)