home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2002 April
/
GSSH42002.iso
/
EDITOREN
/
DS
/
gmax
/
gmaxinst_1-1.exe
/
gmaxsetup11.cab
/
scripttools.ms
< prev
next >
Wrap
Text File
|
2002-02-13
|
1KB
|
42 lines
-- Added functions for improved scripter workflow
-- Created: April 7 2000
-- Last Updated: April 7 2000
--
-- Author:Frank DeLise
-- Version:3D Studio Max Release 4.0
--
-- -- This script Allows you to add your own functions for help when writting scripts
--***********************************************************************************************
-- MODIFY THIS AT YOUR OWN RISK
--***********************************************************************************************
-- Example: Help "Box"
fn Help What =
(
If what == "" then
(
Format "%\n" "You must type in an command you are looking for like" to:Listener
Format "%\n" "Help \"Box\", which will list all commands with the name Box in it." to:Listener
Format "%\n" "Help All, will list all commands" to:Listener
)
Else if what == all then
(
Apropos ""
)
Else
(
Try (Apropos (What))
Catch (Format "%\n" "No Info Found, Example: Help \"Box\"" to:Listener)
)
)
-- Example Show $
fn Show What =
(
Try (ShowProperties (What))
Catch (format "%\n" ("No Info Found on " + What as string) to:listener)
)