[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:katia:chatlog.py

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Sep 30 09:37:07 CDT 2012


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2012/09/30 09:37
User        : katia
Edit Summary: 

@@ -28,24 +28,14 @@
  
  Since it logs Sky Blue messages, it will log when you gain or loose resistances. 
  
  Since it logs uncolored messages with the string ' killed ' in it, it will log messages as 'You killed goblin with ...' (it may get annoying at some point, but not quite as having the whole bunch of messages telling you hit the monster before killing it).
+ 
  
  ====== About the Python version ======
- It works with python 2. If it's your default python you can change the first line of the script to this:
-   #!/usr/bin/python
- 
- If you don't know what python version you have installed you can type 'python' at your console and see what it says. It should be something like this:
- 
-   Python 2.7.3 (default, Apr 24 2012, 00:06:13) 
-   [GCC 4.7.0 20120414 (prerelease)] on linux2
-   Type "help", "copyright", "credits" or "license" for more information.
-   >>> 
- 
- Then use Ctrl+d to exit the python console.
- So, the second line of that output shows you the version. If it says 3 or over you may have to try the command python2 instead, or may need to install it too.
+ It works with python 2 (2.6 or 2.7 will be fine). It will NOT run with python 3 or over.
  
- Anyway, as is, this script will NOT run with python 3 or over.
+ see [[user:katia:about_python]] if you need more explanation about this.
  
  ===== Note about python =====
  If you are new to python you should know it's very important to keep indentation to make a python script work properly.
  


IP-Address  : 186.52.69.211
Old Revision: http://wiki.metalforge.net/doku.php/user:katia:chatlog.py?rev=1349012782
New Revision: http://wiki.metalforge.net/doku.php/user:katia:chatlog.py

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list