(DIR) (to nexus)
YOU SEE HERE:
(HTM) actions
(TXT) Welcome to COW.
(HTM) basics
(TXT) Welcome to COW.
(HTM) cask-of-materials
(HTM) classes
h302 Moved
h</head><body bxgcolor=#103050 oldbg=#3F6473><link rel='stylesheet' type='text/c
r> <a href='/cgi-bin/cow.pl?p=CiLFQ&m=input&a=144492&f=&s=&d=&c=examine 2740' id
></b><span class=writtenby> by <span style='color:gold;'> wolis</span> at <a hre
m=input&a=144492&f=&s=&d=&c=edit 1249' id=a title='edit it' class='cmd' >edit</a
(`0'..`23') <br>`%h' Hour (`01'..`12') <br>`%I' Hour (`01'..`12') <br>`%l' Hour
t 1250' id=a title='edit it' class='cmd' >edit</a></div><br><pre><br> ----------
e of the object eg <em>Frank</em> for a cat called Frank<br>| gender | varchar(1
of the player who <em>is</em> this object - so we dont maintain a table of users
on the chair</em> some poses when combined with a hosthow stick the object to th
ndom, but is fixed once viewed<br>| y | int(11) unsigned |<br>| z | int(11) unsi
|Image to use when displayed in a list (message list or list of a room) acts li
igned |obj_id of a locking object - only it can be sued to unlock this object fo
ass=info style=padding:10px;margin:0px><h2>hints tips and samples </h2><div clas
id=a title='edit it' class='cmd' >edit</a></div>The key word must be followed b
the contents of another object use <b>read</b><br>You have to use quare brackest
s=; expires=Mon, 01-Jan-1990 00:00:00 GMT; path=http://www.google.com/; domain=.
m<br><br> Set-Cookie: PREF=ID=d2836ae751db0a14:FF=0:TM=1342399953:LM=1342399953:
>To include a clickable bit to perform some commands use <b>type</b> or <b>click
br><div class=nml>This is 7 years, 28 days, 17 hours and 56 minutes old</div></d
<br><b>var $msg to 'hello there';</b><br>Assigns the string 'hello there' to the
s date/time modified by the params supplied.<br><br>It uses MySQL date/time calc
ll objects'';</code><br><br><b>var {$variable} to {$object} is log[ged in|on]</b
&m=input&a=144492&f=&s=&d=&c=edit 18445' id=a title='edit it' class='cmd' >edit<
de it' target=uinput class='click' title='do this command'>code it</a><br><br><b
rigger word your object hears will cause the block with that same word to execut
push:runsub whattodo;</code><br><br>Now we need to define the <b>whattodo</b> bl
br>var $actn to (jumps,floats,flies,wants to jump,refuses to jump);<br>say 'msg'
br><code><br>##push:runsub isitme;<br><br>##isitme: if $actor eq $target then wh
to jump);<br>say 'msg',''[$actor] $actn into the air'';<br></code><br><br>See h
object list all of the available propetries (fields) you can set (like changing
><br>Some interesting new cowscript statements we have here are 'add' and 'msg w
t else end; <br><br>##changeit:<br>var $newqty to $actor's qty;<br>var $directio
e:look $loc' is where a the magic takes place.<br><br>the key first work after t
fo style=padding:10px;margin:0px><h2>coding lesson three </h2><div class=written
when a logged in player is in the same location will a tickloc happen, otherwise
') is how to set off a 15 min tick.<br><br>When somone logs on and a tick is gen
lookatit;<br><br>##lookatit:<br>say 'msg',''[$actor] looks at [$for_id]'';<br></
t me<br><br>So to look at only players we do this:<br><code>foreach in $loc do c
t in a location.<br><br>Find has threemain ways of operating:<br>find $loc the c
4 days, 21 hours and 57 minutes old</div></div></a><div class=info style=padding
slightly moudly;<br></code><br><br>The useful thing about the new statement is
push:runsub isitme;<br>##isitme:if $actor eq $target then dropit else end;<br>##
6 years, 24 days, 14 hours and 3 minutes old</div></div></a><div class=info styl
cant do anything more than retrieve a random item from this kind of list.<br><b
variable and inform the world that we did something.<br><br>The 'loop' statement
copy cat;</code> would not change the list and would leave the 'large cat' in ou
make use of the fact that $list[0] is the first item in the list, and $list[1] i
we have to check that the $actor's lastline is empty, and if so we make the $thi
on and off.<br><br>-- to be continued --<br><br><div class=nml>This is 6 years,
(HTM) combat
(HTM) communication
(HTM) construction
(HTM) counting
(HTM) hints
(HTM) howtos
(HTM) materials
(HTM) miscellany
(HTM) moving
(IMG) news_space_elevator2.jpg
(HTM) scripting-intro
(HTM) scripting-manual
(IMG) space-elevator-2-neg.jpg
(IMG) space-elevator-2.jpg
(IMG) space-elevator-9.jpg
(IMG) space-elevator-platform-2.jpg
(IMG) space-elevator-platform.jpg
(IMG) space-elevator-view.jpg
(HTM) special-words
(HTM) trading
(DIR) (to nexus)
I don't believe there really IS a GAS SHORTAGE.. I think it's all just
a BIG HOAX on the part of the plastic sign salesmen -- to sell more
numbers!!