BagIt (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: # This module will bag any item in any container you tell it too and return where you want. # If the item doesn't fit in the container you designate it attempts to "stow" the item so # ens...)
 
No edit summary
Line 3: Line 3:
# ensure you have a default container.
# ensure you have a default container.


#-------------------------------------------------------
#********************************************************
#********************************************************
# BAGIT module
# BAGIT module
# SetVariable ITEM2BAG [item to put in container]
# SetVariable ITEM2BAG [item to put in container]
# SetVariable GO2BAG [container to put the item in]
# SetVariable GO2BAG [container to put the item in]
# SetVariable BAGITRETURN [script section to return to]
# SetVariable BAGITRETURN [script section to return to]
#-------------------------------------------------------
#********************************************************
#-------------------------------------------------------
#********************************************************


BAGITW:
BAGITW:
Line 54: Line 53:


# END BAGIT Module
# END BAGIT Module
#-------------------------------------------------------
#********************************************************
#-------------------------------------------------------
#********************************************************

Revision as of 15:31, 16 July 2007

  1. This module will bag any item in any container you tell it too and return where you want.
  2. If the item doesn't fit in the container you designate it attempts to "stow" the item so
  3. ensure you have a default container.
  1. -------------------------------------------------------
  2. BAGIT module
  3. SetVariable ITEM2BAG [item to put in container]
  4. SetVariable GO2BAG [container to put the item in]
  5. SetVariable BAGITRETURN [script section to return to]
  6. -------------------------------------------------------
  7. -------------------------------------------------------

BAGITW: Pause 1 BAGIT: Matchre OPENGO2BAG /is closed|that's closed|What were you referring to/i Matchre STOWITEM2BAG /no matter how you arrange|You can't fit|too long to fit|There isn't any more room/i Matchre %BAGITRETURN% /which is inside your|in your/i Matchre BAGITW /Sorry,|\.\.\.wait/i put put my %ITEM2BAG% in my %GO2BAG% MatchWait

OPENGO2BAGW: Pause 1 OPENGO2BAG: Matchre BAGIT /you open|till it opens/i Match STOWITEM2BAG What were you referring to Matchre OPENGO2BAGW /Sorry,|\.\.\.wait/i put open my %GO2BAG% MatchWait

STOWITEM2BAGW: Pause 1 STOWITEM2BAG: Matchre DROPITEM /no matter how you arrange|You can't fit|too long to fit|There isn't any more room/i Match %BAGITRETURN% in your Matchre STOWITEM2BAGW /Sorry,|\.\.\.wait/i put stow %ITEM2BAG MatchWait

DROPITEMW: Pause 1 DROPITEM: Match %BAGITRETURN% you drop Match CURSEDITEM unable Matchre DROPITEMW /Sorry,|\.\.\.wait/i put drop my %ITEM2BAG% MatchWait

CURSEDITEM: ECHO You are probably holding cursed item! Exit

  1. END BAGIT Module
  2. -------------------------------------------------------
  3. -------------------------------------------------------