Register to post in forums, or Log in to your existing account
 

 Related 
Contents
MultiWindow
  #ALL
  #C+
  #C-
  #CAPTURE
  #CLOSE
  #NAME
  #WINDOW
Command Reference
  #
  #ABORT
  #ACTION
  #ADD
  #ADDITEM
  #ADDKEY
  #AFK
  #ALARM
  #ALIAS
  #ALL
  #BACKUP
  #BEEP
  #BREAK
  #BUTTON
  #C-
  #C+
  #CALL
  #CAPTURE
  #CASE
  #CHARACTER
  #CLASS
  #CLOSE
  #CLR
  #COLOR
  #COM
  #CONDITION
  #CONFIGURE
  #CONNECT
  #CR
  #CW
  #DBCLOSE
  #DBDELETE
  #DBFIRST
  #DBGET
  #DBLOAD
  #DBNEXT
  #DBOFFLINE
  #DBONLINE
  #DBPREV
  #DBPUT
  #DBRESET
  #DBSAVE
  #DDE
  #DEFAULT
  #DELCLASS
  #DELITEM
  #DELKEY
  #DELNITEM
  #DESCRIBE
  #DIRECTION
  #DISCONNECT
  #DOOR
  #ECHO
  #ECHOPROMPT
  #EDITOR
  #ERASE
  #EVALUATE
  #EXECUTE
  #FILE
  #FIND
  #FORALL
  #FREEZE
  #FTP
  #FUNCTION
  #GAG
  #GAGBLOCK
  #GAGOFF
  #GAGON
  #GALIAS
  #GAUGE
  #GVARIABLE
  #H-
  #H+
  #HELP
  #HIGHLIGHT
  #HISTORY
  #HOST
  #IF
  #IGNORE
  #IMAGE
  #INPUT
  #KEY
  #KILLALL
  #LAUNCH
  #LMAP
  #LOAD
  #LOG
  #LOOK
  #LOOP
  #LOOPDB
  #LOOPVIEW
  #MAKEROOM
  #MAKEWINDOW
  #MAP
  #MAPQUERY
  #MARK
  #MATH
  #MEDIA
  #MENU
  #MERGE
  #MESSAGE
  #MOVE
  #MSS
  #MXP
  #MXPTRIG
  #NAME
  #NEW
  #NODEF
  #NODIR
  #NOMAP
  #NOOP
  #OK
  #ONINPUT
  #PATH
  #PATHHIGH
  #PAUSE
  #PCOL
  #PICK
  #PLAY
  #PLUGIN
  #PORTAL
  #PRIORITY
  #PROMPT
  #PSUB
  #PW
  #QUERY
  #QUEUE
  #READ
  #RECALL
  #RECORD
  #REGEX
  #RENAME
  #REPEAT
  #RESET
  #RESUME
  #RETRACE
  #SAVE
  #SAY
  #SAYPROMPT
  #SCRIPT
  #SCROLL
  #SEND
  #SENDPROMPT
  #SESSION
  #SET
  #SETPROMPT
  #SHOW
  #SHOWARR
  #SHOWDB
  #SHOWPROMPT
  #SLOW
  #SS
  #STATE
  #STATUS
  #STEP
  #STOP
  #STWIN
  #SUBSTITUTE
  #SUSPEND
  #T-
  #T?
  #T+
  #TAB
  #TAG
  #TELEPORT
  #TEMP
  #TIMER
  #TRIGGER
  #TSET
  #TYPE
  #TZERO
  #UNALIAS
  #UNBUTTON
  #UNCLASS
  #UNDIR
  #UNGAG
  #UNKEY
  #UNMENU
  #UNPORTAL
  #UNTAB
  #UNTIL
  #UNTRIGGER
  #UNVAR
  #UNWATCH
  #URL
  #VARIABLE
  #VERBATIM
  #VERSION
  #VIEW
  #WAIT
  #WALK
  #WATCH
  #WHILE
  #WINDOW
  #WIZLIST
  #WRAP
  #WRITE
  #YESNO
Related Links:
  Command Reference
  #MAKEWINDOW
  MultiWindow
  #MAKEWINDOW
#MAKEWINDOW [[%makew]] 
MAKEWINDOW

Syntax: #MAKEW name action [options]

Create a new child window for the current MUD session. "name" is the name of the window, and "action" is either: OPEN, CLOSE, or REDIRECT. OPEN will create a new window and open it. CLOSE will close an existing window. REDIRECT will start redirecting all MUD output to the specified window. If the window did not yet exist, the Redirect action will call Open first.

Several special "names" can be used: _top refers to the parent MUD window, _previous refers to the previous window that had focus before this window was created.

Options is a database variable or string list of options to control the window creation. The format is: option1=value1|option2=value2...
scrolling=yes|no
determines if the window text will scroll
internal
docks the new window within the current MUD window. See the Align option to control this. The Floating,Left,Top,Width,Height options are ignored for this option.
floating
sets the window to be "stay on top". Ignored for Internal windows.
align=left|right|top|bottom
determines which edge of the main MUD window an Internal window is docked. Left is current ignored and functions the same as Right.
top=value
sets the position of the top edge of the window. See below for description of value coordinates.
left=value
sets the position of the left edge of the window. See below for description of value coordinates.
width=value
sets the width of the window. See below for description of value coordinates.
height=value
sets the height of the window. See below for description of value coordinates.
title=string
sets the caption of the window to the given string
persistant
the position and size of the window are saved when the window is closed and restored the next time the window is opened
force
for persistant windows, ignore the saved values from the user and use the specified Left,Top,Width,Height values

Coordinate values

The coordinate values used in the options can be a simple number of pixels, or can be of the format xxx% to represent a percentage of the screen, or xxxC to represent a certain number of characters. For example, height=10c is the height of 10 characters on the screen. height=50% would use half the height of the screen.

MAKEWINDOW examples

#MAKEWINDOW Tells open "scrolling=yes|left=50%|top=0|width=50%|height=30%|persistant
This would create a new window called "Tells", placed in the upper right portion of the screen.

#MAKEWINDOW Tells Redirect
Starts redirecting all MUD output to the new Tells window.

#MAKEWINDOW _previous Redirect
This redirects the MUD text back to the original window.

#MAKEWINDOW Tells close
This will close the Tells window[/dl]
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net