Es copy
From EventScripts Community Encyclopedia
|
[edit] OverviewSyntax: Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.Variation of this command that doesn't expand variables: es_xcopy [edit] DescriptionCopies the value of one variable to another [edit] Parameters
[edit] ExamplesExample 1: es_xsetinfo var1 "Hello, How are you?" es_xsetinfo var2 "I'm doing great" es_msg server_var(var1) es_copy var1 var2 es_msg server_var(var1) Output: Hello, How are you? I'm doing great Example 2: es_xsetinfo value 0 es_xsetinfo command sv_gravity es_copy value server_var(command) es_msg Server Gravity: server_var(value) es_xsetinfo command sv_airaccelerate es_copy value server_var(command) es_msg Server Air Acceleration: server_var(value) Output: Server Gravity: 800 Server Air Acceleration: 10
[edit] Notes
[edit] See also
|
