Using Macro Scripts

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /homepages/24/d159568878/htdocs/StreetHacker_Prod/modules/book/book.module).
Admin's picture
Using Macro Scripts
A macro script is a listing of instructions and commands whicha program can call on to perform quick operations. For in-game use, a macro script has been simplified down to terminal commands and variable usage. Each command is stored on a different line.

  • Comment Lines are personal notes and are defined when there is a double forward slash "//" leading the line. The comment data follows the double slashes.
  • Terminal input prompts are stored by assigning the value of the input to a variable. This is done by typing a variable name and separating it from the input message with an equals sign.
  • Calling assigned variables is nearly the same as creating them. The only difference is there is no equals or message. All you have to do is type the variable anywhere in an executable statement.

Example: SCRIPT NAME= AUTO-DETAIL

//THIS MACRO WILL LOOKUP WHOIS INFORMATION FOR A SPECIFIC IP ADDRESS.
//AFTER RETRIEVING WHOIS INFORMATION, A PORT SCANWILL BE RUN ON THAT
//IP ADDRESS.

wan_IP=Please Input Target'sWAN IP Address
whois:wan_IP
pscan:wan_IP