[Ante-cvs] SF.net SVN: ante: [484] trunk/ant/httpd/aski.html
Brought to you by:
roguestar191
|
From: <rog...@us...> - 2007-01-24 09:49:52
|
Revision: 484
http://svn.sourceforge.net/ante/?rev=484&view=rev
Author: roguestar191
Date: 2007-01-24 01:49:52 -0800 (Wed, 24 Jan 2007)
Log Message:
-----------
fastcgi script documentation update
Modified Paths:
--------------
trunk/ant/httpd/aski.html
Modified: trunk/ant/httpd/aski.html
===================================================================
--- trunk/ant/httpd/aski.html 2007-01-24 09:29:42 UTC (rev 483)
+++ trunk/ant/httpd/aski.html 2007-01-24 09:49:52 UTC (rev 484)
@@ -170,8 +170,8 @@
etc.<br>
<hr>
%modify
-<hr>
-// From HERE **************************************************
+<hr><br>
+// From HERE **************************************************<br>
Modify can be used to modify any part of the game state.<br><br>
Modify can be called by rooms and mobs/players.<br><br>
@@ -185,27 +185,27 @@
description // the players description<br><br>
Example:<Br>
-%modify Rogue room "area::roomname"
+%modify Rogue room "area::roomname"<br><br>
-This will be used to make "ships", "portal rooms", and the like.
-// To HERE *****************************************************
-/|\/|\Is depricated. Everything can use %setmodify and modify from items to mobs to exits to bodyparts.
+This will be used to make "ships", "portal rooms", and the like.<br>
+// To HERE *****************************************************<br>
+/|\/|\Is depricated. Everything can use %setmodify and modify from items to mobs to exits to bodyparts.<br><br>
Rooms still have the same behavior as above as it's the only way to "change the room" of the player from a room, this may be changed
<br><br>
almost everything must be %setmodified before it can be changed.<br>
Example:<br>(This was in php, but php is no longer used, the c/c++ is very similar however, enough that these examples still suffice)<br>
-%setmodify Rogue<br>
+print("%setmodify Rogue");<br>
$response = trim(fgets($STDIN));//trim removes \n\r, fgets = read()<br>
if($response == "Success mob")<Br>
-%modify mob immortal true<br><br>
+print("%modify mob immortal true")<br><br>
Example2:<br>
-%setmodify "a giant longsword"<br>
+print("%setmodify \"a giant longsword\"");<br>
$response = trim(fgets($STDIN));<br>
if($response == "Success item")<br>
-%modify item Name<br><br>
+print("%modify item Name");<br><br>
the modify/setmodify system is designed to work along with the defaultinput callback to replace the in-game menusystem with scripts.<br>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|