<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wolfwiki.anime.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phenomenon</id>
	<title>WolfWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wolfwiki.anime.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phenomenon"/>
	<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php/Special:Contributions/Phenomenon"/>
	<updated>2026-11-08T13:06:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=3049</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=3049"/>
		<updated>2010-10-24T10:11:52Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: changed download locations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - slacstatsaver.lua|slacstatsaver.lua]] (&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;new&amp;lt;/font&amp;gt;)&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;slacstatsaver.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script fixes the &amp;quot;loosing XP and stats at reconnect&amp;quot; bug on a &#039;&#039;[http://sl-anticheat.com SLAC]&#039;&#039; addon enabled server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://download.force-opponents.de/etpro/slacstatsaver.lua slacstatsaver.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;slacstatsaver.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Note&amp;lt;/font&amp;gt;&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:Do not use this script with enabled PunkBuster server!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://download.force-opponents.de/etpro/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/website/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=3048</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=3048"/>
		<updated>2010-10-23T11:11:07Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: added SLAC related script - slacstatsaver.lua&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - slacstatsaver.lua|slacstatsaver.lua]] (&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;new&amp;lt;/font&amp;gt;)&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;slacstatsaver.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script fixes the &amp;quot;loosing XP and stats at reconnect&amp;quot; bug on a &#039;&#039;[http://sl-anticheat.com SLAC]&#039;&#039; addon enabled server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/slacstatsaver.lua slacstatsaver.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;slacstatsaver.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Note&amp;lt;/font&amp;gt;&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:Do not use this script with enabled PunkBuster server!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/website/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2918</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2918"/>
		<updated>2008-03-01T09:44:20Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: fixed broken links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/website/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/website/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2698</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2698"/>
		<updated>2007-02-25T10:06:55Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2472</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2472"/>
		<updated>2006-08-07T07:36:50Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: ^^&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only.&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&lt;br /&gt;
::Plays a &#039;&#039;&#039;sound&#039;&#039;&#039; for client with &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2466</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2466"/>
		<updated>2006-07-30T09:30:47Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: little update :)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td height=100%&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=50% style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot; valign=top&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound for a certain player only and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2459</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2459"/>
		<updated>2006-07-28T14:51:59Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=Lua_Mod_API&amp;diff=2458</id>
		<title>Lua Mod API</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=Lua_Mod_API&amp;diff=2458"/>
		<updated>2006-07-28T08:10:26Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: typo on xp callbacks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOEDITSECTION__&lt;br /&gt;
