[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Fri Nov 24 10:52:23 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/11/24 10:52
User : ryo
Edit Summary: more info
@@ -183,16 +183,24 @@
Returns a Python ''list'' containing ''Crossfire.Party'' objects, one for each existing party on the server.
==== GetRegions ====
Returns a Python ''list'' containing ''Crossfire.Region'' objects, one for each region.
+
==== RegisterCommand ====
Parameters:
* command name (string)
* script (string)
* speed (decimal, must be positive or 0)
Registers a server command which will be mapped to specified script. See [[server plugin#Registering a command]] for more information.
+
+ The script path is relative to the ''maps'' subdirectory.
+
+ When the command is called, the following methods will provide information:
+ * ''WhoAmI'' contains the player
+ * ''ScriptName'' contains the currently executing script's name
+ * ''ScriptParameters'' contains any parameter the player added to the command. FIXME {can NULL be passed?}
==== RegisterGlobalEvent ====
==== UnregisterGlobalEvent ====
==== GetTime ====
IP-Address : 213.174.127.3
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1164387076
New Revision: http://wiki.metalforge.net/doku.php/cfpython
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list