Difference between revisions of "SendServerCommand"

From WolfWiki
Jump to: navigation, search
(page started)
 
m (Fixehs)
Line 4: Line 4:
 
===Print===
 
===Print===
 
:"'''print''' \"''Message''\n\""
 
:"'''print''' \"''Message''\n\""
:'''print''' will print the ''Message'' in the clients console
+
:'''print''' will print the ''Message'' in the clients console.
  
 
===Center Print MoO===  
 
===Center Print MoO===  
Line 12: Line 12:
 
===Center Print===
 
===Center Print===
 
:"'''cp''' \"''Message''\n\""<br>
 
:"'''cp''' \"''Message''\n\""<br>
:'''cp''' will print the ''Message'' in the center of the clients screen
+
:'''cp''' will print the ''Message'' in the center of the clients screen.
  
 
===Scores Print===
 
===Scores Print===
 
:"'''sc''' \"''Message''\n\""<br>
 
:"'''sc''' \"''Message''\n\""<br>
:'''sc''' will print the ''Message'' in the clients console and write to the statsdump file
+
:'''sc''' will print the ''Message'' in the clients console and write to the statsdump file.
  
 
==Chatting==
 
==Chatting==
 
===Chat===
 
===Chat===
 
:"'''c''' ''ClienNum'' \"''Message''\""<br>
 
:"'''c''' ''ClienNum'' \"''Message''\""<br>
:'''c''' will print a global chat message ''Message'' on behalf of client ''ClienNum''
+
:'''c''' will print a global chat message ''Message'' on behalf of client ''ClienNum''.
  
 
===Team Chat===
 
===Team Chat===
Line 27: Line 27:
 
:'''tc''' will print a team chat message ''Message'' on behalf of client ''ClienNum'',<br>
 
:'''tc''' will print a team chat message ''Message'' on behalf of client ''ClienNum'',<br>
 
:the ''X,Y,Z-Location's'' are optional parematers the represent the clients location,<br>
 
:the ''X,Y,Z-Location's'' are optional parematers the represent the clients location,<br>
:if the ''X,Y,Z-Location's'' are left out then the message will be printed whitout an location
+
:if the ''X,Y,Z-Location's'' are left out then the message will be printed whitout an location.
  
 
===Fireteam Chat===
 
===Fireteam Chat===
:"'''bc''' ''ClienNum'' \"''Message''\" ''X-Location'' ''Y-Location'' ''Z-Location''"<br>
+
:"'''bc''' ''ClienNum'' \"''Message''\" ''X-Location'' ''Y-Location'' ''Z-Location''".<br>
 
:'''bc''' will print a fireteam chat message ''Message'' on behalf of client ''ClienNum'',<br>
 
:'''bc''' will print a fireteam chat message ''Message'' on behalf of client ''ClienNum'',<br>
:the ''X,Y,Z-Location's'' parematers the represent the clients location
+
:the ''X,Y,Z-Location's'' parematers the represent the clients location.
  
 
==Voice Chat==
 
==Voice Chat==
 
===Global Voice Chat===
 
===Global Voice Chat===
:"'''vchat''' 0 ''ClientNum'' 50 ''Vsay-String'' ''Vsay-Number'' \"''Custom-Message''\""<br>
+
:"'''vchat''' 0 ''ClientNum'' 50 ''Vsay-String'' ''Vsay-Number'' \"''Custom-Message''\"".<br>
:'''vchat''' will global voice chat ''Vsay-String'' on behalf of client ''ClienNum''<br>
+
:'''vchat''' will global voice chat ''Vsay-String'' on behalf of client ''ClienNum''.<br>
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files<br>
+
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files.<br>
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn  
+
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn .
  
 
===Team Voice Chat===
 
===Team Voice Chat===
 
:"'''vtchat''' 0 ''ClientNum'' 50 ''Vsay-String'' ''Vsay-Number'' ''Y-Location'' ''Z-Location'' \"''Custom-Message''\""<br>
 
:"'''vtchat''' 0 ''ClientNum'' 50 ''Vsay-String'' ''Vsay-Number'' ''Y-Location'' ''Z-Location'' \"''Custom-Message''\""<br>
:'''vchat''' will team voice chat ''Vsay-String'' on behalf of client ''ClienNum''<br>
+
:'''vchat''' will team voice chat ''Vsay-String'' on behalf of client ''ClienNum''.<br>
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files<br>
+
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files.<br>
:the ''X,Y,Z-Location's'' parematers the represent the clients location`<br>
+
:the ''X,Y,Z-Location's'' parematers the represent the clients location.<br>
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn  
+
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn.
  
 
===Fireteam Voice Chat===
 
===Fireteam Voice Chat===
 
:"'''vtchat''' 0 ''ClientNum'' 50 ''Fireteam-String'' ''Vsay-Number'' ''Y-Location'' ''Z-Location'' \"''Custom-Message''\""<br>
 
