Does script that does these things exist for Manor?

Post new topic   Reply to topic General View previous topic :: View next topic  
Author Message
Michael



Joined: 10 Mar 2007
Posts: 4

PostPosted: Wed Nov 11, 2009 11:18 pm    Post subject: Does script that does these things exist for Manor? Reply with quote

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

PostPosted: Wed Nov 18, 2009 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 6 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum