Personal Calendar
This is a personal calendar, crafted by Azog. It shows the current and next week! Once installed, you'll use the command +cal to use it!
Step One: Copy and Paste
Copy and paste the following:
&do_calendar me=$+cal:think [setq(0,secs2time(sub(secs(),mul(3600,7))))][setq(1,extract(%q0,3,1))][setq(2,switch(extract(%q0,1,1),Sun,1,Mon,2,Tue,3,Wed,4,Thu,5,Fri,6,Sat,7))]%r[ansi(u,|Sun|Mon|Tue|Wed|Thu|Fri|Sat|)][setq(3,sub(%q1,sub(%q2,1)))]%r[parse(0 1 2 3 4 5 6,|[ifelse(eq(add(%q3,##),%q1),ifelse(lt(add(%q3,##),1),XX,ansi(i,rjust(add(%q3,##),2))),ifelse(lt(add(%q3,##),1),XX,rjust(add(%q3,##),2)))])] |%R[parse(7 8 9 10 11 12 13,|[rjust(add(%q3,##),2)])] |
Step Two: Check Your PC Object
You'll want to be sure that use of your PC object is properly @locked. To do so:
1. Type b me. Typing this command brings up your name, your description, and some basic properties.
2. Verify that you see: Owner: (your PC name), followed by Key: (your PC name). If you do not see this, type:
- @lock me=me
- @lock/use me=me
Thanks, Azog!
Special Note About DST
If your country's daylight savings time differs from the server's, there's an offset there you can change manually as needed. Where it says mul(3600,7), the 7 is the 7 hour offset from server time.