It is currently Wed Oct 15, 2008 3:10 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Text Commands: 'copy', 'paste', and 'mpaste'
PostPosted: Tue Apr 25, 2006 7:35 pm 
Offline

Joined: Tue Feb 07, 2006 3:32 pm
Posts: 97
Location: Pittsburgh, Pennsylvania
Introduction:

Allows you to select an entire area with "copy" and all items are then saved to a temporary c-prop so you can then paste them at another location with ".paste" or ".mpaste".

Syntax:

".copy [target]"

".paste"

".mpaste"

Description:

  • The ".copy" command:
    • The accepts the optional switch, "target", which allows you to target items to aquire the maximum and minimum z-hieght.
    • It offers a preview of the items selected to be copied before they are copied to memory.
    • You can target any two corners of the "box" to select items.
    • Item limit is initially set to 1,000 items. Can be changed by modifying the ITEM_LIMIT constant at the begining of the script.
  • The "paste" command:
    • The ".paste" command does a one-time paste of the items copied with the ".copy" command.
    • Uses a "nudge tool" which is a gump interface that allows moving the items as a whole in any direction as many times as needed.
  • The ".mpaste" command:
    • The "mpaste" command allows for pasting the items copied with the "copy" command multiple times at multiple locations.
    • Uses a "nudge tool" which is a gump interface that allows moving the items as a whole in any direction as many times as needed.


Note: An additional required file (YesNo.inc) is also included and should be placed in your includes file. If you have the same file with the same functions and similiar scripting you may omit it.


Attachments:
File comment: POL VERSION 96 IS REQUIIRED!
copy_and_paste.zip [5.69 KiB]
Downloaded 50 times

_________________
Image
Image <-- 50% off setup fees! Use PromoCode "NIGHTSCAPE"
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl