|
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: Thu Jun 14, 2007 8:53 am
Using other scripting languages, how? |
I've successfully installed activepython and I have the option to do a python script from the drop down list. But I haven't been able to get anything to work including a simple print statement. Could anyone tell me what roughly I can do with python in cmud? Can I intercept text from the mud and do stuff like triggering?
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Thu Jun 14, 2007 10:25 am |
Commands like print probably won't work - where would the printed text go?
CMUD still handles all the triggers and aliases, but when your trigger or whatever is fired, the script for that trigger will run in python if that's what's selected. At the moment, you can only access CMUD variables with the zvar object - this is subject to change and will eventually allow you to access CMUD commands and CMUD functions too. |
|
|
|
|
|