Scotsman Site Admin
Joined: 03 Aug 2004 Posts: 705 Location: MadWolf Software
|
Posted: Sun Mar 05, 2006 11:36 pm Post subject: Default prop on connect |
|
|
This bit of code will put a prop on you on connect. Change <username> to your username, and <propid> to the desired prop. You can have multiple default props based on user name if you wish by duplicating those two lines and changing as appropriate.
The default cyborg has a command "list props" built in to give the prop id's of the props you are wearing.
Code: | #----------------------------------------------------------------------------
# SignOn event
#
def mnr_signon():
id = manor.myID()
if manor.getUserName(id) == "<username>":
manor.donProp("<propid>") |
|
|