$$$ $$$ Logging starts lily.acm.rpi.edu@8888 Fri Oct 28 16:57:02 1994 $$$ /review me (Beginning review: Thu Oct 27 21:28:13 1994 EDT) # # -> (21:28) From Harq al-Ada, to MOO: # - Want to pick up tomorrow? # # -> (21:28) From The Flamemaster, to MOO: # - umm... how many people are going to _not_ go idle? it may be time to # - simply end class for tonight... # # -> (21:28) From wintermute [brb], to MOO: # - yes.. # # -> (21:28) From wintermute [brb], to MOO: # - tomorrow that is.. # # -> (21:28) From Ceej [ learning ], to MOO: # - well, I'm all happy to keep going, but if I'm the only one it seems a bit # - silly. # # -> (21:28) From Harq al-Ada, to MOO: # - Okay. Next time try to have X. :) # # -> (21:28) From The Flamemaster, to MOO: # - tomorrow morning I'll be around.... not tomororw nite... # # -> (21:29) From The Flamemaster, to MOO: # - q-: # # -> (21:29) From Harq al-Ada, to MOO: # - anyone else for the morning? # # -> (21:29) From wintermute [brb], to MOO: # - yes..definitely need a 70line emacs window! # # -> (21:29) From wintermute [brb], to MOO: # - i'll be on all day # # -> (21:29) From Harq al-Ada, to MOO: # - Or most people want evening? # # -> (21:29) From wintermute [brb], to MOO: # - starting at 0700! # # -> (21:29) From The Flamemaster, to MOO: # - does this mean Harq is buying us all x-terminals? # # -> (21:29) From wintermute [brb], to MOO: # - hah # # -> (21:29) From Harq al-Ada, to MOO: # - :) # # -> (21:29) From The Flamemaster, to MOO: # - I'll be on by 0800 if all goes well... # # -> (21:29) From Ceej [ learning ], to MOO: # - Um, I doubt I'll be around before noon. # # -> (21:30) From Harq al-Ada, to MOO: # - By noon the Net won't be worth it. :) # # -> (21:30) From Harq al-Ada, to MOO: # - I'll do a walk through starting at 8:30am and then again at 5:30pm # # -> (21:30) From Harq al-Ada, to MOO: # - How does that sound? # # -> (21:31) From wintermute [brb], to MOO: # - sounds good..maybe the logs can be mangled enuf to make some kind of a # - tutorial too.. # # -> (21:31) From Ceej [ learning ], to MOO: # - works for me. someone remind me on rpi-lily.. # # -> (21:31) From The Flamemaster, to MOO: # - sounds good to me! # # -> (21:31) From Harq al-Ada, to MOO: # - okay # # -> (21:32) From The Flamemaster, to MOO: # - see you in the morning... time to do panix-lily stuff, then shower and # - bed... # # -> (21:33) From Harq al-Ada [class dismissed], to MOO: # - See you all then (whichever time) # # -> (22:54) From Ceej [ more testing ], to MOO: # - ?lshelp -l blurb # # -> (22:54) From Ceej [ more testing ], to MOO: # - ?lshelp -l lurb # # -> (23:00) From Ceej [ more testing ], to MOO: # - whuh # # -> (23:03) From bp, to MOO: # - i'm taking the class from earlier this evening now, by going through the # - review. # # -> (23:28) From Phil [ taking tiger mountain ], to MOO: # - hmm, might i say (this may have been brought up already) that /review # - seems a tad fucked? when i did /review moo i saw "# *** Phil is now a # - member of MOO ***" 8 times. # # -> (08:20) From bp, to MOO: # - so all these people in the discussion are going to come back to a class in # - progress or already over. # # -> (08:20) From The Flamemaster [waiting for class], to MOO: # - morning, atul.. # # -> (08:21) From Harq al-Ada, to MOO: # - I'm showing Gordon the basics of command processing. # # -> (08:21) From Harq al-Ada, to MOO: # - grab #0:do_command C-c C-v #0:do_command # # -> (08:21) From Harq al-Ada, to MOO: # - Are you going to use the pad, bp? # # -> (08:22) From The Flamemaster [waiting for class], to MOO: # - I could install the pad here, if need be... right now I'm in the emacs # - client... # # -> (08:22) From Harq al-Ada, to MOO: # - The pad is in X, do you have X? # # -> (08:22) From The Flamemaster [waiting for class], to MOO: # - oops... I take it back, then... forget the pad... panix doesn't support # - X... # # -> (08:23) From Harq al-Ada, to MOO: # - Do you each have that code up? # # -> (08:23) From The Flamemaster [waiting for class], to MOO: # - by the way, panix-lily is up and running... of course, right now, I'm the # - only user... gonna add a few others today, and hopefully announce it to # - the panix public on Monday... # # -> (08:23) From bp, to MOO: # - yeah I'm planning on using the pad, but i'm running lclient right now. # # -> (08:24) From The Flamemaster [waiting for class], to MOO: # - I've got it up... and the code is, too... # # -> (08:24) From Harq al-Ada, to MOO: # - Ouch. Wait a little bit, Gordon. # # -> (08:24) From Harq al-Ada, to MOO: # - We've got a fairly major review bug we want to patch. :) # # -> (08:24) From Harq al-Ada, to MOO: # - I'll send you a patch you can apply by hand by the end of the day # # -> (08:24) From Harq al-Ada, to MOO: # - >-) # # -> (08:24) From The Flamemaster [waiting for class], to MOO: # - oh, yeah... those multiple attach things... # # -> (08:24) From The Flamemaster [waiting for class], to MOO: # - um... # # -> (08:25) From Harq al-Ada, to MOO: # - Can you get in an editor for this, atul? # # -> (08:25) From The Flamemaster [waiting for class], to MOO: # - is that "you'll send me the patch by the end of the day" or "I should be # - skillful enough to apply it, by the end of the day"? # # -> (08:25) From Harq al-Ada, to MOO: # - I'm about ready to start. # # -> (08:25) From Harq al-Ada, to MOO: # - A moron could apply the patch. :) # # -> (08:25) From bp, to MOO: # - you mean like run emacs side by side? # # -> (08:25) From Harq al-Ada, to MOO: # - Morning Nance. # # -> (08:25) From The Flamemaster [waiting for class], to MOO: # - morning, nance... (: # # -> (08:26) From Nance, to MOO: # - morning # # -> (08:26) From Harq al-Ada, to MOO: # - I'll be teaching as if everyone was using emacs, but use what you like # # -> (08:26) From Harq al-Ada, to MOO: # - You want to take the class, Nance? # # -> (08:26) From The Flamemaster [waiting for class], to MOO: # - umm, Chrisitan... sometimes I can be sub-moronic... # # -> (08:26) From Nance, to MOO: # - I'll just audit it if you dont mind # # -> (08:26) From Harq al-Ada, to MOO: # - Trust me, the patch is easy. You'll just have to paste it in via lclient. # # -> (08:26) From Harq al-Ada, to MOO: # - Funny. Everyone just wants to audit. :) :) # # -> (08:26) From The Flamemaster [waiting for class], to MOO: # - I assume you'll give me step by step instructions? (: # # -> (08:27) From Harq al-Ada, to MOO: # - :) # # -> (08:27) From bp, to MOO: # - well I'll use emacs today so that I can not worry about my delete/control-h # - problems. # # -> (08:27) From Harq al-Ada, to MOO: # - Shout when you are ready bp. # # -> (08:28) From Nance, to MOO: # - I can't stay and chat... gotta get to work. I might even have a meeting # - as soon as I get in # # -> (08:28) From Harq al-Ada, to MOO: # - Are you both comfortable picking things up where we left off, or is there # - something you want me to recover? # # -> (08:28) From The Flamemaster [waiting for class], to MOO: # - (and try to avoid being too unclear... yesterday's screwup with me # - installing the emacs client was a result of ebing told to put the -init # - file into .mud - which I assumed was to be a directory, when in fact # - wintermute and achorrath meant for me to rename it... # # -> (08:28) From The Flamemaster [waiting for class], to MOO: # - ummm, a quick review might be in order... # # -> (08:29) From The Flamemaster [waiting for class], to MOO: # - and we might want to wait another 5 minutes... it's still early... # # -> (08:30) From Harq al-Ada, to MOO: # - okay. I'll get some breakfast tea and a muffin and brb # # -> (08:30) From The Flamemaster [waiting for class], to MOO: # - okay.. gonna do some stuff here... # # -> (08:31) From bp, to MOO: # - I am ready. # # -> (08:32) From The Flamemaster [waiting for class], to MOO: # - harq's getting breakfast, atul.. # # -> (08:36) From Harq al-Ada, to MOO: # - okay. Who is really taking the class right now? :) # # -> (08:36) From bp, to MOO: # - *raises hand* # # -> (08:37) From The Flamemaster [waiting for class], to MOO: # - *raises hand* # # -> (08:37) From The Flamemaster [waiting for class], to MOO: # - can I have 2 more minutes, tho.? # # -> (08:37) From Harq al-Ada, to MOO: # - Sure. # # -> (08:38) From Harq al-Ada, to MOO: # - okay. two watchers and two learners. :) # # -> (08:39) From Darkwind [not here], to MOO: # - And I don't have emacs or Pad availible at the moment, so I will be a # - serious lurker. # # -> (08:40) From bp, to MOO: # - I am not sure what you plan on covering today, Harq, but I basically # - didn't get past when you were covering making your own verb. # # -> (08:40) From The Flamemaster [waiting for class], to MOO: # - Okay... I'm set up on the emacs client, and have the html MOO ProgMan up # # -> (08:40) From The Flamemaster [waiting for class], to MOO: # - in another screen... (-< # # -> (08:41) From The Flamemaster [waiting for class], to MOO: # - I'm in about the same boat as you, atul... # # -> (08:41) From Harq al-Ada, to MOO: # - okay. I'll start from the begining and move quickly to verbs # # -> (08:41) From The Flamemaster [waiting for class], to MOO: # - go for it... (: # # >> (08:42) Private message from Harq al-Ada: # - Yes. Though my log from atomic types got fucked so I don't have any of # - the begining stuff # # -> (08:42) From The Flamemaster [waiting for class], to MOO: # - actually - quick emacs question first... # # -> (08:42) From Harq al-Ada, to MOO: # - sure # # >> (08:43) Private message from Harq al-Ada: # - okay. I'll work this into a tutorial and send it to you. # # -> (08:43) From The Flamemaster [waiting for class], to MOO: # - how can I make the top section of the split-screen larger... don't need # - quite as much space in the lower split.... # # -> (08:43) From bp, to MOO: # - Nance and Dark can still execute many of the "@" commands if they're # - playing at home with lclient. # # -> (08:43) From Harq al-Ada, to MOO: # - It won't work for the long term sine emacs resplits the window. # # -> (08:43) From The Flamemaster [waiting for class], to MOO: # - oh... forget it then... # # -> (08:44) From The Flamemaster [waiting for class], to MOO: # - regardless, this is alot better than last night... # # -> (08:44) From Darkwind [not here], to MOO: # - I'm setting up emacs on another machine at the momet...rebinding keys and # - stuff. # # -> (08:45) From Harq al-Ada, to MOO: # - gack # *** (08:45) Darkwind [not here] has detached *** # # -> (08:46) From Harq al-Ada, to MOO: # - Okay. # *** (08:46) Darkwind has reattached *** # # -> (08:46) From Harq al-Ada, to MOO: # - Okay. First MOO is divided into several atomic types: numbers, strings, # - lists, and objects. # # >> (08:47) Private message from Prisoner: # - hi # # -> (08:47) From Harq al-Ada, to MOO: # - numbers have all the common operations available for them +, -, /, *, and # - % (modulo) # # -> (08:48) From Harq al-Ada, to MOO: # - strings have concatenation with + "foo"+"bar" is "foobar" # # -> (08:48) From Harq al-Ada, to MOO: # - strings alaso use a handy array reference notation "foobar"[1..2] is "fo" # # -> (08:49) From Harq al-Ada, to MOO: # - Feel free to try out any of these examples using @eval # # -> (08:49) From The Flamemaster [waiting for class], to MOO: # - just did.. cool.. (: # # -> (08:49) From Harq al-Ada, to MOO: # - For example @eval "foo"+"bar" # *** (08:49) Shiva has entered lily *** # *** (08:49) Shiva has rejoined newuser *** # *** (08:49) Shiva is now a member of MOO *** # # -> (08:50) From Harq al-Ada, to MOO: # - lists are one of the most commonly used MOO types in lily, a list would # - be {1,2,3} # # -> (08:50) From Harq al-Ada, to MOO: # - lists can be joined with the @ operator. it gives you all the members of # - a list {@{1,2},@{3,4}} is {1,2,3,4} try it with @eval # # -> (08:51) From Harq al-Ada, to MOO: # - You can also use the array notation {1,2,3}[2] is 2 # # -> (08:51) From The Flamemaster [waiting for class], to MOO: # - kewl! # # -> (08:52) From Harq al-Ada, to MOO: # - multiple indexes are possible with lists in lists {1, {2,3}, 4}[2][1] is # - 2 # # -> (08:52) From Darkwind, to MOO: # - (Lists can also be a mix of numbers and strings it seems.) # # -> (08:52) From bp, to MOO: # - @eval "{@{1,2},@{3,4}}" ? # # -> (08:52) From Harq al-Ada, to MOO: # - You will notice that indexing begins from 1 like pascal, not 0 like C # # -> (08:52) From Harq al-Ada, to MOO: # - lists can be a mis of lists, objects, numbers, and strings # # -> (08:52) From Harq al-Ada, to MOO: # - mis == mix # # -> (08:53) From Harq al-Ada, to MOO: # - Yes, atul # # -> (08:53) From Harq al-Ada, to MOO: # - Drop the "s though # *** (08:53) Shiva has changed their blurb to [%logging this class for review] *** # # -> (08:53) From bp, to MOO: # - ah hah # # -> (08:53) From Darkwind, to MOO: # - Any limit to how far lists can be nested? # # -> (08:54) From The Flamemaster [waiting for class], to MOO: # - whoops! strings require quotes? # # -> (08:54) From Harq al-Ada, to MOO: # - strings require quotes, there is no practical limit, darkwind # # -> (08:54) From Harq al-Ada, to MOO: # - The real power of a list will be obvious with this next example # # -> (08:55) From The Flamemaster [waiting for class], to MOO: # - kewl - and you can nest to get a character in a strin in a list! # *** (08:55) Shiva has been detached (possibly by accident) *** # # -> (08:56) From Harq al-Ada, to MOO: # - @eval 6 in {2,3,4,6,8,9} # # -> (08:56) From Harq al-Ada, to MOO: # - sigh here goes the Net # # -> (08:56) From The Flamemaster [waiting for class], to MOO: # - huh? I get 4 # # -> (08:56) From Harq al-Ada, to MOO: # - Right. 6 is in position 4 in the list # # -> (08:56) From Harq al-Ada, to MOO: # - try a number that isn't in the list # # -> (08:57) From The Flamemaster [waiting for class], to MOO: # - oh, duh... # # -> (08:57) From Harq al-Ada, to MOO: # - You will get 0 indicating the value wasn't found # # -> (08:58) From Harq al-Ada, to MOO: # - this kind of list lookup is very fast since lists are hash tables inside # - moo. so if you want to match a whole keyword try @eval "all" in {"all","he # - re","away","detach"} # # -> (08:58) From Darkwind, to MOO: # - Any way to search for an item in a nested list quickly? # # -> (08:58) From Harq al-Ada, to MOO: # - No. # # -> (08:58) From Harq al-Ada, to MOO: # - You would need to know which sublist or use a for loop # # -> (08:59) From Darkwind, to MOO: # - Okaydoke. # # -> (08:59) From bp, to MOO: # - its apparently case insensitive too. # # -> (08:59) From The Flamemaster [waiting for class], to MOO: # - MOO is case-insensitive... # # -> (08:59) From Harq al-Ada, to MOO: # - Yes. All comparisons are case insensitive # # -> (09:00) From Harq al-Ada, to MOO: # - Only through crypt() and strcmp() can get you case sensitivity # # -> (09:00) From Harq al-Ada, to MOO: # - There is also a defined list {} the empty list # # -> (09:01) From The Flamemaster [waiting for class], to MOO: # - that must've simplified sendlist name matching... # # -> (09:01) From Harq al-Ada, to MOO: # - No. It sisn't. :) # # -> (09:01) From Harq al-Ada, to MOO: # - didn't I mean # # -> (09:01) From Harq al-Ada, to MOO: # - That only matches whole names. No one uses whole names. :) # # -> (09:01) From The Flamemaster [waiting for class], to MOO: # - I meant the lack of case sensitivity... but okay... # # -> (09:02) From Harq al-Ada, to MOO: # - People comfortables with lists? # # -> (09:02) From The Flamemaster [waiting for class], to MOO: # - I use whole names - courtesy of tabkey... (: # # -> (09:02) From Harq al-Ada, to MOO: # - True. :) # # -> (09:02) From The Flamemaster [waiting for class], to MOO: # - I'm okay with everything so far... # # -> (09:03) From bp, to MOO: # - quick Question before we proceed. # # -> (09:03) From Harq al-Ada, to MOO: # - shoot # # -> (09:03) From bp, to MOO: # - If i did "@eval {1, {2,3}, 4}[2..3]" why do I get what I get? # # -> (09:04) From Harq al-Ada, to MOO: # - You got a list containing "{{2, 3}, 4}" because that is items 2 and 3 # # -> (09:04) From The Flamemaster [waiting for class], to MOO: # - I assume you got "{2,3}, 4" ??? # # -> (09:04) From Harq al-Ada, to MOO: # - You got a list because more than one item was involved. If you did [2] # - only you would get {2,3} not {{2,3}} # # -> (09:05) From bp, to MOO: # - okay, i understand. # # -> (09:05) From Harq al-Ada, to MOO: # - okay. Lets move on to objects. Objects are the core of the MOO programming # - system. They are referenced by #objectnumber and hold verbs and properities # - and implement single inheritence # # -> (09:05) From Darkwind, to MOO: # - Just to state the relative obvious (I think), lists, arrays and strings # - are all stored and managed in the same way. so "abc" = {"a","b","c"}, yes? # # -> (09:05) From Harq al-Ada, to MOO: # - No. # # -> (09:05) From Darkwind, to MOO: # - (then you can go on) # # -> (09:05) From Harq al-Ada, to MOO: # - strings are much more atomix than lists # # -> (09:06) From Darkwind, to MOO: # - Okaydoke. # # -> (09:06) From The Flamemaster [waiting for class], to MOO: # - but for our purposes, ids there a reason to worry about the atomicity of # - strings? # # -> (09:06) From Harq al-Ada, to MOO: # - a string can be treated like a list throught he array notation, but not # - with 'in or @ or any of the other str # # -> (09:06) From Harq al-Ada, to MOO: # - Not really. # # -> (09:06) From Darkwind, to MOO: # - Ahhh, okay. Got it. # # -> (09:06) From Harq al-Ada, to MOO: # - Just don't try to use in and @ on them. :) # # -> (09:07) From The Flamemaster [waiting for class], to MOO: # - well, sure... okay... (: # # -> (09:07) From Harq al-Ada, to MOO: # - okay. Lets move on to objects. Objects are the core of the MOO programming # - system. They are referenced by #objectnumber and hold verbs and properities # - and implement single inheritence # # -> (09:07) From The Flamemaster [waiting for class], to MOO: # - single or simple? # # -> (09:07) From Harq al-Ada, to MOO: # - The base object on the system is #0 # # -> (09:07) From Harq al-Ada, to MOO: # - huh? # # -> (09:07) From Harq al-Ada, to MOO: # - single inheritence # # -> (09:07) From The Flamemaster [waiting for class], to MOO: # - inheritance... # # -> (09:08) From The Flamemaster [waiting for class], to MOO: # - okay... # # -> (09:08) From The Flamemaster [waiting for class], to MOO: # - (net's definitely slowing...) # # -> (09:09) From Harq al-Ada, to MOO: # - properties are the data members of an object and are referenced by # - #objnum.property # # -> (09:09) From Harq al-Ada, to MOO: # - . is the property separator. # # -> (09:09) From Harq al-Ada, to MOO: # - look at the discs property of #0 # # -> (09:10) From The Flamemaster [waiting for class], to MOO: # - using @show or @eval ? # # -> (09:10) From Harq al-Ada, to MOO: # - @eval #0.discs # # -> (09:10) From bp, to MOO: # - a list of all the discussion objects. # # -> (09:10) From Harq al-Ada, to MOO: # - Either is okay # # -> (09:10) From Harq al-Ada, to MOO: # - You can imagine that keeping track of the object numbers for everything # - would become burden some. So MOO retains the '$' character to provide # - immediate access to properties in #0 # # -> (09:10) From Harq al-Ada, to MOO: # - try @eval $discs # # -> (09:12) From bp, to MOO: # - nifty. # # -> (09:12) From Harq al-Ada, to MOO: # - Okay. So, any property in #0 can be grabbed with $ # # -> (09:12) From The Flamemaster [waiting for class], to MOO: # - quick diversion - is the only difference between @show and @eval on a # - property that @show also gives ownership and permission, while @eval gives # - just the value? # # -> (09:12) From Harq al-Ada, to MOO: # - Try to look at ta property of a $ property # # -> (09:12) From Harq al-Ada, to MOO: # - yes # # -> (09:12) From Darkwind, to MOO: # - @eval properties(#0) is useful. # # -> (09:13) From Harq al-Ada, to MOO: # - try @eval $lily_utils.active_states # # -> (09:14) From Harq al-Ada, to MOO: # - that is the same as @eval #0.lily_utils.active_states # # -> (09:14) From The Flamemaster [waiting for class], to MOO: # - ahh... $welcome_message... that'll be a useful one to be able to change... # - (: # # -> (09:14) From Harq al-Ada, to MOO: # - The most common references you will see in the code are $player, $disc, # - $lily_utils, and $list_utils # # -> (09:15) From Harq al-Ada, to MOO: # - to see all of the properties of an object use @eval properties(#objnum) # *** (09:16) 12bit has entered lily *** # *** (09:17) 12bit has detached *** # # -> (09:17) From Harq al-Ada, to MOO: # - people awake out there? :) # # -> (09:17) From The Flamemaster [waiting for class], to MOO: # - yup... playing with eval'ing properties... # # -> (09:18) From bp, to MOO: # - oh yeah, ditto. # # -> (09:18) From Harq al-Ada, to MOO: # - okay. My Net just slowed down here for a moment. # # -> (09:19) From Harq al-Ada, to MOO: # - I'm going to make a property on the $player (the generic player object # - from which all of us inherit). # # -> (09:19) From The Flamemaster [waiting for class], to MOO: # - okay... # # -> (09:19) From Harq al-Ada, to MOO: # - try to look at it with @eval $player.class # # -> (09:20) From Harq al-Ada, to MOO: # - You can look at your copy of it with @eval player.class (player is # - you, $player is the parent object) # # -> (09:21) From Harq al-Ada, to MOO: # - I used the command @property $player.class "8:30am" "rwc" #6 # # -> (09:21) From Harq al-Ada, to MOO: # - rwc is 'read', 'write', and 'children can change'; #6 is the owner (#6 # - is the number of $player # # -> (09:22) From The Flamemaster [waiting for class], to MOO: # - is the only way to find out parents or children to use the parent and # - children commands, or are they available somewhere in the object? # # -> (09:22) From Harq al-Ada, to MOO: # - The 'c' bit allows you to alter _your_ COPY of the property # # -> (09:22) From Harq al-Ada, to MOO: # - You use the parent and children commands # # -> (09:22) From Harq al-Ada, to MOO: # - @eval parent(object) # # -> (09:22) From Harq al-Ada, to MOO: # - and @eval children(objnum) # # -> (09:23) From The Flamemaster [waiting for class], to MOO: # - ok # # -> (09:23) From The Flamemaster [waiting for class], to MOO: # - ok # # -> (09:23) From The Flamemaster [waiting for class], to MOO: # - sorry about that... # # -> (09:23) From bp, to MOO: # - I'm still with you. # # -> (09:23) From Harq al-Ada, to MOO: # - Go ahead and use @eval to modify your _copy_ of the class property # - @eval player.class="harq's copy" is what I did # # -> (09:24) From Darkwind, to MOO: # - Hmm...i don't recommend @eval children (#6) :-) # # -> (09:27) From Harq al-Ada, to MOO: # - Now we are going to take a look at verbs to help us understand properties # - better # # -> (09:27) From The Flamemaster [waiting for class], to MOO: # - okay... # # -> (09:27) From Harq al-Ada, to MOO: # - verbs are stored with the object as well and use : as a delimiter instead # - of . # # -> (09:28) From Harq al-Ada, to MOO: # - @list $player:class will show the verb we are working with, but you will # - want to bring it up in emacs with C-c C-v $player:class # # -> (09:29) From Harq al-Ada, to MOO: # - does everyone have the verb up? # # -> (09:29) From The Flamemaster [waiting for class], to MOO: # - yup... # # -> (09:30) From Darkwind, to MOO: # - yes # # -> (09:31) From Harq al-Ada, to MOO: # - call it with @eval player:class() # # -> (09:31) From Harq al-Ada, to MOO: # - then use @eval to change the type of _you_ copy of the class property and # - call it again # # -> (09:31) From Harq al-Ada, to MOO: # - It will detect the -type_ of the class property and let you know. # # -> (09:32) From Harq al-Ada, to MOO: # - The code example uses the 'typeof()' builtin to detach the type of the # - property at runtime. # # -> (09:33) From bp, to MOO: # - i'm all set with it, i just discovered you have to put a string in quotes. # # -> (09:34) From bp, to MOO: # - will it ever get to the "what did you make?" section of the code? # # -> (09:34) From Harq al-Ada, to MOO: # - Nope. :) # # -> (09:34) From Harq al-Ada, to MOO: # - Not unless the server adds a new type. :) # # -> (09:34) From The Flamemaster [waiting for class], to MOO: # - kewl... got it... (: # # -> (09:35) From Harq al-Ada, to MOO: # - So, it is pretty easy to see how types and properties and verbs are # - working otgether. Now lets move on to verbs themselves and control # - structures # # -> (09:35) From The Flamemaster [waiting for class], to MOO: # - so you can have a verb with the same name as a property... kewl.. # # -> (09:36) From Harq al-Ada, to MOO: # - The most primitive control structure is the if, it has all the familar C # - conditionals available to it ||, &&, !, ==, !=, >=m <= # # -> (09:37) From Harq al-Ada, to MOO: # - if (!(player.state in {"here","away"})) would check if the value of # - player.state property is not in the given list. # # -> (09:38) From Harq al-Ada, to MOO: # - You also have if ... elseif ... else ... endif available to you just as # - we see in the example verb # # -> (09:38) From Harq al-Ada, to MOO: # - are people pretty clear on that? # *** (09:38) wintermute has reattached *** # # -> (09:39) From bp, to MOO: # - Yes. # # -> (09:39) From The Flamemaster [waiting for class], to MOO: # - yup... # # -> (09:40) From Harq al-Ada, to MOO: # - okay. Lets all make our own versb to work with (some of you may already # - have them from lst night) # # -> (09:40) From The Flamemaster [waiting for class], to MOO: # - go for it... (: # # -> (09:40) From Harq al-Ada, to MOO: # - @verb myobj:class "rdx" #6 # # -> (09:40) From wintermute, to MOO: # - who all are actually following it? # # -> (09:41) From Harq al-Ada, to MOO: # - Substitute your object number (with #) for myobj # # -> (09:42) From The Flamemaster [waiting for class], to MOO: # - I'm following... (verb added) # # -> (09:42) From Harq al-Ada, to MOO: # - Now edit that verb to do a simple notify "player:notify("testing");" # # -> (09:42) From The Flamemaster [waiting for class], to MOO: # - how? # # -> (09:42) From Harq al-Ada, to MOO: # - and send the verb with C-c C-s or M-x mud-macro-send # # -> (09:42) From wintermute, to MOO: # - i have mine.. # # -> (09:42) From Harq al-Ada, to MOO: # - C-c C-v myobj:class # # -> (09:43) From The Flamemaster [waiting for class], to MOO: # - verb programmed... # # -> (09:43) From bp, to MOO: # - I've got mine programmed # # -> (09:44) From Harq al-Ada, to MOO: # - player is a variable provided by MOO and contains the object number of # - the player on _that_ connection. # # -> (09:44) From The Flamemaster [waiting for class], to MOO: # - @eval #75.class ???? # # -> (09:44) From Harq al-Ada, to MOO: # - So, if I call _your_ class verb I will get the output to my screen # # -> (09:44) From Darkwind, to MOO: # - Quick question, how do you escpae things in string? Like how would I put # - a " in a string? # # -> (09:44) From Harq al-Ada, to MOO: # - @eval obj:class() # # -> (09:44) From Harq al-Ada, to MOO: # - \ # # -> (09:44) From The Flamemaster [waiting for class], to MOO: # - gives me testing \n ==>0 # # -> (09:45) From The Flamemaster [waiting for class], to MOO: # - um, make that one = # # -> (09:45) From Harq al-Ada, to MOO: # - Now. Lets put a protection on our versions of class() # # -> (09:45) From The Flamemaster [waiting for class], to MOO: # - otay... (: # # -> (09:46) From Darkwind, to MOO: # - Oops. I have a different object here. :-) # # -> (09:46) From Harq al-Ada, to MOO: # - look at my verb with @list #8:class # # -> (09:46) From The Flamemaster [waiting for class], to MOO: # - different object??? # # -> (09:46) From wintermute, to MOO: # - the verb we created last nite w/ 2 args gives strange results.. # # -> (09:46) From Darkwind, to MOO: # - Yeah, I'm object #30 on the older version of the core...here I'm 33. # # -> (09:47) From Harq al-Ada, to MOO: # - We are rewriting those verbs, wintermute # # -> (09:47) From Harq al-Ada, to MOO: # - Did everyone look at my copy of class? # # -> (09:49) From The Flamemaster [waiting for class], to MOO: # - egg-sellent... (: # # -> (09:49) From bp, to MOO: # - seen. # # -> (09:49) From Harq al-Ada, to MOO: # - I've put on access control to make sure that the person invoking it is me. # # -> (09:50) From Harq al-Ada, to MOO: # - try to call my copy of class with @eval #8:class() # # -> (09:51) From wintermute, to MOO: # - hah # # -> (09:51) From Darkwind, to MOO: # - Gives me a "testing" ;-) # # -> (09:51) From wintermute, to MOO: # - so only player 33 can take a a look at it # # -> (09:52) From Harq al-Ada, to MOO: # - cute, darkwind. :) # # -> (09:52) From The Flamemaster [waiting for class], to MOO: # - did it... try mine... @eval #75:class() # # -> (09:53) From The Flamemaster [waiting for class], to MOO: # - the mind boggles... # # -> (09:53) From Harq al-Ada, to MOO: # - Now look at my code again # # -> (09:54) From Harq al-Ada, to MOO: # - play nice, darkwind. :) # # -> (09:54) From Harq al-Ada, to MOO: # - This time I hate it tell _me_ when someone tries to run my code # # -> (09:54) From Harq al-Ada, to MOO: # - err, have, not hate # # -> (09:55) From Harq al-Ada, to MOO: # - tostr(player) is needed since player is an object and I need strings for # - noitfy(), and verb is a variable populated by MOO to contain the _current_ # - verb name for error messages and the like # # -> (09:56) From The Flamemaster [waiting for class], to MOO: # - argh... how do I look at it again? # # -> (09:56) From bp, to MOO: # - someone try mine. "@eval #32:class() " # # -> (09:56) From Darkwind, to MOO: # - (another simple question) Is ther a "not" operator for "in"? So can # - setup a "group" of users who can look at my class? # # -> (09:56) From wintermute, to MOO: # - could someone take a look at #60? # # -> (09:57) From wintermute, to MOO: # - no one? # # -> (09:57) From bp, to MOO: # - cool. I got notified who tried it. # # -> (09:58) From wintermute, to MOO: # - woohoo # # -> (09:58) From Harq al-Ada, to MOO: # - Yes. The ! operator can be used with in # # -> (09:58) From The Flamemaster [waiting for class], to MOO: # - how do I look at your verb again, christian? # # -> (09:58) From Harq al-Ada, to MOO: # - @list #8:class # # -> (09:59) From The Flamemaster [waiting for class], to MOO: # - @list that's it... okay... # # -> (09:59) From Darkwind, to MOO: # - Hrmmm. # # -> (09:59) From wintermute, to MOO: # - if i C-c C-v #8:class - will it changedynamically as you change it? # # -> (09:59) From Harq al-Ada, to MOO: # - No. You will need to reload it # # -> (10:00) From Harq al-Ada, to MOO: # - want an example, darkwind? # # -> (10:00) From Darkwind, to MOO: # - Yes, since I keep getting syntax errors. # *** (10:00) The Flamemaster has been detached (possibly by accident) *** # # -> (10:01) From Harq al-Ada, to MOO: # - look at my code again, darkwind # *** (10:02) The Flamemaster has reattached *** # # -> (10:02) From Pioneer [here I am!], to MOO: # - how do I paste from the verb buffer into the lily buffer again? # # -> (10:02) From Harq al-Ada, to MOO: # - C-c C-s or M-x mud-macro-send # # -> (10:03) From The Flamemaster, to MOO: # - I need to learn emacs better... got myself stuck in the damned # - verb program full-screen and couldn't get back to the discussion... # # -> (10:03) From Darkwind, to MOO: # - Duh, thanks. :-) # # -> (10:03) From Pioneer [here I am!], to MOO: # - somebody try @eval #90:class() # # -> (10:03) From Darkwind, to MOO: # - (Considering I made that exact some modifiction on the core I'm running, I # - should be shot :-) # # -> (10:04) From Pioneer [here I am!], to MOO: # - cool :) # # -> (10:04) From Harq al-Ada, to MOO: # - Cool, pioneer. # # -> (10:04) From Pioneer [here I am!], to MOO: # - just gotta be me :) # # -> (10:04) From Harq al-Ada, to MOO: # - Get the name property now, pionner. instead of tostr use player.name # # -> (10:04) From Pioneer [here I am!], to MOO: # - yeah. I'm working on it :) # # -> (10:06) From wintermute, to MOO: # - could someone eval #60.class? # # -> (10:06) From wintermute, to MOO: # - that works.. # # -> (10:07) From bp, to MOO: # - try mine too. #32 # # -> (10:08) From bp, to MOO: # - keen. # # -> (10:08) From Pioneer [here I am!], to MOO: # - me again. #90 # # -> (10:08) From wintermute, to MOO: # - nice bp! :) # # -> (10:08) From wintermute, to MOO: # - permission denied anda whole lotta tracebacks # # -> (10:09) From Pioneer [here I am!], to MOO: # - on mine? # # -> (10:09) From Harq al-Ada, to MOO: # - Cool. Everyone look at Jordan's code # # -> (10:09) From wintermute, to MOO: # - yes, pio # # -> (10:09) From Harq al-Ada, to MOO: # - He's stepped on an neat thing. # # -> (10:09) From Pioneer [here I am!], to MOO: # - ah. you can't see it if you don't have permits # # -> (10:09) From Harq al-Ada, to MOO: # - #90:class (use @list or load it up (i'd recommend loading it up) # # -> (10:10) From Harq al-Ada, to MOO: # - Does everyone have his code up now? # # -> (10:10) From bp, to MOO: # - yes. # # -> (10:10) From The Flamemaster, to MOO: # - huh? I'm not in $admins???? # # -> (10:10) From wintermute, to MOO: # - yes..how come i get permission denied tho # # -> (10:10) From Pioneer [here I am!], to MOO: # - cause I'm reading the password? # # -> (10:10) From Pioneer [here I am!], to MOO: # - but is it not your own password which you are reading? # # -> (10:11) From wintermute, to MOO: # - line 2: permission denied # # -> (10:11) From The Flamemaster, to MOO: # - Pioneer owns the verb, tho... # # -> (10:11) From The Flamemaster, to MOO: # - wintermute owns the property... # # -> (10:11) From Pioneer [here I am!], to MOO: # - ah # # -> (10:11) From Harq al-Ada, to MOO: # - Jordan is right, he does not have permission to read the password, and as # - Flamemaster says he owns the verb # # -> (10:12) From wintermute, to MOO: # - ok..(brownnosers!!) # # -> (10:12) From Pioneer [here I am!], to MOO: # - ok, but I can @eval passwords of people other than me (Don't worry they # - crypt()-ed :) ) # # -> (10:12) From Harq al-Ada, to MOO: # - However, Flame isn't quite right about that. # # -> (10:12) From Nance, to MOO: # - (late comer) I can't even do "@eval 1". "(you have no default sendlist)" # # -> (10:12) From The Flamemaster, to MOO: # - ooops... the parent's owner owns the property... # # -> (10:12) From Harq al-Ada, to MOO: # - Do an @show on look at the output of @show #90:class # # -> (10:12) From bp, to MOO: # - thats cause Nance doesn't have the programmer bit set. # # -> (10:12) From The Flamemaster, to MOO: # - but it's only permitted to the owner and the player... # # -> (10:13) From The Flamemaster, to MOO: # - better, Harq? # # -> (10:13) From Harq al-Ada, to MOO: # - Right. The property is only readlable by the real owner which means code # - that uses password must be owned by either the player or the system admin # # -> (10:15) From wintermute, to MOO: # - (have to go do some hw..be back for the 5:30) # *** (10:15) wintermute is no longer a member of MOO *** # *** (10:15) wintermute has left lily *** # # -> (10:16) From Harq al-Ada, to MOO: # - Time for me to get to work, so we'll pick this up at 5:30 # # -> (10:16) From Harq al-Ada, to MOO: # - feel free to play with your object and try new things. if you should # - break this core drop me email and I'll reset it. :) # # -> (10:16) From Pioneer [here I am!], to MOO: # - ditto # *** (10:16) Shiva has reattached *** # # -> (10:16) From bp, to MOO: # - try it now Nance # # -> (10:17) From The Flamemaster, to MOO: # - okay... I shan't be here, tho... but this is a good start... # # -> (10:18) From Pioneer [here I am!], to MOO: # - someone try #90:class() again, please # # -> (10:18) From bp, to MOO: # - well, other than the grammar, it works :) # # -> (10:19) From Pioneer [here I am!], to MOO: # - oops. shoula been a period there # # -> (10:19) From Pioneer [here I am!], to MOO: # - that's what I get for adapting a string from another while being half # - asleep :) # # -> (10:20) From Pioneer [here I am!], to MOO: # - fixed. take a look at it # # -> (10:20) From The Flamemaster, to MOO: # - heh... well, I think it's time for me to go and play on Panix-lily... # - gonna create the staff accounts, even if I don't give them to them yet... # # -> (10:21) From The Flamemaster, to MOO: # - later, guys! # # -> (10:21) From Pioneer [here I am!], to MOO: # - neat. My mom's already got the client in her panix dir # # -> (10:21) From The Flamemaster, to MOO: # - um, make that "later, folks...) # # -> (10:22) From The Flamemaster, to MOO: # - Oh, Jordan... tell her it's now installed in /usr/experimental/bin/lily, # - but she'll have to use the -h option to direct it to RPI, 'cause it # - defaults to my server on panix3... # # -> (10:23) From Pioneer [here I am!], to MOO: # - yeah. its easier just to leave the rpi-pointing client there until the # - servers are linked. its not like she uses any other space on the system # # -> (10:24) From The Flamemaster, to MOO: # - okay... no prob then... a load of people were using my client in ~ggold/bin # - , but now that will just give them a message pointing to the new location # - and the new command line... # *** (10:25) Harq al-Ada has been detached (possibly by accident) *** # *** (10:29) Darkwind has been detached (possibly by accident) *** # # -> (10:30) From bp, to MOO: # - i'm working on a cute verb. give me a couple minutes. :) # *** (10:34) The Flamemaster has detached *** # *** (10:34) Pioneer has changed their blurb to [->shower] *** # # -> (10:35) From bp, to MOO: # - wonder if there is a good way to find out how many elements there are in a # - list. # *** (10:48) wintermute has entered lily *** # *** (10:48) wintermute has rejoined MOO *** # *** (10:48) wintermute is no longer a member of MOO *** # *** (10:48) wintermute has left lily *** # # -> (10:49) From Shiva, to MOO: # - length( ) # *** (10:50) wintermute has entered lily *** # *** (10:50) wintermute has rejoined MOO *** # *** (10:50) The Flamemaster has reattached *** # # -> (10:51) From The Flamemaster, to MOO: # - anyone figure out how to set the banner? (: # # -> (10:52) From bp, to MOO: # - uh, a long time ago. i'm an admin, remember? :) # # -> (10:52) From The Flamemaster, to MOO: # - duh... you mean there's an admin command for it?!? stupid me - I was # - trying to do it using MOO programming... (: # # -> (10:53) From wintermute, to MOO: # - $banner i believe # # -> (10:53) From bp, to MOO: # - yes. # # -> (10:53) From bp, to MOO: # - (It works just like /info set) # # -> (10:55) From The Flamemaster, to MOO: # - yup... duh... silly me... thanks, atul... (: # *** (10:55) The Flamemaster has detached *** # *** (11:20) I [stuff] has entered lily *** # # -> (11:21) From bp, to MOO: # - any one want to try my verb? its not the best programming, but it gets the # - point across. "@eval #32:class()" # *** (11:22) I has changed their blurb to [want my /groups transferred] *** # *** (11:22) I [want my /groups transferred] has detached *** # # -> (11:23) From wintermute, to MOO: # - cool # # -> (11:24) From wintermute, to MOO: # - i get 0 all the time tho # # -> (11:25) From bp, to MOO: # - 0 ? # # -> (11:25) From wintermute, to MOO: # - yes # # -> (11:25) From bp, to MOO: # - what do you mean, exactly? # # -> (11:26) From wintermute, to MOO: # - this is the output of @eval #32:class() i get "You are wintermute. The # - last message was sent to MOO\n=> 0" # # -> (11:27) From wintermute, to MOO: # - this is the output of @eval #32:class() i get "You are wintermute. The # - last message was sent to MOO\n=> 0" # # -> (11:27) From wintermute, to MOO: # - oops # # -> (11:27) From bp, to MOO: # - oh well, eval is going to give you that, and I dont know how to get around # - that. # # -> (11:27) From wintermute, to MOO: # - ofcourse, if you send a private message..it gets confused and doesnt # - update your last message send to property..or doesnt seem to anyways # # -> (11:28) From bp, to MOO: # - it does. # # -> (11:28) From wintermute, to MOO: # - well..i have been sending to MOO since i sent myself a prv message, and # - the output of @eval #32:class hasnt changed # # -> (11:29) From bp, to MOO: # - send me a private message. # # -> (11:30) From wintermute, to MOO: # - ok..so it updates prv messages only then.. # # -> (11:30) From wintermute, to MOO: # - test.. # # -> (11:30) From wintermute, to MOO: # - ahh..I got it.. # # -> (11:30) From wintermute, to MOO: # - if you send to default sendlist, it doesnt seem to see it..if i type an # - explicit moo:message, it gets it # # -> (11:31) From wintermute, to MOO: # - test2 - pleaseignore # # -> (11:31) From wintermute, to MOO: # - ayep..that seems to be it # # -> (11:40) From wintermute, to MOO: # - i should definitely get to a sun lab before the next thing begins..cant # - afford to switch between 10 line buffers w/ no mouse support in emacs # # -> (11:40) From bp, to MOO: # - yeah, no kidding. it sucks majorly. # # -> (11:41) From wintermute, to MOO: # - altho, i did pick up all i needed to in emacs.. # # -> (11:41) From Nance, to MOO: # - cute # *** (11:43) bp has changed their blurb to [back later.] *** # *** (11:43) bp [back later.] is now "away" *** # # -> (11:50) From wintermute, to MOO: # - i rather like @show.. :) # *** (11:51) wintermute has changed its blurb to [shower | food | VCC] *** # *** (11:51) wintermute [shower | food | VCC] is now "away" *** # *** (12:09) Phil has reattached *** # *** (12:43) wintermute has been detached (possibly by accident) *** # *** (12:43) wintermute [emacs-mode] has reattached *** # # -> (12:45) From wintermute [emacs-mode], to MOO: # - could someone try @eval #60:class() # # -> (12:52) From wintermute [emacs-mode], to MOO: # - test # *** (13:18) wintermute [emacs-mode] has detached *** # *** (13:23) Coke has reattached *** # *** (13:24) Coke is now a member of MOO *** # # -> (13:24) From Coke, to MOO: # - 'la # *** (13:26) Coke has detached *** # *** (13:29) Shiva has idled "away" *** # *** (13:33) Night Hawk has entered lily *** # *** (13:33) Night Hawk is now a member of MOO *** # *** (13:34) Night Hawk has been detached (possibly by accident) *** # *** (13:47) Phil has changed their blurb to [ decades ] *** # *** (13:47) Phil [ decades ] is now "away" *** # *** (13:47) Phil [ decades ] has detached *** # *** (14:04) wintermute has reattached *** # # -> (14:26) From wintermute, to MOO: # - hi # # -> (14:26) From wintermute, to MOO: # - last test # *** (14:29) Nance has idled "away" *** # # -> (14:29) From Nance, to MOO: # - cute, but not original after bp's done it # *** (14:29) Nance is now "here" *** # # -> (14:30) From Nance, to MOO: # - :} # # -> (14:31) From wintermute, to MOO: # - i was actually trying somehting based on bp's code..it didnt work tho # # -> (14:31) From wintermute, to MOO: # - or works partially.. # # -> (14:48) From Shiva, to MOO: # - How can I get my programmer bit switched on ? # # -> (14:49) From wintermute, to MOO: # - whats your object #? # # -> (14:49) From wintermute, to MOO: # - i think any of us could do it..just dont know if its ok to do so # # -> (14:53) From Shiva, to MOO: # - 73. # # -> (14:54) From Shiva, to MOO: # - I was programmer on this MOO for a while, before it went public, # # -> (14:54) From wintermute, to MOO: # - u think harq would mind if i set it? # # -> (14:54) From Shiva, to MOO: # - wizard, and admin too, but that's a responsibility I don't want right now. # # -> (14:54) From Shiva, to MOO: # - Well, why don't you just wait for him to see this, and do it, # *** (15:02) wintermute has changed its blurb to [somebody -stop- me! :)] *** # # -> (15:06) From wintermute [somebody -stop- me! :)], to MOO: # - the only thing that sucks abuot this emacs client is that i cant use the # - up arrow key to get prev. entry # # -> (15:25) From Shiva, to MOO: # - should be easy to write that key binding. :-) # # -> (15:27) From Shiva, to MOO: # - (If you don't want to use M-n M-p, that is, # # -> (15:27) From Shiva, to MOO: # - :-) # # -> (15:27) From Shiva, to MOO: # - (I was going to make you write it, and then took pity on you.) :-) # # -> (15:27) From Shiva, to MOO: # - M-n is mud-next-command, and M-p is mud-previous-command, # # -> (15:28) From wintermute [somebody -stop- me! :)], to MOO: # - i didnt know that..thnx # # -> (15:28) From Shiva, to MOO: # - There's also "C-c C-u" which is close to C-u in the lclient, # # -> (15:29) From Shiva, to MOO: # - (It however deletes the whole line, not from the cursor, to the beginning # - of the line.) # # -> (15:29) From wintermute [somebody -stop- me! :)], to MOO: # - woohoo..this only gets better!