[Coldstuff] $realm.advance_weather

K Anderson coldstuff@cold.org
Mon, 29 Jul 2002 23:07:55 -0800


I'm not sure but something looks way fishy with this portion of the advance_weather code. 
new =(d[5].daytime(d[6],d[3].daylength(d[2])))[2];

  if (new != last_daytime) {
      last_daytime = new;
      .realm_announce(new);
  }

The portion where it says .realm_announce(new) doesn't look quite right.  That particular secion is suppose to pull a message out from the $realm object but for some reason it doesn't or it does but it is not producing the messages via the realm announce.

What is suppose to happen is that it wonderfully announces to the realm that it is morning, afternoon, evening or night in some sort of message.  Has anybody got something different there?

Does anybody get the four different messages?

I tried to use .get_msg but unless the realm is actually $realm and not a child of $realm then a message could be gotten. But if a realm is something other than $realm then I get a ._get_msg is protected error.

If there's a fix let me know. Tried finding something in the archives but no luck. :(

I guess if it's out of sight and mind then it's not broke. hehehe.  But I certainly would like to see it working.

Finally got the weather announcements to work. that was a bugger of a thing.

-- 
_______________________________________________
Get your free email from www.kittymail.com

Powered by Outblaze