Es.commandv

From EventScripts Community Encyclopedia
This article is a stub. Please help by adding to it.



Method: commandv

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

Method Overview

Table of Contents

Contents


Description

Executes what is in the variable as a command. This is the Python equivalent of: http://www.eventscripts.com/pages/es_commandv

Arguments

  • variable - Whatever this variable is set to is what will be executed as a command


Examples

def player_say(event_var):
    msg = "es_msg Hello"
    if event_var["text"] == "hello":
        es.commandv(msg)

Notes

  • Doesn't expand anything in the variable.


See Also

Forum search for Es_commandv

blog comments powered by Disqus