| Author |
Message |
Michael

Joined: 10 Mar 2007 Posts: 4
|
Posted: Wed Nov 11, 2009 11:18 pm Post subject: Does script that does these things exist for Manor? |
|
|
Hi
We're looking for a couple of pieces of script that we'd like to use in our Manor. Pretty simple to write we imagine if they don't exist (yes we have no idea how to write script so we could be being over presumptuous). Here goes:
1. Script that bounces an Avatar (person) to a second room (nominated by the room number) after a certain time (time can be variable) from the room in which they originally landed.
2. Script that shows the date, time and region in the log intermittently. (hope I got this one right - parameters may need to be amended - watch this space)
Look forward to any response.
regards
Michael & Benji (Angel's Fall) |
|
| Back to top |
|
 |
Scotsman Site Admin

Joined: 03 Aug 2004 Posts: 705 Location: MadWolf Software
|
Posted: Wed Nov 18, 2009 11:46 pm Post subject: |
|
|
I have the following in my cyborg for the time stamp in the log:
| Code: | def mnr_inchat(user, chatText):
global lastTime
if manor.tickcount() - lastTime >= 18000:
lastTime = manor.tickcount()
print "------ " + time.strftime("%a, %B %d %I:%M%p") + " ------"
return chatText |
|
|
| Back to top |
|
 |
|