Es.keygroupsave

From EventScripts Community Encyclopedia



Method: keygroupsave

Module: es
Class: (no class)
EventScripts version: 2.0

Method Overview

Table of Contents

Contents


Description

Saves a keygroup from memory to disk.

Arguments

  • Keygroup - Name of the keygroup you wish to load into memory.
  • [Location] - Location (relative to cfg/events/) of the file you wish to load.


Examples

# modname: test.py
 
# Saves to /cstrike/cfg/es_players_db.txt
es.keygroupsave("players")
 
# NOTE: This does not work, however it should, most likely a bug in eventscripts
# Should save to /cstrike/cfg/events/bgg/es_players_db.txt
es.keygroupsave("players","bgg")
 
# Saves to /cstrike/addons/eventscripts/<PLUGIN>/es_players_db.txt
# In this case, <PLUGIN> would be replaced with test
es.keygroupsave("players","|test")

Notes


See Also

blog comments powered by Disqus