Differences
This shows you the differences between two versions of the page.
— | jmc:jmc_commands [2021-02-06 14:04] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== JMC Commands ====== | ||
+ | |||
+ | |||
+ | |||
+ | <callout type=" | ||
+ | * http:// | ||
+ | * http:// | ||
+ | </ | ||
+ | |||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#cr|#cr]] | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#if|#if]] | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#ps|#ps]] | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#wt|#wt]] | ||
+ | * [[# | ||
+ | |||
+ | ====== #action ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command allows you to program an action (or several) that must be performed when entering any text from the MUD. Such macro commands are called triggers. Individual words in the input string can be replaced with variables '' | ||
+ | |||
+ | All triggers are saved in a single list. Any string coming from the game is checked for compliance with the conditions of the trigger. If it matches several at once, the triggers are executed in order according to the set priority. That is, if you want to specify which trigger is more important, assign a higher execution priority to it. The highest priority is “0”, the lowest is “9”. | ||
+ | |||
+ | If the input line starts with a character '' | ||
+ | |||
+ | If the command is ''# | ||
+ | |||
+ | If the command is ''# | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | < | ||
+ | {The momentum of your kick}={sta} @ {5} | ||
+ | {You try to bash}={sta} @ {5} | ||
+ | {are hungry}={get $food $chest;eat $food} @ {5} | ||
+ | {are thirsty}={drink water} @ {5} | ||
+ | {crashes into you}={sta} @ {5} | ||
+ | {disarms your weapon}={get axe} @ {5} | ||
+ | </ | ||
+ | |||
+ | ''# | ||
+ | |||
+ | < | ||
+ | {The momentum of your kick}={sta} @ {5} | ||
+ | {You try to bash}={sta} @ {5} | ||
+ | {crashes into you}={sta} @ {5} | ||
+ | {disarms your weapon}={get axe} @ {5} | ||
+ | </ | ||
+ | |||
+ | You can temporarily disable execution of triggers with the #ignore command. Repeated return of this command will enable the trigger again. | ||
+ | |||
+ | You can enable the display of commands executed in the trigger with the command #echo. Repeated returns #echo turns off the display. | ||
+ | |||
+ | To remove triggers use the #unaction command. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #alias ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The macro (alias) allows you to specify a new command, making it from a sequence of simpler ones. When issuing a command with the name of an existing alias, JMC will replace it with the sequence of commands specified in this alias. In commands, special variables can be used:% 0 ...% 9, intended to indirectly indicate the words of the line to which the alias is applied. The variable% 0 denotes the last words in a command using an alias, the variables% 1-% 9 contain the words of the string. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | If the second parameter of the alias is missing, JMC will show you all the aliases whose name matches the specified one. | ||
+ | |||
+ | Examples: ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | If the command is ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #bell ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #break ====== | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #char ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command is intended to specify a character from which all JMC commands must begin. You can do the same from the “Options” dialog. The default is the symbol ''#'' | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #clean ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Sends '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #colon ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | When '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #comment ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command does nothing. Used to write comments in macro files. | ||
+ | |||
+ | **Alas, but when you first write to the file with JMC, all teams ''# | ||
+ | |||
+ | Sets the comment character. All commands starting with such a character or with ''##'' | ||
+ | |||
+ | Example: | ||
+ | |||
+ | < | ||
+ | #comment алиасы для использования в бою. | ||
+ | ## алиасы для использования в бою. | ||
+ | #nope алиасы для использования в бою. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #connect ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command is used to establish a connection with the game server.\\ If you are already connected somewhere, the message “Close current connection first” will appear (Close the current connection first). The current connection status is shown in the JMC status bar. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #cr ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Sends a line feed code to the server. This is useful for creating aliases that require intermediate input when executing. Works like the “ENTER” key. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #daa ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Synonyms ''# | ||
+ | |||
+ | The command to send text to the MUD without displaying on the screen and writing to the log, regardless of the settings.\\ ''# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #drop ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | **Documentation may not be accurate.**\\ Used in triggers. [[# | ||
+ | |||
+ | Very similar to [[# | ||
+ | |||
+ | --- | ||
+ | |||
+ | |||
+ | ====== #echo ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #feed ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #flash ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command that sets the focus on the toad window if the user at that time was working with another window.\\ It may be necessary in some important cases (low health, private messages, etc.). | ||
+ | |||
+ | For example,\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #gag ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | Example: ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #grab ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Pulls the string number '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #group ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Manages teams of teams. | ||
+ | |||
+ | It is convenient to use, breaking triggers, hot keys into groups and enable / disable groups depending on the environment - PC / non-PK, magician / warrior, battle mode / rest ... | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #help ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Displays inline help for the command '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #hide ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #hidewindow ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Minimizes the JMC window to the taskbar (regardless of the checkbox in the “Minimize to system tray” settings) | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #highlight ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | If you want to highlight the line containing the specified area, completely - use variables '' | ||
+ | |||
+ | The parameter '' | ||
+ | |||
+ | You can also directly use the name of the color or effect or a combination of them. For example, you can ask '' | ||
+ | |||
+ | Available names:\\ red, blue, cyan, green, yellow, magenta, white, gray, black, light blue, light blue, light blue, light blue, light blue green, b yellow, b magenta, b white, b gray, b black, b brown, b charcoal, b light red, b light blue, b light cyan, b light magenta, b light green, bold, faint, blink, italic , reverse | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | --- | ||
+ | |||
+ | ====== #hotkey ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command allows you to set a new or override an existing shortcut key. By pressing the specified key (or key combination), | ||
+ | |||
+ | Composite key name syntax: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Special names: | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | < | ||
+ | #hotkey Ctrl+z {#zap} | ||
+ | #hotkey {alt+c} { #connect mud.arctic.org 2700} {hotkey} | ||
+ | #hotkey f1 flee | ||
+ | #hotkey {ctrl+f5} {спасти $aim} | ||
+ | </ | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #if ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | When you use a command ''# | ||
+ | |||
+ | You can only compare strings using the script command:\\ '' | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | If Vasya looks at you, you will say ZZZ. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #ignore ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Turns on / off triggers. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #info ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Description: | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #kickall ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #killall ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Synonym: ''# | ||
+ | |||
+ | This command removes all given aliases, triggers, variables, highlights, replacements, | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #lick ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #llist ====== | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #log ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Starts writing to the specified file all textual information coming from the server (except for ANSI special characters) and text entered by the user.\\ If the JMC is already working with any file, the current log is closed and the specified one opens.\\ If this command is given without parameters, the current log will be closed.\\ If the second parameter is missing, the log will be kept in the default mode (set in the SETTINGS / LOGGING dialog).\\ In the “append” mode, the JMC adds the text to the end of the existing file when the log starts, and in the overwrite mode, all the text that existed in the file is deleted. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #logadd ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Adds a line to the main window log file. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #logpass ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | It is used in the list of commands in action' | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #loop ====== | ||
+ | |||
+ | Syntax:\\ ''#< | ||
+ | |||
+ | This command repeats the specified sequence of commands the specified number of times. | ||
+ | |||
+ | ''#< | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #map ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command adds the specified direction to the current save path. This is useful for recording the path when following someone. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #mark ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command can be used either with one argument or without arguments at all.\\ If the “start” (or none) parameter is specified, this command resets the current path entry and turns on the “path mode”. In this mode, the JMC automatically saves all movements in a separate buffer. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #math ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command calculates the specified mathematical expression and stores its result in the specified variable. Works only with integers. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[#if|#if]] | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #message ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command enables / disables the issuance of messages that originate when defining / deleting aliases, variables, replacements, | ||
+ | |||
+ | This command is useful for preventing screen cluttering and unnecessary spamming. For example, often some kind of triggers are hung on teams of movement. In order not to receive annoying messages about trigger redefinition every time you move, use the command ''# | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Turns on / off “multitrigger mode”. When multi-mode is disabled, JMC stops processing the current line after finding the first suitable trigger. When enabled, JMC will check all specified triggers for applying to the current line. If the number of triggers set by you is in the hundreds, it is better to keep this mode turned off using the priorities of triggers to speed up the work. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | Well, a very complicated alias. Let's figure it out. Initially, there is a task of two triggers.\\ The first trigger retrieves the number of hit points from the status bar and puts the resulting value into a variable '' | ||
+ | |||
+ | The default mode is OFF. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Enables / disables the mode in which several [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Enables / disables the mode in which several [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #next ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command in [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #nodrop ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Cancels the [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #nope ====== | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #output ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Displays colored text in the main window (with ANSI, similarly to [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #path ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Shows the current contents of the motion buffer. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #pathdir ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | To recognize user-issued commands as movement commands, the JMC compiles a list of directions.\\ When a user gives a move command or uses their combination (speedwalk), | ||
+ | |||
+ | As a rule, all MUDs use only six directions: n (north), s (south), e (east), w (west), d (down), u (up), and there is no need to worry about new directions. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #pinch ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #play ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Losing the wav file. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #prefix ====== | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #presub ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Enables / disables the ability to use substituted strings in triggers. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #ps ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #quit ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #race ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #read ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command reads the contents of the specified file and executes it as if all the text received was manually entered on the command line. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Used to overload scripts directly from the command line. When using JScript - clears the current JS context and reads newly connected scripts using the [[#use|#use command]] | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Restores the JMC window to the taskbar (WinAPI command) | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #resume ====== | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #return ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command sends the direction opposite to the last executed direction to the server, and then removes the last direction from the current path buffer. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | '' | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #run ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command to run the application (ShellExecute), | ||
+ | |||
+ | Differences from the [[# | ||
+ | |||
+ | * Does not redirect output to the toad window, and [[#ps|#ps]] and [[# | ||
+ | * Allows you to open documents ( ''# | ||
+ | * Can be run in scripts using the method '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #savepath ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Writes the current path buffer to an alias with the given name. This command is useful if you want to use information about the distance traveled in the future.\\ The key is '' | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #scriptlet ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Interprets '' | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #showme ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command will display the specified text on the screen. | ||
+ | |||
+ | Example:\\ ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #sos ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | sos command used to save some variable stuff to custom file. | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | For example, it will ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #speedwalk ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Enables / disables the quick move mode ( speedwalking mode ).\\ Fast moving is the ability of JMC to interpret multiple driving directions with a single command. If the command entered by the user contains only n, s, e, w, d, u, digits, it will be interpreted as a sequence of movements and transmitted to the server accordingly. Numbers indicate the number of repetitions immediately following the number of the direction. | ||
+ | |||
+ | Example:\\ '' | ||
+ | |||
+ | When the fast move mode is off, a command of this kind will be interpreted as a whole, without splitting into components. | ||
+ | |||
+ | **ATTENTION!!! When enabled, you cannot use the “news” command. In order to read the news of the game, give it in the form of “News”.** | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #spit ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Synonyms: ''# | ||
+ | |||
+ | Line by line forwards the file to the mud in a special format. | ||
+ | |||
+ | ''# | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | < | ||
+ | #spit {./ | ||
+ | #spit {./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #status ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Changes the status bar | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #stick ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #substitute ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command replaces the specified part of the text in any line coming from the MUD server with the specified text. | ||
+ | |||
+ | **NB! JMC performs all text replacements before checking for a match from a server on a line to a trigger. Therefore, you can customize your trigger on the text, which is obtained after replacing the original lines.** | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #systemexec ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Three commands have been added ( [[# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | Instead, ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tabadd ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Adds the word to keywords (tabwords). | ||
+ | |||
+ | If you type part of the word and click '' | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tabdel ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Removes a word from keywords (tabwords) | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #terminate ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #textin ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command reads text from the specified file and sends it to the server without any processing. Useful for controlling the game or writing large messages. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tick ====== | ||
+ | |||
+ | Syntax: | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tmlist ====== | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #togglesubs ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Similar to [[# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tolower ====== | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #toupper ====== | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tray ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Minimizes / maximizes the JMC window in the system tray | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tskill ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #tslist ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unaction ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Removes the trigger that was hung on a given piece of text. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unalias ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command removes the alias with the specified name. | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | The command deletes the specified anti-replacement (s). | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unhotkey ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Removes hot key | ||
+ | |||
+ | See [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unpath ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Removes the last entry from the current path buffer. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== # | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command removes the replacement specified for the specified string. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unuse ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Remove the name from the list of script files. If you omit the parameter, the list itself will be displayed. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #unvar ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Deletes a variable with the specified name. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #use ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Provides the ability to connect multiple files with scripts.\\ If you omit the parameter, the list itself will be displayed. The list is saved in the '' | ||
+ | |||
+ | In addition, there is a list of additional files that will be loaded during a reboot. There are two ways to change this list: | ||
+ | |||
+ | * Team ''# | ||
+ | * Through the “Script Files” tab in the Edit dialog box. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #variable ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command creates a variable with the specified name and assigns it a specified value.\\ Variable value can be used to build triggers / aliases and other commands.\\ The variable name must begin with a letter. For later use, the pointer to the variable is a sign '' | ||
+ | |||
+ | There are built-in variables '' | ||
+ | |||
+ | And also '' | ||
+ | |||
+ | Examples:\\ ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | ''# | ||
+ | |||
+ | You can use variables in the [[# | ||
+ | |||
+ | < | ||
+ | #variable hp 100 | ||
+ | #action {HP:%1} {#variable hp %1 ; # | ||
+ | </ | ||
+ | |||
+ | A variable is created '' | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #verbatim ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Turns on / off “verbatim” mode. In this mode, the string entered by the user is not processed in any way and is sent to the game server without any changes. Mode is used to control the game, create messages and other similar purposes. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wait ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Sets the delay for sending all commands to mad, set in deciseconds (1/10 of a second). TTcommands are not counted, direct output to MUD (for example '' | ||
+ | |||
+ | ''# | ||
+ | |||
+ | **It works only for the first command, the rest are sent without delay. Seems to be a bug** | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wamp ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wdock ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Prohibits docking windows to the sides of the main window and other output windows.\\ it will be in free fly. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #whisper ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #winamp ====== | ||
+ | |||
+ | WINAMP - command for controlling WinAMP media player from JMC itself.\\ syntax:\\ ''# | ||
+ | |||
+ | * previous - plays previous in list track | ||
+ | * next - plays next in list track | ||
+ | * play - starts playing | ||
+ | * pause - pause / unpause | ||
+ | * stop - stop playing | ||
+ | * fadeout - fadeout and stop | ||
+ | * stopafter - play current track and stop after | ||
+ | * rewind - fast-rewind, | ||
+ | * forward - fast-forward, | ||
+ | * start - to playlist (not in shuffle mode) | ||
+ | * end - to playlist (not in shuffle mode) | ||
+ | * elapsed - set time showing to elapsed (positive number) | ||
+ | * remaining - set time showing to remaining (negative number) | ||
+ | * ontop - make WinAmp window ' | ||
+ | * doublesize - make WinAmp window doublisized | ||
+ | * volume + - raise volume by 1% | ||
+ | * volume- - lower volume by 1% | ||
+ | * repeat - toggle repeat mode | ||
+ | * shuffle - toggle shuffle mode | ||
+ | * close - close WinAmp | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wlog ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Creates a separate log for the window. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wname ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Sets the new window name. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #woutput ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Displays colored text in the specified window (possible with ANSI, similarly to [[# | ||
+ | |||
+ | The window '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wpos ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Positioning the window. When the toad is restarted, the window (if not complete) will be in this particular place.\\ **This is the only way to make the window hang in the right place all the time.** | ||
+ | |||
+ | ''# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #write ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | This command saves all currently defined macros, aliases, triggers, replacements, | ||
+ | |||
+ | See also: [[# | ||
+ | http | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wshow ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Shows or hides the window. Short displayed, but not hidden, but only closed, the window is considered to be shown. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #wt ====== | ||
+ | |||
+ | See: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== #zap ====== | ||
+ | |||
+ | Syntax:\\ ''# | ||
+ | |||
+ | Closes the current connection. Used to break the connection to the game MUD server. | ||
+ | |||
+ | See also: [[# | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||