[[ETPro]] now supports server-side mods via the [http://www.lua.org/ Lua] scripting language. For more information about Lua, visit the [http://www.lua.org/manual/5.0/ Reference manual], the online edition of the book [http://www.lua.org/pil/ Programming in Lua] or the [http://lua-users.org/wiki/ lua-users wiki].&lt;br /&gt;
&lt;br /&gt;
ETPro has an embedded Lua 5.0.2 interpreter, and if present will load user-defined scripts from the ETPro directory.  It also provides an &amp;quot;et&amp;quot; library of function calls for Lua that allow access to the server engine, and provides callbacks so a server side mod may trigger on specific server events.&lt;br /&gt;
&lt;br /&gt;
The following standard Lua libraries are initialized by default and available to ETPro Lua scripts:&lt;br /&gt;
[http://www.lua.org/manual/5.0/manual.html#5.1 basic], [http://www.lua.org/manual/5.0/manual.html#5.4 table], [http://www.lua.org/manual/5.0/manual.html#5.6 i/o], [http://www.lua.org/manual/5.0/manual.html#5.3 string], [http://www.lua.org/manual/5.0/manual.html#5.5 math].&lt;br /&gt;
&lt;br /&gt;
A list of ETPro mods can be found [[:Category:ETPro:Mods|here]].&lt;br /&gt;
&lt;br /&gt;
A tutorial about ETPro Lua scripting can be found [[Lua Tutorials|here]].&lt;br /&gt;
&lt;br /&gt;
API requests can be discussed at the [[Talk:Lua_Mod_API|Lua Mod API talk page]].&lt;br /&gt;
&lt;br /&gt;
==client commands==&lt;br /&gt;
===lua_status===&lt;br /&gt;
:lists all currently loaded lua modules.&lt;br /&gt;
:&#039;&#039;lua mods cannot override this client command.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==server commands==&lt;br /&gt;
===lua_status===&lt;br /&gt;
:lists all currently loaded lua modules.&lt;br /&gt;
&lt;br /&gt;
==cvars==&lt;br /&gt;
===lua_modules===&lt;br /&gt;
:(default &amp;quot;&amp;quot;, disabled)&lt;br /&gt;
:space separated list of lua modules for ETPro to load. modules will be run in the order listed.&lt;br /&gt;
&lt;br /&gt;
===lua_allowedmodules===&lt;br /&gt;
:(default &amp;quot;&amp;quot;, disabled)&lt;br /&gt;
:if set, only lua modules with the matching sha1 signatures listed in this cvar will be allowed to load.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:changing either cvar will cause all currently loaded modules to :quit and be unloaded until the next map_restart.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==et library calls==&lt;br /&gt;
&lt;br /&gt;
===modules===&lt;br /&gt;
et.RegisterModname( &#039;&#039;&#039;modname&#039;&#039;&#039; )&lt;br /&gt;
:Registers a descriptive string &#039;&#039;&#039;modname&#039;&#039;&#039; for this mod.&lt;br /&gt;
&#039;&#039;&#039;vmnumber&#039;&#039;&#039; = et.FindSelf()&lt;br /&gt;
:Returns a number indicating the VM slot the current mod is loaded into.&lt;br /&gt;
&#039;&#039;&#039;modname&#039;&#039;&#039;, &#039;&#039;&#039;signature&#039;&#039;&#039; = et.FindMod( &#039;&#039;&#039;vmnumber&#039;&#039;&#039; )&lt;br /&gt;
:Returns the &#039;&#039;&#039;modname&#039;&#039;&#039; and sha1 &#039;&#039;&#039;signature&#039;&#039;&#039; for the mod loaded in the VM slot &#039;&#039;&#039;vmnumber&#039;&#039;&#039;. Returns nil, nil if the VM slot is invalid.&lt;br /&gt;
&#039;&#039;&#039;success&#039;&#039;&#039; = et.IPCSend( &#039;&#039;&#039;vmnumber&#039;&#039;&#039;, &#039;&#039;&#039;message&#039;&#039;&#039; )&lt;br /&gt;
:Sends the string &#039;&#039;&#039;message&#039;&#039;&#039; to the mod in the VM slot indicated by &#039;&#039;&#039;vmnumber&#039;&#039;&#039;. The mod receiving &#039;&#039;&#039;message&#039;&#039;&#039; must have an &#039;&#039;et_IPCReceive()&#039;&#039; callback. If the message is successfully sent, &#039;&#039;&#039;success&#039;&#039;&#039; will be 1. On failure it will be 0.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===printing===&lt;br /&gt;
et.G_Print( &#039;&#039;&#039;text&#039;&#039;&#039; )&lt;br /&gt;
:Prints the string &#039;&#039;&#039;text&#039;&#039;&#039; to the server console.&lt;br /&gt;
et.G_LogPrint( &#039;&#039;&#039;text&#039;&#039;&#039; )&lt;br /&gt;
:Prints the string &#039;&#039;&#039;text&#039;&#039;&#039; to the server console and writes it to the server log.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===argument handling===&lt;br /&gt;
These functions are to be used within the [[#commands|command callback functions]].&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;args&#039;&#039;&#039; = et.ConcatArgs( &#039;&#039;&#039;index&#039;&#039;&#039; )&lt;br /&gt;
:Returns all arguments beginning from &#039;&#039;&#039;index&#039;&#039;&#039; concatenated into a single string &#039;&#039;&#039;args&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;argcount&#039;&#039;&#039; = et.trap_Argc()&lt;br /&gt;
:Returns a number indicating the number of command line arguments in the command buffer.&lt;br /&gt;
&#039;&#039;&#039;arg&#039;&#039;&#039; = et.trap_Argv( &#039;&#039;&#039;argnum&#039;&#039;&#039; )&lt;br /&gt;
:Returns the contents of the command line argument &#039;&#039;&#039;argnum&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===cvars===&lt;br /&gt;
&#039;&#039;&#039;cvarvalue&#039;&#039;&#039; = et.trap_Cvar_Get( &#039;&#039;&#039;cvarname&#039;&#039;&#039; )&lt;br /&gt;
:Returns the value of the cvar &#039;&#039;&#039;cvarname&#039;&#039;&#039; as a string. If there is no cvar named &#039;&#039;&#039;cvarname&#039;&#039;&#039;, returns a zero length string. &lt;br /&gt;
et.trap_Cvar_Set( &#039;&#039;&#039;cvarname&#039;&#039;&#039;, &#039;&#039;&#039;cvarvalue&#039;&#039;&#039; )&lt;br /&gt;
:Sets the cvar &#039;&#039;&#039;cvarname&#039;&#039;&#039; to &#039;&#039;&#039;cvarvalue&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===configstrings===&lt;br /&gt;
&#039;&#039;&#039;configstringvalue&#039;&#039;&#039; = et.trap_GetConfigstring( &#039;&#039;&#039;index&#039;&#039;&#039; )&lt;br /&gt;
:Returns the string &#039;&#039;&#039;configstringvalue&#039;&#039;&#039; containing the contents of the configstring &#039;&#039;&#039;index&#039;&#039;&#039;&lt;br /&gt;
et.trap_SetConfigstring( &#039;&#039;&#039;index&#039;&#039;&#039;, &#039;&#039;&#039;configstringvalue&#039;&#039;&#039; )&lt;br /&gt;
:Sets the configstring &#039;&#039;&#039;index&#039;&#039;&#039; to the string &#039;&#039;&#039;configstringvalue&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===server===&lt;br /&gt;
et.trap_SendConsoleCommand( &#039;&#039;&#039;when&#039;&#039;&#039;, &#039;&#039;&#039;command&#039;&#039;&#039; )&lt;br /&gt;
:Sends the command &#039;&#039;&#039;command&#039;&#039;&#039; to the server console, to be executed &#039;&#039;&#039;when&#039;&#039;&#039; (see et.EXEC_* constants)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===clients===&lt;br /&gt;
et.trap_DropClient( &#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;reason&#039;&#039;&#039;, &#039;&#039;&#039;ban_time&#039;&#039;&#039; )&lt;br /&gt;
:Disconnects &#039;&#039;&#039;clientnum&#039;&#039;&#039; from the server, with descriptive string &#039;&#039;&#039;reason&#039;&#039;&#039; reported to clients. &#039;&#039;&#039;ban_time&#039;&#039;&#039; is the time in seconds to ban the client from the server. &#039;&#039;&#039;ban_time&#039;&#039;&#039; is optional and may be entirely omitted, in which case the ban time defaults to the cvar &#039;&#039;b_defaultbantime&#039;&#039;&lt;br /&gt;
et.trap_SendServerCommand( &#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;[[SendServerCommand|command]]&#039;&#039;&#039; )&lt;br /&gt;
:Sends the command &#039;&#039;&#039;[[SendServerCommand|command]]&#039;&#039;&#039; to the client &#039;&#039;&#039;clientnum&#039;&#039;&#039;. If &#039;&#039;&#039;clientnum&#039;&#039;&#039; is -1, the &#039;&#039;&#039;[[SendServerCommand|command]]&#039;&#039;&#039; is broadcast to all connected clients.&lt;br /&gt;
et.G_Say( &#039;&#039;&#039;clientNum&#039;&#039;&#039;, &#039;&#039;&#039;mode&#039;&#039;&#039;, &#039;&#039;&#039;text&#039;&#039;&#039; )&lt;br /&gt;
:Sends a chat command on behalf of client &#039;&#039;&#039;clientNum&#039;&#039;&#039; with the mode &#039;&#039;&#039;mode&#039;&#039;&#039; (see et.SAY_* constants) and chat text &#039;&#039;&#039;text&#039;&#039;&#039;.&lt;br /&gt;
et.ClientUserinfoChanged( &#039;&#039;&#039;clientNum&#039;&#039;&#039; )&lt;br /&gt;
:Loads the new Userinfo of &#039;&#039;&#039;clientNum&#039;&#039;&#039; and stores it in the configstring and client variables&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===userinfo===&lt;br /&gt;
&#039;&#039;&#039;userinfo&#039;&#039;&#039; = et.trap_GetUserinfo( &#039;&#039;&#039;clientnum&#039;&#039;&#039; )&lt;br /&gt;
:Returns the contents of the userinfo string for the client &#039;&#039;&#039;clientnum&#039;&#039;&#039;&lt;br /&gt;
et.trap_SetUserinfo( &#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;userinfo&#039;&#039;&#039; )&lt;br /&gt;
:Sets the userinfo string for the client &#039;&#039;&#039;clientnum&#039;&#039;&#039; to &#039;&#039;&#039;userinfo&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===string utility functions===&lt;br /&gt;
&#039;&#039;&#039;infostring&#039;&#039;&#039; = et.Info_RemoveKey( &#039;&#039;&#039;infostring&#039;&#039;&#039;, &#039;&#039;&#039;key&#039;&#039;&#039; )&lt;br /&gt;
:Removes key &#039;&#039;&#039;key&#039;&#039;&#039; from infostring &#039;&#039;&#039;infostring&#039;&#039;&#039; and returns the modified infostring.&lt;br /&gt;
&#039;&#039;&#039;infostring&#039;&#039;&#039; = et.Info_SetValueForKey( &#039;&#039;&#039;infostring&#039;&#039;&#039;, &#039;&#039;&#039;key&#039;&#039;&#039;, &#039;&#039;&#039;value&#039;&#039;&#039; )&lt;br /&gt;
:Sets the key &#039;&#039;&#039;key&#039;&#039;&#039; in the infostring &#039;&#039;&#039;infostring&#039;&#039;&#039; to &#039;&#039;&#039;value&#039;&#039;&#039; and returns the modified infostring. If &#039;&#039;&#039;value&#039;&#039;&#039; is an empty string, &#039;&#039;&#039;key&#039;&#039;&#039; is removed from the string. &lt;br /&gt;
&#039;&#039;&#039;keyvalue&#039;&#039;&#039; = et.Info_ValueForKey( &#039;&#039;&#039;infostring&#039;&#039;&#039;, &#039;&#039;&#039;key&#039;&#039;&#039; )&lt;br /&gt;
:Returns the value of the key &#039;&#039;&#039;key&#039;&#039;&#039; in the infostring &#039;&#039;&#039;infostring&#039;&#039;&#039;. If &#039;&#039;&#039;key&#039;&#039;&#039; is not present in the string, an empty string is returned.&lt;br /&gt;
&#039;&#039;&#039;cleanstring&#039;&#039;&#039; = et.Q_CleanStr( &#039;&#039;&#039;string&#039;&#039;&#039; )&lt;br /&gt;
:Returns &#039;&#039;&#039;string&#039;&#039;&#039; stripped of all color codes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ET filesystem===&lt;br /&gt;
&#039;&#039;&#039;fd&#039;&#039;&#039;, &#039;&#039;&#039;len&#039;&#039;&#039; = et.trap_FS_FOpenFile( &#039;&#039;&#039;filename&#039;&#039;&#039;, &#039;&#039;&#039;mode&#039;&#039;&#039; )&lt;br /&gt;
:Attempts to open the file &#039;&#039;&#039;filename&#039;&#039;&#039; with the access mode &#039;&#039;&#039;mode&#039;&#039;&#039; (see et.FS_ constants). Returns the filedescriptor &#039;&#039;&#039;fd&#039;&#039;&#039; and file length &#039;&#039;&#039;len&#039;&#039;&#039;. On error, &#039;&#039;&#039;len&#039;&#039;&#039; returns -1.&lt;br /&gt;
&#039;&#039;&#039;filedata&#039;&#039;&#039; = et.trap_FS_Read( fd, count )&lt;br /&gt;
:Reads &#039;&#039;&#039;count&#039;&#039;&#039; bytes from filedescriptor &#039;&#039;&#039;fd&#039;&#039;&#039;.&lt;br /&gt;
&#039;&#039;&#039;count&#039;&#039;&#039; = et.trap_FS_Write( &#039;&#039;&#039;filedata&#039;&#039;&#039;, &#039;&#039;&#039;count&#039;&#039;&#039;, &#039;&#039;&#039;fd&#039;&#039;&#039; )&lt;br /&gt;
:Attempts to write &#039;&#039;&#039;count&#039;&#039;&#039; bytes of &#039;&#039;&#039;filedata&#039;&#039;&#039; to filedescriptor &#039;&#039;&#039;fd&#039;&#039;&#039;. Returns number of bytes successfully written.&lt;br /&gt;
et.trap_FS_Rename( &#039;&#039;&#039;oldname&#039;&#039;&#039;, &#039;&#039;&#039;newname&#039;&#039;&#039; )&lt;br /&gt;
:Renames file &#039;&#039;&#039;oldname&#039;&#039;&#039; to &#039;&#039;&#039;newname&#039;&#039;&#039;.&lt;br /&gt;
et.trap_FS_FCloseFile( &#039;&#039;&#039;fd&#039;&#039;&#039; )&lt;br /&gt;
:Closes filedescriptor &#039;&#039;&#039;fd&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===indexes===&lt;br /&gt;
&#039;&#039;&#039;soundindex&#039;&#039;&#039; = et.G_SoundIndex( &#039;&#039;&#039;filename&#039;&#039;&#039; )&lt;br /&gt;
:Returns an index to the soundfile indicated by &#039;&#039;&#039;filename&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;modelindex&#039;&#039;&#039; = et.G_ModelIndex( &#039;&#039;&#039;filename&#039;&#039;&#039; )&lt;br /&gt;
:Returns an index to the model indicated by &#039;&#039;&#039;filename&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===sound===&lt;br /&gt;
et.G_globalSound( &#039;&#039;&#039;sound&#039;&#039;&#039; )&lt;br /&gt;
:Plays the global sound indicated by the filename &#039;&#039;&#039;sound&#039;&#039;&#039;.&lt;br /&gt;
et.G_Sound( &#039;&#039;&#039;entnum&#039;&#039;&#039;, &#039;&#039;&#039;soundindex&#039;&#039;&#039; )&lt;br /&gt;
:Plays the sound &#039;&#039;&#039;soundindex&#039;&#039;&#039; at the location of entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===miscellaneous===&lt;br /&gt;
&#039;&#039;&#039;milliseconds&#039;&#039;&#039; = et.trap_Milliseconds()&lt;br /&gt;
:Returns a number indicating the current server time in milliseconds.&lt;br /&gt;
et.G_Damage( &#039;&#039;&#039;target&#039;&#039;&#039;, &#039;&#039;&#039;inflictor&#039;&#039;&#039;, &#039;&#039;&#039;attacker&#039;&#039;&#039;, &#039;&#039;&#039;damage&#039;&#039;&#039;, &#039;&#039;&#039;[[etdamage|dflags]]&#039;&#039;&#039;, &#039;&#039;&#039;[[etdamage|mod]]&#039;&#039;&#039; )&lt;br /&gt;
:Does &#039;&#039;&#039;damage&#039;&#039;&#039; amount of damage on &#039;&#039;&#039;target&#039;&#039;&#039; inflicted by &#039;&#039;&#039;inflictor&#039;&#039;&#039; and cased by &#039;&#039;&#039;attacker&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;target&#039;&#039;&#039;, &#039;&#039;&#039;inflictor&#039;&#039;&#039;, &#039;&#039;&#039;attacker&#039;&#039;&#039; are entity numbers&lt;br /&gt;
:&#039;&#039;&#039;[[etdamage|dflags]]&#039;&#039;&#039; is a [[Bitmask-cvar|bitflag]] number to decide how the damage is inflickted, see &#039;&#039;&#039;[[etdamage|dflags]]&#039;&#039;&#039; [[etdamage|flaglist]]&lt;br /&gt;
:&#039;&#039;&#039;[[etdamage|mod]]&#039;&#039;&#039; is a number from 0 up to 64 o set the type of damage, see &#039;&#039;&#039;[[etdamage|mod]]&#039;&#039;&#039; [[etdamage|list]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===entities===&lt;br /&gt;
&#039;&#039;&#039;entnum&#039;&#039;&#039; = et.G_Spawn()&lt;br /&gt;
:Spawns a new entity and returns the new entity number.&lt;br /&gt;
&#039;&#039;&#039;entnum&#039;&#039;&#039; = et.G_TempEntity( &#039;&#039;&#039;origin&#039;&#039;&#039;, &#039;&#039;&#039;event&#039;&#039;&#039; )&lt;br /&gt;
:Spawns a new TempEntity of event type &#039;&#039;&#039;event&#039;&#039;&#039; and places it at &#039;&#039;&#039;origin&#039;&#039;&#039; in the world.&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; up to and including ETPro 3.2.4 the signature of the method is broken and expects four instead of two parameters. To successfully call it, you need to prepend the parameter list with two dummy parameters like et.G_TempEntity( 0, 0, origin, event ). Use this method with care, because in future ETPro versions it will probably be corrected to the one stated above and might break your script.&lt;br /&gt;
et.G_FreeEntity( &#039;&#039;&#039;entnum&#039;&#039;&#039; )&lt;br /&gt;
:Frees the entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;spawnval&#039;&#039;&#039; = et.G_GetSpawnVar( &#039;&#039;&#039;entnum&#039;&#039;&#039;, &#039;&#039;&#039;key&#039;&#039;&#039; )&lt;br /&gt;
:Returns the value of spawnvar &#039;&#039;&#039;key&#039;&#039;&#039; for entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
et.G_SetSpawnVar( &#039;&#039;&#039;entnum&#039;&#039;&#039;, &#039;&#039;&#039;key&#039;&#039;&#039;, &#039;&#039;&#039;value&#039;&#039;&#039; )&lt;br /&gt;
:Sets the spawnvar &#039;&#039;&#039;key&#039;&#039;&#039; to &#039;&#039;&#039;value&#039;&#039;&#039; for entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;integer entnum&#039;&#039;&#039; = et.G_SpawnGEntityFromSpawnVars( string spawnvar, string spawnvalue, ... )&lt;br /&gt;
:This function can only be called inside the &#039;&#039;&#039;et_InitGame&#039;&#039;&#039; callback&lt;br /&gt;
et.trap_LinkEntity( &#039;&#039;&#039;entnum&#039;&#039;&#039; )&lt;br /&gt;
:Links the entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
et.trap_UnlinkEntity( &#039;&#039;&#039;entnum&#039;&#039;&#039; )&lt;br /&gt;
:Unlinks the entity &#039;&#039;&#039;entnum&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;(variable)&#039;&#039;&#039; = et.gentity_get ( &#039;&#039;&#039;entnum&#039;&#039;&#039;, &#039;&#039;&#039;[[Fieldname]]&#039;&#039;&#039; &#039;&#039;,arrayindex&#039;&#039; )&lt;br /&gt;
:Gets the value of &#039;&#039;&#039;[[Fieldname]]&#039;&#039;&#039; from entity &#039;&#039;&#039;entnum&#039;&#039;&#039; out of the g_entity struct. For NULL entities or clients, &#039;&#039;nil&#039;&#039; is returned.&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;arrayindex&#039;&#039; is used to specify which element of an array entity field to get. It is required when accessing array type fields. Entity field array indexes start at 0.&lt;br /&gt;
et.gentity_set( &#039;&#039;&#039;entnum&#039;&#039;&#039;, &#039;&#039;&#039;[[Fieldname]]&#039;&#039;&#039;, &#039;&#039;arrayindex,&#039;&#039; &#039;&#039;&#039;(value)&#039;&#039;&#039; )&lt;br /&gt;
:Sets the value of &#039;&#039;&#039;[[Fieldname]]&#039;&#039;&#039; from entity &#039;&#039;&#039;entnum&#039;&#039;&#039; in the g_entity struct to &#039;&#039;&#039;(value)&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;arrayindex&#039;&#039; is used to specify which element of an array entity field to set.&lt;br /&gt;
et.G_AddEvent( &#039;&#039;&#039;ent&#039;&#039;&#039;, &#039;&#039;&#039;event&#039;&#039;&#039;, &#039;&#039;&#039;eventparm&#039;&#039;&#039;&#039; )&lt;br /&gt;
:Adds event &#039;&#039;&#039;event&#039;&#039;&#039; whit eventparameter &#039;&#039;&#039;eventparm&#039;&#039;&#039;&#039; to entity &#039;&#039;&#039;ent&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==callbacks==&lt;br /&gt;
&lt;br /&gt;
===qagame execution===&lt;br /&gt;
et_InitGame( &#039;&#039;&#039;levelTime&#039;&#039;&#039;, &#039;&#039;&#039;randomSeed&#039;&#039;&#039;, &#039;&#039;&#039;restart&#039;&#039;&#039; )&lt;br /&gt;
:Called when qagame initializes. &#039;&#039;&#039;levelTime&#039;&#039;&#039; is the current level time in milliseconds. &#039;&#039;&#039;randomSeed&#039;&#039;&#039; is a number that can be used to seed random number generators. &#039;&#039;&#039;restart&#039;&#039;&#039; indicates if et_InitGame() is being called due to a map restart (1) or not (0).&lt;br /&gt;
et_ShutdownGame( &#039;&#039;&#039;restart&#039;&#039;&#039; )&lt;br /&gt;
:Called when qagame shuts down. &#039;&#039;&#039;restart&#039;&#039;&#039; indicates if the shutdown is being called due to a map_restart (1) or not (0).&lt;br /&gt;
et_RunFrame( &#039;&#039;&#039;levelTime&#039;&#039;&#039; )&lt;br /&gt;
:Called when qagame runs a server frame. &#039;&#039;&#039;levelTime&#039;&#039;&#039; is the current level time in milliseconds.&lt;br /&gt;
et_Quit()&lt;br /&gt;
:Called when ETPro unloads the mod. The mod should close all open filedescriptors and perform all cleanup.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===client management===&lt;br /&gt;
&#039;&#039;&#039;rejectreason&#039;&#039;&#039; = et_ClientConnect( &#039;&#039;&#039;clientNum&#039;&#039;&#039;, &#039;&#039;&#039;firstTime&#039;&#039;&#039;, &#039;&#039;&#039;isBot&#039;&#039;&#039; )&lt;br /&gt;
:Called when a client attempts to connect to the server. &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id, &#039;&#039;&#039;firstTime&#039;&#039;&#039; indicates if this is a new connection (1) or a reconnection (0). &#039;&#039;&#039;isBot&#039;&#039;&#039; indicates if the client is a bot (1) or not (0). If the mod accepts the connection, it should return nil. Otherwise, the mod should return a string describing the reason the client connection was rejected.&lt;br /&gt;
et_ClientDisconnect( &#039;&#039;&#039;clientNum&#039;&#039;&#039; )&lt;br /&gt;
:Called when a client disconnects. &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id.&lt;br /&gt;
et_ClientBegin( &#039;&#039;&#039;clientNum&#039;&#039;&#039; )&lt;br /&gt;
:Called when a client begins (becomes active, and enters the gameworld). &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id.&lt;br /&gt;
et_ClientUserinfoChanged( &#039;&#039;&#039;clientNum&#039;&#039;&#039; )&lt;br /&gt;
:Called when a client&#039;s Userinfo string has changed. &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id.&lt;br /&gt;
et_ClientSpawn( &#039;&#039;&#039;clientNum&#039;&#039;&#039;, &#039;&#039;&#039;revived&#039;&#039;&#039; )&lt;br /&gt;
:Called when a client is spawned. &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id. &#039;&#039;&#039;revived&#039;&#039;&#039; is 1 if the client was spawned by beeying revived.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===commands===&lt;br /&gt;
&#039;&#039;&#039;intercepted&#039;&#039;&#039; = et_ClientCommand( &#039;&#039;&#039;clientNum&#039;&#039;&#039;, &#039;&#039;&#039;command&#039;&#039;&#039; )&lt;br /&gt;
:Called when a command is received from a client. &#039;&#039;&#039;clientNum&#039;&#039;&#039; is the client slot id. &#039;&#039;&#039;command&#039;&#039;&#039; is the command. The mod should return 1 if the command was intercepted by the mod, and 0 if the command was ignored by the mod and should be passed through to the server (and other mods in the chain).&lt;br /&gt;
:The actual command can be accessed through the [[#argument_handling|argument handling]] functions, as seen in the [[ETPro:Lua Sample Code]].&lt;br /&gt;
&#039;&#039;&#039;intercepted&#039;&#039;&#039; = et_ConsoleCommand()&lt;br /&gt;
:Called when a command is entered on the server console. The mod should return 1 if the command was intercepted by the mod, and 0 if the command was ignored by the mod and should be passed through to the server (and other mods in the chain).&lt;br /&gt;
:The actual command can be accessed through the [[#argument_handling|argument handling]] functions, as seen in the [[ETPro:Lua Sample Code]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===xp===&lt;br /&gt;
et_UpgradeSkill( &#039;&#039;&#039;cno&#039;&#039;&#039;, &#039;&#039;&#039;skill&#039;&#039;&#039; )&lt;br /&gt;
:Called when client on slot &#039;&#039;&#039;cno&#039;&#039;&#039; gets an upgrade on skill &#039;&#039;&#039;skill&#039;&#039;&#039;. Return -1 to override (abort) the qagame function, anything else to &amp;quot;passthrough&amp;quot;. Callback may modify skills (or do anything else it wants) during passthrough. &lt;br /&gt;
et_SetPlayerSkill( &#039;&#039;&#039;cno&#039;&#039;&#039;, &#039;&#039;&#039;skill&#039;&#039;&#039; )&lt;br /&gt;
:Called when clients (on slot &#039;&#039;&#039;cno&#039;&#039;&#039;) skill level &#039;&#039;&#039;skill&#039;&#039;&#039; is set. Return -1 to override (abort) the qagame function, anything else to &amp;quot;passthrough&amp;quot;. Callback may modify skills (or do anything else it wants) during passthrough.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===miscellaneous===&lt;br /&gt;
et_IPCReceive( &#039;&#039;&#039;vmnumber&#039;&#039;&#039;, &#039;&#039;&#039;message&#039;&#039;&#039; )&lt;br /&gt;
:Called when another mod sends an et.IPCSend() message to this mod. &#039;&#039;&#039;vmnumber&#039;&#039;&#039; is the VM slot number of the sender, and &#039;&#039;&#039;message&#039;&#039;&#039; is the message.&lt;br /&gt;
et_Print( &#039;&#039;&#039;text&#039;&#039;&#039; )&lt;br /&gt;
:Called whenever the server or qagame prints a string to the console.&lt;br /&gt;
et_Obituary( &#039;&#039;&#039;victim&#039;&#039;&#039;, &#039;&#039;&#039;killer&#039;&#039;&#039;, &#039;&#039;&#039;meansOfDeath&#039;&#039;&#039; )&lt;br /&gt;
:Called whenever a player is killed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==predefined constants==&lt;br /&gt;
et.EXEC_NOW&amp;lt;br&amp;gt;&lt;br /&gt;
et.EXEC_INSERT&amp;lt;br&amp;gt;&lt;br /&gt;
et.EXEC_APPEND&amp;lt;br&amp;gt;&lt;br /&gt;
et.FS_READ&amp;lt;br&amp;gt;&lt;br /&gt;
et.FS_WRITE&amp;lt;br&amp;gt;&lt;br /&gt;
et.FS_APPEND&amp;lt;br&amp;gt;&lt;br /&gt;
et.FS_APPEND_SYNC&amp;lt;br&amp;gt;&lt;br /&gt;
et.SAY_ALL&amp;lt;br&amp;gt;&lt;br /&gt;
et.SAY_TEAM&amp;lt;br&amp;gt;&lt;br /&gt;
et.SAY_BUDDY&amp;lt;br&amp;gt;&lt;br /&gt;
et.SAY_TEAMNL&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
et.HOSTARCH&lt;br /&gt;
:set to WIN32 or UNIX depending on the host architecture qagame is running on.&lt;br /&gt;
LUA_PATH&lt;br /&gt;
:set to fs_homepath/fs_game/?.lua in order to ease use of the [http://www.lua.org/pil/8.1.html require] function.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==configs==&lt;br /&gt;
If a config is loaded, all modules are shutdown and reloaded. If a &#039;&#039;certified&#039;&#039; config is loaded, all modules are shutdown and reloaded, and additionally the following functions are disabled: &#039;&#039;&#039;require()&#039;&#039;&#039;, &#039;&#039;&#039;loadfile()&#039;&#039;&#039;, &#039;&#039;&#039;loadlib()&#039;&#039;&#039;, &#039;&#039;&#039;loadstring()&#039;&#039;&#039;, &#039;&#039;&#039;dofile()&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==caveats==&lt;br /&gt;
Like qagame, lua modules are unloaded and reloaded on map_restart and map changes. This means that all global variables and other information is lost. Mods may choose to store persistent data in cvars or external files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
&lt;br /&gt;
Q: OMG I hate the libary prefix et.* on everything!!11!1oneone&amp;lt;br&amp;gt;&lt;br /&gt;
A: table.foreach(et, function (func, value) _G[func] = value; end)&lt;br /&gt;
&lt;br /&gt;
Q: How do a reload my lua file without restarting the whole server?&amp;lt;br&amp;gt;&lt;br /&gt;
A: Change maps, use map_restart or reset_match&lt;br /&gt;
&lt;br /&gt;
Q: Can I see some sample code?&amp;lt;br&amp;gt;&lt;br /&gt;
A: [[ETPro:Lua Sample Code|Lua sample code]]&lt;br /&gt;
&lt;br /&gt;
Q: Is there a list of [[ETPro]] mods?&amp;lt;br&amp;gt;&lt;br /&gt;
A: Yes, [[:Category:ETPro:Mods|here]].&lt;br /&gt;
&lt;br /&gt;
Q: OMG my mod doesn&#039;t work!&amp;lt;br&amp;gt;&lt;br /&gt;
A: Make sure you added your mod&#039;s filename to the lua_modules cvar (e.g. set lua_modules mymod.lua).&lt;br /&gt;
&lt;br /&gt;
Q: OMG why has et_ClientSay been removed?&amp;lt;br&amp;gt;&lt;br /&gt;
A: Thats a secret but, to keep the function as it was, just add the following code to your et_ClientCommand() function&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;	-- et_ClientSay had to be removed in order to intercept all commands &lt;br /&gt;
	-- so here&#039;s a wrapper for that&lt;br /&gt;
		arg0 = et.trap_Argv(0) -- get the main command&lt;br /&gt;
		&lt;br /&gt;
		if arg0 == &amp;quot;say&amp;quot; then&lt;br /&gt;
			return et_ClientSay( clientNum, et.SAY_ALL, et.ConcatArgs(1))&lt;br /&gt;
		elseif arg0 == &amp;quot;say_team&amp;quot; then&lt;br /&gt;
			return et_ClientSay( clientNum, et.SAY_TEAM, et.ConcatArgs(1))&lt;br /&gt;
		elseif arg0 == &amp;quot;say_buddy&amp;quot; then&lt;br /&gt;
			return et_ClientSay( clientNum, et.SAY_BUDDY, et.ConcatArgs(1))&lt;br /&gt;
		elseif arg0 == &amp;quot;say_teamnl&amp;quot; then&lt;br /&gt;
			return et_ClientSay( clientNum, et.SAY_TEAMNL, et.ConcatArgs(1))&lt;br /&gt;
		end&lt;br /&gt;
	-- et_ClientSay wrapper end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua]]&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2457</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2457"/>
		<updated>2006-07-28T07:53:16Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&#039;&#039;&lt;br /&gt;
:**&#039;&#039;[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&#039;&#039;&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*&#039;&#039;[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&#039;&#039;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2456</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2456"/>
		<updated>2006-07-27T21:09:30Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[http://www.force-opponents.de www.force-opponents.de]&#039;&#039; - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:&#039;&#039;[irc://irc.quakenet.org:6667/force-opponents #force-opponents]&#039;&#039; - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table width=100%&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border: 1px solid #fabd23; color: #000; background-color: #fcfae3&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: .5em .9em .9em&amp;quot;&amp;gt;&lt;br /&gt;
== &#039;&#039;Scripts&#039;&#039; ==&lt;br /&gt;
:*[[#LUA script - playsoundcmd.lua|playsoundcmd.lua]]&lt;br /&gt;
:**[[#ETAdmin_mod spree sounds HowTo|ETAdmin_mod spree sounds HowTo]]&lt;br /&gt;
== &#039;&#039;Functions&#039;&#039; ==&lt;br /&gt;
:*[[#LUA function - et.G_ClientSound()|et.G_ClientSound()]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod] spree sounds HowTo&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*If needed you must update your &#039;&#039;[[ETPro]]&#039;&#039; to version 3.2.6 or higher. You can found the newest package available at &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;.&lt;br /&gt;
:*Add the following line to your server configuration to instruct your server to load the script on startup.&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*You must provide the sounds on your server to make them available to your players. Download the file &#039;&#039;[http://www.force-opponents.de/lua/etadmin_sounds.pk3 etadmin_sounds.pk3]&#039;&#039; and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder. This file contains the basic &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; sounds.&lt;br /&gt;
:*Download the latest &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; script and save it into your &#039;&#039;[[ETPro]]&#039;&#039; folder.&lt;br /&gt;
:*Configure &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; v0.29 or higher to use the &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; command.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/etadmin.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# Detect Multikills (UT like, 3 at once)&lt;br /&gt;
# Note: The 3 kills have to be max. 3 seconds away from each other&lt;br /&gt;
multikill_detector      = 1&lt;br /&gt;
&lt;br /&gt;
# Detect Monsterkills (UT like, 5 at once)&lt;br /&gt;
# Note: 5 kills have to be max. 3 seconds away from each other&lt;br /&gt;
monsterkill_detector    = 1&lt;br /&gt;
&lt;br /&gt;
# note: the spree_color is deprected. See [spree_messages] instead.&lt;br /&gt;
&lt;br /&gt;
# Announce first blood	&lt;br /&gt;
first_blood		= 1&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;p&amp;gt;&#039;&#039;etadmin_mod/etc/sound.cfg&#039;&#039;:&amp;lt;/p&amp;gt;&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# -&amp;gt; THIS OPTION IS DEPRECATED, USE SOUND_MAPPINGS INSTEAD !!!!&lt;br /&gt;
#    its only here for people, that don&#039;t want to change their config from 0.28!&lt;br /&gt;
spree_sounds		    = 0&lt;br /&gt;
&lt;br /&gt;
# 1 = enable soundmappings, 0 = disable&lt;br /&gt;
sound_mappings 		= 1&lt;br /&gt;
&lt;br /&gt;
# rcon: means, that the regexp will apply to all rcon commands send from the etadmin_mod into the game.&lt;br /&gt;
# clog: means, that the regexp apply to every line of the etconsole.log.&lt;br /&gt;
# Remove # to activate sound.&lt;br /&gt;
&lt;br /&gt;
[sound_mappings]&lt;br /&gt;
# First blood (also in spree sounds, don&#039;t mix spree_sounds = 1 and this):&lt;br /&gt;
#rcon:drew \^1first \^1BLOOD                                    = sound/misc/firstblood.wav&lt;br /&gt;
rcon:&amp;quot;-PLAYERNAME- \^1drew \^1first \^1BLOOD \^1!               = sound/misc/firstblood.wav&lt;br /&gt;
&lt;br /&gt;
# Sounds on Monster / Multikill (also in spree sounds, don&#039;t mix spree_sounds = 1 and this)&lt;br /&gt;
rcon:\^7!!!! \^1Multikill                                       = sound/misc/multikill.wav&lt;br /&gt;
rcon:\^1OMG, MONSTERKILL                                        = sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# private sounds (only use these or the above, don&#039;t mix!):&lt;br /&gt;
#rcon:Multikill \^7&amp;gt; \^7-PLAYERNAME- \^7&amp;lt; \^1Multikill		= sound/misc/multikill.wav&lt;br /&gt;
#rcon:^1MONSTERKILL \^7&amp;gt;&amp;gt;&amp;gt; \^7-PLAYERNAME- \^7&amp;lt;&amp;lt;&amp;lt; ^1MONSTER KILL	= sound/misc/monsterkill.wav&lt;br /&gt;
&lt;br /&gt;
# Spree messages (global)&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8killing \^8spree                       = sound/misc/killingspree.wav&lt;br /&gt;
rcon:\^8is \^8on \^8a \^8rampage                                = sound/misc/rampage.wav&lt;br /&gt;
rcon:\^8is \^8dominating                                        = sound/misc/dominating.wav&lt;br /&gt;
rcon:\^8is \^8unstoppable                                       = sound/misc/unstoppable.wav&lt;br /&gt;
rcon:\^8is \^8godlike                                           = sound/misc/godlike.wav&lt;br /&gt;
rcon:\^8is \^8wicked \^8sick                                    = sound/misc/wickedsick.wav&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
:* Restart your &#039;&#039;[http://et.d1p.de/etadmin_mod/wiki/index.php ETAdmin_mod]&#039;&#039; and your server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*&#039;&#039;[[ETPro]]&#039;&#039; 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Source&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&amp;lt;table cellspacing=0 cellpadding=0 width=100%&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2455</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2455"/>
		<updated>2006-07-27T07:55:26Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td width=200&amp;gt;http://wowdev.org/wiki/images/thumb/9/95/Lua.gif/180px-Lua.gif&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Homepage&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;EMail&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;[[IRC]]&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 installed - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your [[ETPro]] folder&lt;br /&gt;
:*Add the following command to your server configuration&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;&amp;lt;font color=blue&amp;gt;CODE&amp;lt;/font&amp;gt;&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td width=100%&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2454</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2454"/>
		<updated>2006-07-26T16:27:31Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 installed - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your [[ETPro]] folder&lt;br /&gt;
:*Add the following command to your server configuration&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;&amp;lt;font color=blue&amp;gt;CODE&amp;lt;/font&amp;gt;&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td width=100%&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2453</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2453"/>
		<updated>2006-07-26T09:52:08Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=blue&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior).&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 installed - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Installation&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your [[ETPro]] folder&lt;br /&gt;
:*Add the following command to your server configuration&amp;lt;pre&amp;gt;set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; only&amp;lt;br&amp;gt;&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;\rcon (rconpassword) playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; plays &#039;&#039;&#039;sound&#039;&#039;&#039; for &#039;&#039;&#039;name/slot#&#039;&#039;&#039; and surrounding clients only&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA function - &amp;lt;font color=blue&amp;gt;et.G_ClientSound()&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
Use this function in your own projects to play a sound for a certain client only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Requirements&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;Usage&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
:et.G_ClientSound(&#039;&#039;&#039;clientnum&#039;&#039;&#039;, &#039;&#039;&#039;soundfile&#039;&#039;&#039;)&lt;br /&gt;
::Plays a global sound &#039;&#039;&#039;soundfile&#039;&#039;&#039; for a certain client &#039;&#039;&#039;clientnum&#039;&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
===== &#039;&#039;&#039;&#039;&#039;&amp;lt;font color=blue&amp;gt;CODE&amp;lt;/font&amp;gt;&#039;&#039;&#039;&#039;&#039; =====&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
&lt;br /&gt;
function et.G_ClientSound(clientnum, soundfile)&lt;br /&gt;
	local tempentity = et.G_TempEntity(et.gentity_get(clientnum, &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, clientnum)&lt;br /&gt;
	et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, et.G_SoundIndex(soundfile))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2452</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2452"/>
		<updated>2006-07-26T07:50:51Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 installed - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2451</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2451"/>
		<updated>2006-07-26T07:46:19Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*[[ETPro]] &amp;gt;= 3.2.6 installed - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User_talk:Phenomenon&amp;diff=2450</id>
		<title>User talk:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User_talk:Phenomenon&amp;diff=2450"/>
		<updated>2006-07-26T07:42:12Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ever heard of the so called &amp;quot;preview availability&amp;quot; ? --[[User:Deus|Deus]] 23:08, 25 July 2006 (PDT)&lt;br /&gt;
:I&#039;m so sorry - didn&#039;t noticed it at all (WIKI noob). --[[User:Phenomenon|Phenomenon]] 00:42, 26 July 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2447</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2447"/>
		<updated>2006-07-25T21:13:02Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to your server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2446</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2446"/>
		<updated>2006-07-25T21:06:26Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;personal profile&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;Personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2445</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2445"/>
		<updated>2006-07-25T21:06:11Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;LUA script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2444</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2444"/>
		<updated>2006-07-25T21:05:19Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;personal profile&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Homepage =====&lt;br /&gt;
&lt;br /&gt;
:[http://www.force-opponents.de www.force-opponents.de] - Home of the Force Opponents Clan&lt;br /&gt;
&lt;br /&gt;
===== EMail =====&lt;br /&gt;
&lt;br /&gt;
:[mailto:phenomenon@force-opponents.de phenomenon@force-opponents.de]&lt;br /&gt;
&lt;br /&gt;
===== [[IRC]] =====&lt;br /&gt;
&lt;br /&gt;
:[irc://irc.quakenet.org:6667/force-opponents #force-opponents] - channel on QuakeNet&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2443</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2443"/>
		<updated>2006-07-25T20:59:52Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2442</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2442"/>
		<updated>2006-07-25T20:59:30Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039; and &#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2441</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2441"/>
		<updated>2006-07-25T20:59:05Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2440</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2440"/>
		<updated>2006-07-25T20:58:21Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ETPub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2439</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2439"/>
		<updated>2006-07-25T20:56:45Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly &#039;&#039;[http://et.tjw.org/etpub ETPub]&#039;&#039; behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2438</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2438"/>
		<updated>2006-07-25T20:56:14Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing &#039;&#039;[[User:RoadKillPuppy|playsound.lua]]&#039;&#039; is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly [http://et.tjw.org/etpub ETPub] behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2437</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2437"/>
		<updated>2006-07-25T20:48:42Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing [playsound.lua} is this one can play a sound only for a certain player and/or also for players in the proximity of this player (exactly ET Pub behavior).&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2436</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2436"/>
		<updated>2006-07-25T20:47:37Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server. The difference to the already existing [playsound.lua} is this one can play a sound only for a certain player and/or also for players in the proximity of this player.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2435</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2435"/>
		<updated>2006-07-25T20:43:12Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2434</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2434"/>
		<updated>2006-07-25T20:40:33Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env [name/slot#] [sound]&amp;lt;/font&amp;gt;&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2433</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2433"/>
		<updated>2006-07-25T20:39:55Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2432</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2432"/>
		<updated>2006-07-25T20:39:40Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2431</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2431"/>
		<updated>2006-07-25T20:39:10Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
:This script adds new console commands &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; and &amp;quot;&#039;&#039;&amp;lt;font color=gray&amp;gt;playsound_env&amp;lt;/font&amp;gt;&#039;&#039;&amp;quot; to the server.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2430</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2430"/>
		<updated>2006-07-25T20:32:19Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
:Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
:Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2429</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2429"/>
		<updated>2006-07-25T20:31:25Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
:Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2428</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2428"/>
		<updated>2006-07-25T20:30:43Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2427</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2427"/>
		<updated>2006-07-25T20:29:40Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;&#039;&#039;playsound [sound]&#039;&#039;&amp;lt;/b&amp;gt; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&#039;&#039;playsound [name/slot#] [sound]&#039;&#039;&amp;lt;/b&amp;gt; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039;&amp;lt;/b&amp;gt; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2426</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2426"/>
		<updated>2006-07-25T20:28:44Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;playsound_env [sound]&#039;&#039; will play sound for all clients&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2425</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2425"/>
		<updated>2006-07-25T20:28:29Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
===== Description =====&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
This script &lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Usage =====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;playsound_env [sound]&#039;&#039; will play sound for all clients&lt;br /&gt;
&#039;&#039;playsound [name/slot#] [sound]&#039;&#039; will play sound for that client only&lt;br /&gt;
&#039;&#039;playsound_env [name/slot#] [sound]&#039;&#039; will play sound for that client and surrounding players only&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2424</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2424"/>
		<updated>2006-07-25T18:06:35Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2423</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2423"/>
		<updated>2006-07-25T18:05:39Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&amp;lt;br&amp;gt;&lt;br /&gt;
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy&#039;s playsound.lua] with the difference that you can play a sound to only one client.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2422</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2422"/>
		<updated>2006-07-25T17:59:39Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2421</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2421"/>
		<updated>2006-07-25T17:59:31Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2420</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2420"/>
		<updated>2006-07-25T17:59:11Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod. Plays a sound global, only to a player or around a player.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2419</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2419"/>
		<updated>2006-07-25T17:56:05Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2418</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2418"/>
		<updated>2006-07-25T17:55:12Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.de/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Source =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- playsoundcmd.lua    -- Version 0.1&lt;br /&gt;
-- (c) 2006 Phenomenon -- phenomenon@force-opponents.de&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
--&lt;br /&gt;
-- Usage: playsound [sound]                  -- GLOBAL SOUND&lt;br /&gt;
--        playsound [name|slot#] [sound]     -- CLIENT ONLY SOUND&lt;br /&gt;
--        playsound_env [name|slot#] [sound] -- SURROUNDING CLIENT SOUND&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
MODULE_VERSION = &amp;quot;0.1&amp;quot;&lt;br /&gt;
EV_GENERAL_SOUND = 51&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
CON_DISCONNECTED = 0&lt;br /&gt;
&lt;br /&gt;
function et_InitGame(leveltime, randomseed, restart)&lt;br /&gt;
	et.RegisterModname(&amp;quot;playsoundcmd-&amp;quot;..MODULE_VERSION)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function et_ConsoleCommand()&lt;br /&gt;
	local command = string.lower(et.trap_Argv(0))&lt;br /&gt;
	&lt;br /&gt;
	if command == &amp;quot;playsound&amp;quot; or command == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
		playsound_command()&lt;br /&gt;
		return 1&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function playsound_command()&lt;br /&gt;
	if et.trap_Argc() &amp;lt; 2 then&lt;br /&gt;
		et.G_Print(&amp;quot;^ousage: ^7playsound ^7[^fname^7|^fslot#^7] ^7[^fsound^7]\n&amp;quot;)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if et.trap_Argc() &amp;gt; 2 then&lt;br /&gt;
		local playerlist = client_numbers_from_string(et.trap_Argv(1))&lt;br /&gt;
		&lt;br /&gt;
		if table.getn(playerlist) ~= 1 then&lt;br /&gt;
			et.G_Print(string.format(&amp;quot;^oplaysound: %s&amp;quot;, match_one_player(playerlist)))&lt;br /&gt;
			return&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		local soundindex = et.G_SoundIndex(et.trap_Argv(2))&lt;br /&gt;
		&lt;br /&gt;
		if string.lower(et.trap_Argv(0)) == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
			et.G_AddEvent(playerlist[1], EV_GENERAL_SOUND, soundindex)&lt;br /&gt;
		else&lt;br /&gt;
			local tempentity = et.G_TempEntity(et.gentity_get(playerlist[1], &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, playerlist[1])&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, soundindex)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		et.G_globalSound(et.trap_Argv(1))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function client_numbers_from_string(partofname)&lt;br /&gt;
	local playerlist, index, maxclients = {}, 1, tonumber(et.trap_Cvar_Get(&amp;quot;sv_maxclients&amp;quot;))&lt;br /&gt;
	&lt;br /&gt;
	table.setn(playerlist, 0)&lt;br /&gt;
	&lt;br /&gt;
	-- if a number is provided, it might be a slot#&lt;br /&gt;
	if tonumber(partofname) then&lt;br /&gt;
		local playernum = tonumber(partofname)&lt;br /&gt;
		&lt;br /&gt;
		if playernum &amp;gt;= 0 and playernum &amp;lt; maxclients then&lt;br /&gt;
			if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				return playerlist&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- now look for name matches&lt;br /&gt;
	local cleanpartofname = sanitize_string(partofname)&lt;br /&gt;
	&lt;br /&gt;
	if string.len(cleanpartofname) &amp;lt; 1 then&lt;br /&gt;
		return playerlist&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for playernum = 0, maxclients - 1, 1 do&lt;br /&gt;
		if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
			if string.find(sanitize_string(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)), cleanpartofname) then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				index = index + 1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return playerlist&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function sanitize_string(str)&lt;br /&gt;
	return trim(string.lower(et.Q_CleanStr(str)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function trim(str)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function match_one_player(playerlist)&lt;br /&gt;
	if table.getn(playerlist) == 0 then&lt;br /&gt;
		return &amp;quot;^7no ^7connected ^7player ^7by ^7that ^7name ^7or ^7slot#\n&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if table.getn(playerlist) &amp;gt; 1 then&lt;br /&gt;
		local message = &amp;quot;^7more ^7than ^7one ^7player ^7name ^7matches. ^7be ^7more ^7specific ^7or ^7use ^7the ^7slot#:\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		for index, playernum in ipairs(playerlist) do&lt;br /&gt;
			message = string.format(&amp;quot;%s^7%2i ^7- ^7%s\n&amp;quot;, message, playernum, fix_ending_caret(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)))&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		return message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function fix_ending_caret(str)&lt;br /&gt;
	return string.gsub(str, &amp;quot;%^$&amp;quot;, &amp;quot;^^ &amp;quot;) -- fix ending caret for printing&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2417</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2417"/>
		<updated>2006-07-25T17:51:27Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.org/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Source =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- playsoundcmd.lua    -- Version 0.1&lt;br /&gt;
-- (c) 2006 Phenomenon -- phenomenon@force-opponents.de&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
--&lt;br /&gt;
-- Usage: playsound [sound]                  -- GLOBAL SOUND&lt;br /&gt;
--        playsound [name|slot#] [sound]     -- CLIENT ONLY SOUND&lt;br /&gt;
--        playsound_env [name|slot#] [sound] -- SURROUNDING CLIENT SOUND&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
MODULE_VERSION = &amp;quot;0.1&amp;quot;&lt;br /&gt;
EV_GENERAL_SOUND = 51&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
CON_DISCONNECTED = 0&lt;br /&gt;
&lt;br /&gt;
function et_InitGame(leveltime, randomseed, restart)&lt;br /&gt;
	et.RegisterModname(&amp;quot;playsoundcmd-&amp;quot;..MODULE_VERSION)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function et_ConsoleCommand()&lt;br /&gt;
	local command = string.lower(et.trap_Argv(0))&lt;br /&gt;
	&lt;br /&gt;
	if command == &amp;quot;playsound&amp;quot; or command == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
		playsound_command()&lt;br /&gt;
		return 1&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function playsound_command()&lt;br /&gt;
	if et.trap_Argc() &amp;lt; 2 then&lt;br /&gt;
		et.G_Print(&amp;quot;^ousage: ^7playsound ^7[^fname^7|^fslot#^7] ^7[^fsound^7]\n&amp;quot;)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if et.trap_Argc() &amp;gt; 2 then&lt;br /&gt;
		local playerlist = client_numbers_from_string(et.trap_Argv(1))&lt;br /&gt;
		&lt;br /&gt;
		if table.getn(playerlist) ~= 1 then&lt;br /&gt;
			et.G_Print(string.format(&amp;quot;^oplaysound: %s&amp;quot;, match_one_player(playerlist)))&lt;br /&gt;
			return&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		local soundindex = et.G_SoundIndex(et.trap_Argv(2))&lt;br /&gt;
		&lt;br /&gt;
		if string.lower(et.trap_Argv(0)) == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
			et.G_AddEvent(playerlist[1], EV_GENERAL_SOUND, soundindex)&lt;br /&gt;
		else&lt;br /&gt;
			local tempentity = et.G_TempEntity(et.gentity_get(playerlist[1], &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, playerlist[1])&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, soundindex)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		et.G_globalSound(et.trap_Argv(1))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function client_numbers_from_string(partofname)&lt;br /&gt;
	local playerlist, index, maxclients = {}, 1, tonumber(et.trap_Cvar_Get(&amp;quot;sv_maxclients&amp;quot;))&lt;br /&gt;
	&lt;br /&gt;
	table.setn(playerlist, 0)&lt;br /&gt;
	&lt;br /&gt;
	-- if a number is provided, it might be a slot#&lt;br /&gt;
	if tonumber(partofname) then&lt;br /&gt;
		local playernum = tonumber(partofname)&lt;br /&gt;
		&lt;br /&gt;
		if playernum &amp;gt;= 0 and playernum &amp;lt; maxclients then&lt;br /&gt;
			if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				return playerlist&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- now look for name matches&lt;br /&gt;
	local cleanpartofname = sanitize_string(partofname)&lt;br /&gt;
	&lt;br /&gt;
	if string.len(cleanpartofname) &amp;lt; 1 then&lt;br /&gt;
		return playerlist&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for playernum = 0, maxclients - 1, 1 do&lt;br /&gt;
		if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
			if string.find(sanitize_string(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)), cleanpartofname) then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				index = index + 1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return playerlist&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function sanitize_string(str)&lt;br /&gt;
	return trim(string.lower(et.Q_CleanStr(str)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function trim(str)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function match_one_player(playerlist)&lt;br /&gt;
	if table.getn(playerlist) == 0 then&lt;br /&gt;
		return &amp;quot;^7no ^7connected ^7player ^7by ^7that ^7name ^7or ^7slot#\n&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if table.getn(playerlist) &amp;gt; 1 then&lt;br /&gt;
		local message = &amp;quot;^7more ^7than ^7one ^7player ^7name ^7matches. ^7be ^7more ^7specific ^7or ^7use ^7the ^7slot#:\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		for index, playernum in ipairs(playerlist) do&lt;br /&gt;
			message = string.format(&amp;quot;%s^7%2i ^7- ^7%s\n&amp;quot;, message, playernum, fix_ending_caret(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)))&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		return message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function fix_ending_caret(str)&lt;br /&gt;
	return string.gsub(str, &amp;quot;%^$&amp;quot;, &amp;quot;^^ &amp;quot;) -- fix ending caret for printing&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2416</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2416"/>
		<updated>2006-07-25T17:49:19Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.org/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Source =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- playsoundcmd.lua    -- Version 0.1&lt;br /&gt;
-- (c) 2006 Phenomenon -- phenomenon@force-opponents.de&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
--&lt;br /&gt;
-- Usage: playsound [sound]                  -- GLOBAL SOUND&lt;br /&gt;
--        playsound [name|slot#] [sound]     -- CLIENT ONLY SOUND&lt;br /&gt;
--        playsound_env [name|slot#] [sound] -- SURROUNDING CLIENT SOUND&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
MODULE_VERSION = &amp;quot;0.1&amp;quot;&lt;br /&gt;
EV_GENERAL_SOUND = 51&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
CON_DISCONNECTED = 0&lt;br /&gt;
&lt;br /&gt;
function et_InitGame(ltime, rseed, restart)&lt;br /&gt;
	et.RegisterModname(&amp;quot;playsoundcmd-&amp;quot;..MODULE_VERSION)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function et_ConsoleCommand()&lt;br /&gt;
	local command = string.lower(et.trap_Argv(0))&lt;br /&gt;
	&lt;br /&gt;
	if command == &amp;quot;playsound&amp;quot; or command == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
		playsound_command()&lt;br /&gt;
		return 1&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function playsound_command()&lt;br /&gt;
	if et.trap_Argc() &amp;lt; 2 then&lt;br /&gt;
		et.G_Print(&amp;quot;^ousage: ^7playsound ^7[^fname^7|^fslot#^7] ^7[^fsound^7]\n&amp;quot;)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if et.trap_Argc() &amp;gt; 2 then&lt;br /&gt;
		local playerlist = client_numbers_from_string(et.trap_Argv(1))&lt;br /&gt;
		&lt;br /&gt;
		if table.getn(playerlist) ~= 1 then&lt;br /&gt;
			et.G_Print(string.format(&amp;quot;^oplaysound: %s&amp;quot;, match_one_player(playerlist)))&lt;br /&gt;
			return&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		local soundindex = et.G_SoundIndex(et.trap_Argv(2))&lt;br /&gt;
		&lt;br /&gt;
		if string.lower(et.trap_Argv(0)) == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
			et.G_AddEvent(playerlist[1], EV_GENERAL_SOUND, soundindex)&lt;br /&gt;
		else&lt;br /&gt;
			local tempentity = et.G_TempEntity(et.gentity_get(playerlist[1], &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, playerlist[1])&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, soundindex)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		et.G_globalSound(et.trap_Argv(1))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function client_numbers_from_string(partofname)&lt;br /&gt;
	local playerlist, index, maxclients = {}, 1, tonumber(et.trap_Cvar_Get(&amp;quot;sv_maxclients&amp;quot;))&lt;br /&gt;
	&lt;br /&gt;
	table.setn(playerlist, 0)&lt;br /&gt;
	&lt;br /&gt;
	-- if a number is provided, it might be a slot#&lt;br /&gt;
	if tonumber(partofname) then&lt;br /&gt;
		local playernum = tonumber(partofname)&lt;br /&gt;
		&lt;br /&gt;
		if playernum &amp;gt;= 0 and playernum &amp;lt; maxclients then&lt;br /&gt;
			if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				return playerlist&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- now look for name matches&lt;br /&gt;
	local cleanpartofname = sanitize_string(partofname)&lt;br /&gt;
	&lt;br /&gt;
	if string.len(cleanpartofname) &amp;lt; 1 then&lt;br /&gt;
		return playerlist&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for playernum = 0, maxclients - 1, 1 do&lt;br /&gt;
		if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
			if string.find(sanitize_string(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)), cleanpartofname) then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				index = index + 1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return playerlist&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function sanitize_string(str)&lt;br /&gt;
	return trim(string.lower(et.Q_CleanStr(str)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function trim(str)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function match_one_player(playerlist)&lt;br /&gt;
	if table.getn(playerlist) == 0 then&lt;br /&gt;
		return &amp;quot;^7no ^7connected ^7player ^7by ^7that ^7name ^7or ^7slot#\n&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if table.getn(playerlist) &amp;gt; 1 then&lt;br /&gt;
		local message = &amp;quot;^7more ^7than ^7one ^7player ^7name ^7matches. ^7be ^7more ^7specific ^7or ^7use ^7the ^7slot#:\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		for index, playernum in ipairs(playerlist) do&lt;br /&gt;
			message = string.format(&amp;quot;%s^7%2i ^7- ^7%s\n&amp;quot;, message, playernum, fix_ending_caret(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)))&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		return message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function fix_ending_caret(str)&lt;br /&gt;
	return string.gsub(str, &amp;quot;%^$&amp;quot;, &amp;quot;^^ &amp;quot;) -- fix ending caret for printing&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2415</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2415"/>
		<updated>2006-07-25T17:48:36Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.org/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Source =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- playsoundcmd.lua    -- Version 0.1&lt;br /&gt;
-- (c) 2006 Phenomenon -- phenomenon@force-opponents.de&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
-- Converted &amp;quot;playsound&amp;quot; functionality from Tony J. White&#039;s ETPub Mod.&lt;br /&gt;
--&lt;br /&gt;
-- Usage: playsound [sound]                  -- GLOBAL SOUND&lt;br /&gt;
--        playsound [name|slot#] [sound]     -- CLIENT ONLY SOUND&lt;br /&gt;
--        playsound_env [name|slot#] [sound] -- SURROUNDING CLIENT SOUND&lt;br /&gt;
--&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
MODULE_VERSION = &amp;quot;0.1&amp;quot;&lt;br /&gt;
EV_GENERAL_SOUND = 51&lt;br /&gt;
EV_GLOBAL_CLIENT_SOUND = 54&lt;br /&gt;
CON_DISCONNECTED = 0&lt;br /&gt;
&lt;br /&gt;
function et_InitGame(ltime, rseed, restart)&lt;br /&gt;
	et.RegisterModname(&amp;quot;playsoundcmd-&amp;quot;..MODULE_VERSION)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function et_ConsoleCommand()&lt;br /&gt;
	local command = string.lower(et.trap_Argv(0))&lt;br /&gt;
	&lt;br /&gt;
	if command == &amp;quot;playsound&amp;quot; or command == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
		playsound_command()&lt;br /&gt;
		return 1&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function playsound_command()&lt;br /&gt;
	if et.trap_Argc() &amp;lt; 2 then&lt;br /&gt;
		et.G_Print(&amp;quot;^ousage: ^7playsound ^7[^fname^7|^fslot#^7] ^7[^fsound^7]\n&amp;quot;)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if et.trap_Argc() &amp;gt; 2 then&lt;br /&gt;
		local playerlist = client_numbers_from_string(et.trap_Argv(1))&lt;br /&gt;
		&lt;br /&gt;
		if table.getn(playerlist) ~= 1 then&lt;br /&gt;
			et.G_Print(string.format(&amp;quot;^oplaysound: %s&amp;quot;, match_one_player(playerlist)))&lt;br /&gt;
			return&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		local soundindex = et.G_SoundIndex(et.trap_Argv(2))&lt;br /&gt;
		&lt;br /&gt;
		if string.lower(et.trap_Argv(0)) == &amp;quot;playsound_env&amp;quot; then&lt;br /&gt;
			et.G_AddEvent(playerlist[1], EV_GENERAL_SOUND, soundindex)&lt;br /&gt;
		else&lt;br /&gt;
			local tempentity = et.G_TempEntity(et.gentity_get(playerlist[1], &amp;quot;r.currentOrigin&amp;quot;), EV_GLOBAL_CLIENT_SOUND)&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.teamNum&amp;quot;, playerlist[1])&lt;br /&gt;
			et.gentity_set(tempentity, &amp;quot;s.eventParm&amp;quot;, soundindex)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		et.G_globalSound(et.trap_Argv(1))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function client_numbers_from_string(partofname)&lt;br /&gt;
	local playerlist, index, maxclients = {}, 1, tonumber(et.trap_Cvar_Get(&amp;quot;sv_maxclients&amp;quot;))&lt;br /&gt;
	&lt;br /&gt;
	table.setn(playerlist, 0)&lt;br /&gt;
	&lt;br /&gt;
	-- if a number is provided, it might be a slot#&lt;br /&gt;
	if tonumber(partofname) then&lt;br /&gt;
		local playernum = tonumber(partofname)&lt;br /&gt;
		&lt;br /&gt;
		if playernum &amp;gt;= 0 and playernum &amp;lt; maxclients then&lt;br /&gt;
			if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				return playerlist&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- now look for name matches&lt;br /&gt;
	local cleanpartofname = sanitize_string(partofname)&lt;br /&gt;
	&lt;br /&gt;
	if string.len(cleanpartofname) &amp;lt; 1 then&lt;br /&gt;
		return playerlist&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	for playernum = 0, maxclients - 1, 1 do&lt;br /&gt;
		if et.gentity_get(playernum, &amp;quot;pers.connected&amp;quot;) ~= CON_DISCONNECTED then&lt;br /&gt;
			if string.find(sanitize_string(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)), cleanpartofname) then&lt;br /&gt;
				playerlist[index] = playernum&lt;br /&gt;
				table.setn(playerlist, index)&lt;br /&gt;
				index = index + 1&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return playerlist&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function sanitize_string(str)&lt;br /&gt;
	return trim(string.lower(et.Q_CleanStr(str)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function trim(str)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;^%s+&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	str = string.gsub(str, &amp;quot;%s+$&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	return str&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function match_one_player(playerlist)&lt;br /&gt;
	if table.getn(playerlist) == 0 then&lt;br /&gt;
		return &amp;quot;^7no ^7connected ^7player ^7by ^7that ^7name ^7or ^7slot#\n&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if table.getn(playerlist) &amp;gt; 1 then&lt;br /&gt;
		local message = &amp;quot;^7more ^7than ^7one ^7player ^7name ^7matches. ^7be ^7more ^7specific ^7or ^7use ^7the ^7slot#:\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		for index, playernum in ipairs(playerlist) do&lt;br /&gt;
			message = string.format(&amp;quot;%s^7%2i ^7- ^7%s\n&amp;quot;, message, playernum, fix_ending_caret(et.gentity_get(playernum, &amp;quot;pers.netname&amp;quot;)))&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		return message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function fix_ending_caret(str)&lt;br /&gt;
	return string.gsub(str, &amp;quot;%^$&amp;quot;, &amp;quot;^^ &amp;quot;) -- fix ending caret for printing&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
	<entry>
		<id>https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2414</id>
		<title>User:Phenomenon</title>
		<link rel="alternate" type="text/html" href="https://wolfwiki.anime.net/index.php?title=User:Phenomenon&amp;diff=2414"/>
		<updated>2006-07-25T17:31:48Z</updated>

		<summary type="html">&lt;p&gt;Phenomenon: /* &amp;#039;&amp;#039;lua script &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&amp;#039;&amp;#039; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:ETPro:Mods]]&lt;br /&gt;
== &#039;&#039;personal profile&#039;&#039; ==&lt;br /&gt;
personal bla bla later ...&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;lua script - &amp;lt;font color=red&amp;gt;playsoundcmd.lua&amp;lt;/font&amp;gt;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
===== Requirements =====&lt;br /&gt;
&lt;br /&gt;
*Wolfenstein - Enemy Territory (patched to v2.60b) - &#039;&#039;[http://www.splashdamage.com splashdamage.com]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ET Pro 3.2.6 or higher - &#039;&#039;[http://etpro.anime.net etpro.anime.net]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===== Installation =====&lt;br /&gt;
&lt;br /&gt;
*Download the LUA script &#039;&#039;[http://www.force-opponents.org/lua/playsoundcmd.lua playsoundcmd.lua]&#039;&#039; to your etpro folder&lt;br /&gt;
&lt;br /&gt;
*Add the following command to your server.cfg to call the script on server start&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set lua_modules &amp;quot;playsoundcmd.lua&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Restart your server&lt;br /&gt;
&lt;br /&gt;
===== Source =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phenomenon</name></author>
	</entry>
</feed>