Buzz_Litebeer
02-08-2003, 10:09 PM
Get the latest version:
http://www.mohadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=1239
______________________ addon_check:
command "<statnum> addon_check"
Prints out in a yellow text message on the left if the file has compiled.
______________________ timeout:
command "<statnum> timeout[<clientid>axis|allies]"
Forces a player or players to go to timeout mode, timeout mode involves not being able to join a team, if they attempt to join a team, it puts them back into spectator.
Examples:
command "timeout 1 2 3"
will send players 1 2 3 to timeout mode.
______________________ release:
command "<statnum> release[<clientid>all|spectator]"
Releases players from timeout.
command "release 1 3"
would release players 1 and 3 from timeout.
command "release spectator"
Will release all spectators from timeout.
______________________ ip_forward:
command "<statnum> ip_forward[<clientid>|all|axis|allies]"
Forces people to go to the server defined by the cvar in the addonpak.cfg called
ip_forward
it will forward the player to that IP, IE they will leave the current server and connect to the new one.
______________________ marktime:
command "<statnum> marktime"
Marks the time, and the time left in MoH_Time and MoH_TimeLeft in seconds.
______________________ team_balance:
command "<statnum> team_balance"
Attempts to balance the team, and make sure the teams are even.
______________________ sayc:
command "<statnum> sayc[<message>|/n]"
Writes out in the center of the screen, /n is used as a line delimeter, instead of a new line though it writes out it 3 seconds after the first line.
Example:
command "sayc Howdy"
Will print "howdy" in the middle of the screen
command "sayc How are you today im good"
will print out "How are you today im good" in the center.
command "sayc How are you /n Im good"
will print out "How are you" for 3 seconds in the center, and then "Im good" 3 seconds later in the middle.
______________________ sayi:
command "<statnum> sayi[<message>|/n]"
Says whatever the "message" is in the left side of the screen in yellow. The line delimiter is /n, it prints out immediately on the next line.
Example:
command "sayi Hello how are you today"
prints "Hello how are you today" on the left.
command "sayi Hello /n im /n fine"
prints out on the left
Hello
im
fine
in yellow.
______________________ sayb:
command "<statnum> sayb[<message>|/n]"
Writes on the left of the screen in BOLD WHITE text. Syntax is otherwise the same as sayi, above.
______________________ sayp:
command "<statnum>sayp[\q<message>\q[<clientid>|all|axis|allies]]"
This prints in yellow text a private message to the player, it uses serveradminval to determine who the private message is from.
Example:
command "sayp \qHello how are you\q 1 2 3"
will send "Hello how are you" to players 1 2 3.
command "sayp \qHi IM FINE! \q axis" will send "Hi IM FINE!" to the axis team
______________________ drop_spec:
command "<statnum> drop_spec"
Disconnects all spectators.
______________________ togglebalance:
command "<statnum> togglebalance"[on|off]]"
Every 2 minuites it attempts to balance the teams if they need balancing, if it determines teams need balancing it puts a message up
Examples:
command "togglebalance on"
turns periodic balancing on.
command "togglebalance off"
turns balancing off
command "togglebalance"
toggles balance switches balance to the opposite of its current state.
______________________ togglenospec:
command "<statnum> togglenospec"[on|off]]"
Every 1 minute it forces all spectators to a team.
Examples:
command "togglenospec on"
turns periodic no spectating on.
command "togglenospec off"
turns no spectator off
command "togglenospec"
switches nospec from one state to another.
______________________ toggleipforward:
command "<statnum> toggleipforward"[on|off]]"
every 10 seconds checks to see how full the server is, if the server is the serversize - ipthreshold full (IE if you have ipthreshold 2 and server size of 18, if there are 17 people it will start) it will put the most recent additions to the server go to the server identified in ip_forward in the config.
Examples:
command "toggleipforward on"
turns periodic ip forwarding on
command "toggleipforward off"
turns periodic ip forwarding off
command "toggleipforward"
toggles ip forwarding.
The config file adds the following aliases, aliases can be typed directly at rcon
example
rcon map_bridge
makes the map switch to the obj bridge map.
alias map_hunt "seta g_gametype 4; map obj/obj_team1"
alias map_v2 "seta g_gametype 4; map obj/obj_team2"
alias map_omaha "seta g_gametype 4; map obj/obj_team3"
alias map_bridge "seta g_gametype 4; map obj/obj_team4"
alias map_france "seta g_gametype 2; map dm/mohdm1"
alias map_dv "seta g_gametype 2; map dm/mohdm2"
alias map_ramagen "seta g_gametype 2; map dm/mohdm3"
alias map_crossroads "seta g_gametype 2; map dm/mohdm4"
alias map_snow "seta g_gametype 2; map dm/mohdm5"
alias map_stalin "seta g_gametype 2; map dm/mohdm6"
alias map_stalingrad "seta g_gametype 2; map dm/mohdm6"
alias map_algiers "seta g_gametype 2; map dm/mohdm7"
alias map_france_rb "seta g_gametype 3; map dm/mohdm1"
alias map_dv_rb "seta g_gametype 3; map dm/mohdm2"
alias map_ramagen_rb "seta g_gametype 3; map dm/mohdm3"
alias map_crossroads_rb "seta g_gametype 3; map dm/mohdm4"
alias map_snow_rb "seta g_gametype 3; map dm/mohdm5"
alias map_stalin_rb "seta g_gametype 3; map dm/mohdm6"
alias map_stalingrad_rb "seta g_gametype 3; map dm/mohdm6"
alias map_algiers_rb "seta g_gametype 3; map dm/mohdm7"
http://www.mohadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=1239
______________________ addon_check:
command "<statnum> addon_check"
Prints out in a yellow text message on the left if the file has compiled.
______________________ timeout:
command "<statnum> timeout[<clientid>axis|allies]"
Forces a player or players to go to timeout mode, timeout mode involves not being able to join a team, if they attempt to join a team, it puts them back into spectator.
Examples:
command "timeout 1 2 3"
will send players 1 2 3 to timeout mode.
______________________ release:
command "<statnum> release[<clientid>all|spectator]"
Releases players from timeout.
command "release 1 3"
would release players 1 and 3 from timeout.
command "release spectator"
Will release all spectators from timeout.
______________________ ip_forward:
command "<statnum> ip_forward[<clientid>|all|axis|allies]"
Forces people to go to the server defined by the cvar in the addonpak.cfg called
ip_forward
it will forward the player to that IP, IE they will leave the current server and connect to the new one.
______________________ marktime:
command "<statnum> marktime"
Marks the time, and the time left in MoH_Time and MoH_TimeLeft in seconds.
______________________ team_balance:
command "<statnum> team_balance"
Attempts to balance the team, and make sure the teams are even.
______________________ sayc:
command "<statnum> sayc[<message>|/n]"
Writes out in the center of the screen, /n is used as a line delimeter, instead of a new line though it writes out it 3 seconds after the first line.
Example:
command "sayc Howdy"
Will print "howdy" in the middle of the screen
command "sayc How are you today im good"
will print out "How are you today im good" in the center.
command "sayc How are you /n Im good"
will print out "How are you" for 3 seconds in the center, and then "Im good" 3 seconds later in the middle.
______________________ sayi:
command "<statnum> sayi[<message>|/n]"
Says whatever the "message" is in the left side of the screen in yellow. The line delimiter is /n, it prints out immediately on the next line.
Example:
command "sayi Hello how are you today"
prints "Hello how are you today" on the left.
command "sayi Hello /n im /n fine"
prints out on the left
Hello
im
fine
in yellow.
______________________ sayb:
command "<statnum> sayb[<message>|/n]"
Writes on the left of the screen in BOLD WHITE text. Syntax is otherwise the same as sayi, above.
______________________ sayp:
command "<statnum>sayp[\q<message>\q[<clientid>|all|axis|allies]]"
This prints in yellow text a private message to the player, it uses serveradminval to determine who the private message is from.
Example:
command "sayp \qHello how are you\q 1 2 3"
will send "Hello how are you" to players 1 2 3.
command "sayp \qHi IM FINE! \q axis" will send "Hi IM FINE!" to the axis team
______________________ drop_spec:
command "<statnum> drop_spec"
Disconnects all spectators.
______________________ togglebalance:
command "<statnum> togglebalance"[on|off]]"
Every 2 minuites it attempts to balance the teams if they need balancing, if it determines teams need balancing it puts a message up
Examples:
command "togglebalance on"
turns periodic balancing on.
command "togglebalance off"
turns balancing off
command "togglebalance"
toggles balance switches balance to the opposite of its current state.
______________________ togglenospec:
command "<statnum> togglenospec"[on|off]]"
Every 1 minute it forces all spectators to a team.
Examples:
command "togglenospec on"
turns periodic no spectating on.
command "togglenospec off"
turns no spectator off
command "togglenospec"
switches nospec from one state to another.
______________________ toggleipforward:
command "<statnum> toggleipforward"[on|off]]"
every 10 seconds checks to see how full the server is, if the server is the serversize - ipthreshold full (IE if you have ipthreshold 2 and server size of 18, if there are 17 people it will start) it will put the most recent additions to the server go to the server identified in ip_forward in the config.
Examples:
command "toggleipforward on"
turns periodic ip forwarding on
command "toggleipforward off"
turns periodic ip forwarding off
command "toggleipforward"
toggles ip forwarding.
The config file adds the following aliases, aliases can be typed directly at rcon
example
rcon map_bridge
makes the map switch to the obj bridge map.
alias map_hunt "seta g_gametype 4; map obj/obj_team1"
alias map_v2 "seta g_gametype 4; map obj/obj_team2"
alias map_omaha "seta g_gametype 4; map obj/obj_team3"
alias map_bridge "seta g_gametype 4; map obj/obj_team4"
alias map_france "seta g_gametype 2; map dm/mohdm1"
alias map_dv "seta g_gametype 2; map dm/mohdm2"
alias map_ramagen "seta g_gametype 2; map dm/mohdm3"
alias map_crossroads "seta g_gametype 2; map dm/mohdm4"
alias map_snow "seta g_gametype 2; map dm/mohdm5"
alias map_stalin "seta g_gametype 2; map dm/mohdm6"
alias map_stalingrad "seta g_gametype 2; map dm/mohdm6"
alias map_algiers "seta g_gametype 2; map dm/mohdm7"
alias map_france_rb "seta g_gametype 3; map dm/mohdm1"
alias map_dv_rb "seta g_gametype 3; map dm/mohdm2"
alias map_ramagen_rb "seta g_gametype 3; map dm/mohdm3"
alias map_crossroads_rb "seta g_gametype 3; map dm/mohdm4"
alias map_snow_rb "seta g_gametype 3; map dm/mohdm5"
alias map_stalin_rb "seta g_gametype 3; map dm/mohdm6"
alias map_stalingrad_rb "seta g_gametype 3; map dm/mohdm6"
alias map_algiers_rb "seta g_gametype 3; map dm/mohdm7"