v1.2.0.022
New features:
* Added notin operator to if
* Added es_trick command
** es_trick greenblock <userid> - places an inpassable green block in front of a player. Not cleaned-up on round end.
** es_trick entity <entity_name> - creates an entity somewhere. WILL CRASH IF THE ENTITY NAME IS INVALID. Sets eventscripts_lastgive
** es_trick dispatcheffect <userid> <effect-name> <distance>
* Added userid type to es_exists
* Added es_dbgmsg <level> <msg> - outputs debug messages controlled by the eventscripts_debug level and the eventscripts_debuglog setting.
* Added es_forcevalue <var> <value> - attempts to force a variable to a particular value without triggering notifies, etc. Useful for sv_cheats.
* Added es_createbot <name> - adds a fake client to the server.
* Added es_fadevolume <userid> <percent> <fadetime> <holdtime> <fadeintime> - deafens a player
* Added es_lightstyle <stylenum> <stylestring> - I still don't know how to tweak this, but it's likely the same as what ES_Tools provides
* Added es_botsetvalue <userid> <convar-name> "<convar-value>" - set a variable for a bot
* Added es_stringtable <tablename> <string> - useful for adding data to one of the many server/client stringtables
* Added es_dumpstringtables - outputs the current stringtables to console
* Added es_stopsound <userid> <soundname>
* Added es_getgame <variable> - returns the name of the current game
* Added es_usermsg command:
** es_usermsg create <name> <msgtype>
** es_usermsg write <type> <value>
** es_usermsg send <name> <userid>
** es_usermsg delete <name>
* Added es_dumpusermessages - outputs the names and indexes for the current known usermessages
* corelib commands:
** Added downloadable <path-to-file> - marks a file as downloadable (uses es_stringtable) - TODO
** Added cheatexec <userid> "<command>" - sends a command to a user but allows it if it's a cheat command
** Added getplayerinfo <var> <userid> <setting> - quick lookup of a value for a user out of es_createplayerlist structure.
* Added es_popup.txt to the distribution package. Introduces:
** popup create <name>
** popup addline <name> <text>
** popup submenu <name> <user-selection> <submenu-name>
** popup menuselect <name> <block-name>
** popup select <name> <user-selection> <block-name>
** popup timeout <name> send <duration>
** popup timeout <name> view <duration>
** popup send <name> <recip-specifier>
** popup isqueued <popupname> <variable> <userid>
** popup unsendname <name> <recip-specifier
** popup delete <name>
New variables:
* eventscripts_maxmsg - controls the user message number for each gametype. 28 is used for CS:S.
Fixes:
* Fixed bug with eventscripts_debug where it could crash when used with es_format.
* Slight improvement in performance in corelib commands