:"'''vtchat''' 0 ''ClientNum'' 50 ''Fireteam-String'' ''Vsay-Number'' ''Y-Location'' ''Z-Location'' \"''Custom-Message''\""<br>
:'''vchat''' will team voice chat ''Vsay-String'' on behalf of client ''ClienNum''<br>
+
:'''vchat''' will team voice chat ''Vsay-String'' on behalf of client ''ClienNum''.<br>
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Fireteam-Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files<br>
+
:''Vsay-Number'' is normaly random but i can be stable using /vsay <''Vsay-Number''> <''Fireteam-Vsay-String''>,<br> ''Vsay-Number'' represend the vsay nummer of Vsay inside the .voice files.<br>
:the ''X,Y,Z-Location's'' parematers the represent the clients location<br>
+
:the ''X,Y,Z-Location's'' parematers the represent the clients location.<br>
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn
+
:''Custom-Message'' is normaly \"\" (empty) else its the chat message that will be drawn.
  
 
==Fireteam==
 
==Fireteam==
Line 59: Line 59:
 
:"'''application''' ''Number''"
 
:"'''application''' ''Number''"
 
:'''application''' will show up the fireteam invation message's<br>
 
:'''application''' will show up the fireteam invation message's<br>
:if ''Number'' > -1 the "accept .. application to join your fireteam" shows up in this case ''Number'' is the ClientNum of applying client<br>
+
:if ''Number'' > -1 the "accept .. application to join your fireteam" shows up in this case ''Number'' is the ClientNum of applying client.<br>
:if ''Number'' == -1 the "your aplication has been submitted" shows up<br>
+
:if ''Number'' == -1 the "your aplication has been submitted" shows up.<br>
:if ''Number'' == -2 the "your aplication fialed" shows up<br>
+
:if ''Number'' == -2 the "your aplication fialed" shows up.<br>
:if ''Number'' == -3 the "your aplication has been approved" shows up<br>
+
:if ''Number'' == -3 the "your aplication has been approved" shows up.<br>
:if ''Number'' == -4 the "your aplication reply has been send" shows up
+
:if ''Number'' == -4 the "your aplication reply has been send" shows up.
  
 
===Proposition===
 
===Proposition===
 
:"'''proposition''' ''Number'' ''Number2''"
 
:"'''proposition''' ''Number'' ''Number2''"
:'''proposition''' will show up the fireteam proposition message's<br>
+
:'''proposition''' will show up the fireteam proposition message's.<br>
:if ''Number'' > -1 the "accept .. proposition to invite .. to your fireteam" shows up, in this case ''Number'' is the ClientNum of proposed client and, ''Number2'' is the ClientNum of proposing<br>
+
:if ''Number'' > -1 the "accept .. proposition to invite .. to your fireteam" shows up, in this case ''Number'' is the ClientNum of proposed client and, ''Number2'' is the ClientNum of proposing.<br>
:if ''Number'' == -1 the "your proposition has been submitted" shows up<br>
+
:if ''Number'' == -1 the "your proposition has been submitted" shows up.<br>
:if ''Number'' == -2 the "your proposition was rejected" shows up<br>
+
:if ''Number'' == -2 the "your proposition was rejected" shows up.<br>
:if ''Number'' == -3 the "your proposition was accepted" shows up<br>
+
:if ''Number'' == -3 the "your proposition was accepted" shows up.<br>
:if ''Number'' == -4 the "your proposition reply has been send" shows up<br>
+
:if ''Number'' == -4 the "your proposition reply has been send" shows up.<br>
''Number2'' is an optional paramater only used when ''Number'' > -1
+
''Number2'' is an optional paramater only used when ''Number'' > -1.
  
 
===Invitation===
 
===Invitation===
 
:"'''invitation''' ''Number''"
 
:"'''invitation''' ''Number''"
:'''invitation''' will show up the fireteam invation message's<br>
+
:'''invitation''' will show up the fireteam invation message's.<br>
:if ''Number'' > -1 the "accept .. invitation to join your fireteam" shows up in this case ''Number'' is the ClientNum of applying client<br>
+
:if ''Number'' > -1 the "accept .. invitation to join your fireteam" shows up in this case ''Number'' is the ClientNum of applying client.<br>
:if ''Number'' == -1 the "your invitation has been submitted" shows up<br>
+
:if ''Number'' == -1 the "your invitation has been submitted" shows up.<br>
:if ''Number'' == -2 the "your invitation rejected" shows up<br>
+
:if ''Number'' == -2 the "your invitation rejected" shows up.<br>
:if ''Number'' == -3 the "your invitation was accepted" shows up<br>
+
:if ''Number'' == -3 the "your invitation was accepted" shows up.<br>
:if ''Number'' == -4 the "your invitation reply has been send" shows up
+
:if ''Number'' == -4 the "your invitation reply has been send" shows up.
  
 
==Others==  
 
==Others==  
 
===Complaining===
 
===Complaining===
 
:"'''complaint''' ''Number''"<br>
 
