Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Python
➜ A question about examplescript.pys
A question about examplescript.pys
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Hairui
China (24 posts) Bio
|
Date
| Mon 28 Jun 2004 01:41 PM (UTC) Amended on Thu 14 Apr 2005 02:21 PM (UTC) by Hairui
|
Message
| I looked into the examplescript.pys and i found some functions were defined in it,such as :
# ---------------------------------------------------------
# Example showing running a script on world open
# ---------------------------------------------------------
def OnWorldOpen ():
world.Note ("---------- World Open ------------")
...
My question is :
Will this function be performed automatically while the world be open?
or how can i make it be performed automatically when the world be open? | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #1 on Mon 28 Jun 2004 03:23 PM (UTC) |
Message
| You should go to the world's scripting section and write OnWorldOpen in the "On world open" box. |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
12,321 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top