:"'''complaint''' ''Number''"<br>
:'''complaint''' will make the complain vote showup<br>
+
:'''complaint''' will make the complain vote showup.<br>
:if 1 the vote will show up<br>
+
:if ''Number'' == 1 the vote will show up.<br>
:if ''Number'' == -1 the complain filled message shows up<br>
+
:if ''Number'' == -1 the complain filled message shows up.<br>
:if ''Number'' == -2 the complain dismissed message shows up
+
:if ''Number'' == -2 the complain dismissed message shows up.
  
 
===Spawning===
 
===Spawning===
 
:"'''setspawnpt''' ''number''"<br>
 
:"'''setspawnpt''' ''number''"<br>
:"'''setspawnpt''' sets the client game selected spawnpoint to number ''number''
+
:"'''setspawnpt''' sets the client game selected spawnpoint to number ''number''.

Revision as of 20:33, 24 November 2005

et.trap_SendServerCommand() has the following commands:

Prining

Print

"print \"Message\n\""
print will print the Message in the clients console.

Center Print MoO

"cpm \"Message\n\""
cpm will print the Message in the clients anoucement area and console

Center Print

"cp \"Message\n\""
cp will print the Message in the center of the clients screen.

Scores Print

"sc \"Message\n\""
sc will print the Message in the clients console and write to the statsdump file.

Chatting

Chat

"c ClienNum \"Message\""
c will print a global chat message Message on behalf of client ClienNum.

Team Chat

"tc ClienNum \"Message\" X-Location Y-Location Z-Location"
tc will print a team chat message Message on behalf of client ClienNum,
the X,Y,Z-Location's are optional parematers the represent the clients location,
if the X,Y,Z-Location's are left out then the message will be printed whitout an location.

Fireteam Chat

"bc ClienNum \"Message\" X-Location Y-Location Z-Location".
bc will print a fireteam chat message Message on behalf of client ClienNum,
the X,Y,Z-Location's parematers the represent the clients location.

Voice Chat

Global Voice Chat

"vchat 0 ClientNum 50 Vsay-String Vsay-Number \"Custom-Message\"".
vchat will global voice chat Vsay-String on behalf of client ClienNum.
Vsay-Number is normaly random but i can be stable using /vsay <Vsay-Number> <Vsay-String>,
Vsay-Number represend the vsay nummer of Vsay inside the .voice files.
Custom-Message is normaly \"\" (empty) else its the chat message that will be drawn .

Team Voice Chat

"vtchat 0 ClientNum 50 Vsay-String Vsay-Number Y-Location Z-Location \"Custom-Message\""
vchat will team voice chat Vsay-String on behalf of client ClienNum.
Vsay-Number is normaly random but i can be stable using /vsay <Vsay-Number> <Vsay-String>,
Vsay-Number represend the vsay nummer of Vsay inside the .voice files.
the X,Y,Z-Location's parematers the represent the clients location.
Custom-Message is normaly \"\" (empty) else its the chat message that will be drawn.

Fireteam Voice Chat

"vtchat 0 ClientNum 50 Fireteam-String Vsay-Number Y-Location Z-Location \"Custom-Message\""
vchat will team voice chat Vsay-String on behalf of client ClienNum.
Vsay-Number is normaly random but i can be stable using /vsay <Vsay-Number> <Fireteam-Vsay-String>,
Vsay-Number represend the vsay nummer of Vsay inside the .voice files.
the X,Y,Z-Location's parematers the represent the clients location.
Custom-Message is normaly \"\" (empty) else its the chat message that will be drawn.

Fireteam

Application

"application Number"
application will show up the fireteam invation message's
if Number > -1 the "accept .. application to join your fireteam" shows up in this case Number is the ClientNum of applying client.
if Number == -1 the "your aplication has been submitted" shows up.
if Number == -2 the "your aplication fialed" shows up.
if Number == -3 the "your aplication has been approved" shows up.
if Number == -4 the "your aplication reply has been send" shows up.

Proposition

"proposition Number Number2"
proposition will show up the fireteam proposition message's.
if Number > -1 the "accept .. proposition to invite .. to your fireteam" shows up, in this case Number is the ClientNum of proposed client and, Number2 is the ClientNum of proposing.
if Number == -1 the "your proposition has been submitted" shows up.
if Number == -2 the "your proposition was rejected" shows up.
if Number == -3 the "your proposition was accepted" shows up.
if Number == -4 the "your proposition reply has been send" shows up.

Number2 is an optional paramater only used when Number > -1.

Invitation

"invitation Number"
invitation will show up the fireteam invation message's.
if Number > -1 the "accept .. invitation to join your fireteam" shows up in this case Number is the ClientNum of applying client.
if Number == -1 the "your invitation has been submitted" shows up.
if Number == -2 the "your invitation rejected" shows up.
if Number == -3 the "your invitation was accepted" shows up.
if Number == -4 the "your invitation reply has been send" shows up.

Others

Complaining

"complaint Number"
complaint will make the complain vote showup.
if Number == 1 the vote will show up.
if Number == -1 the complain filled message shows up.
if Number == -2 the complain dismissed message shows up.

Spawning

"setspawnpt number"
"setspawnpt sets the client game selected spawnpoint to number number.