Addon Details

Watch - Add Favorite


ESS Objects ScreenShot

Does this version work for you?
9
w00ts
w00t!2

ESS Objects - Version 1.0

posted on 2008-07-03 10:58:15
by Jeff91



Description

ESS Objects - Written By: J3ff Hoogland Used to make ESS a bit more like python for Classic scripters Allows for "passing arguments" into blocks Command Syntax: def -block- [arg1] [arg2] ... [argX] [syntax="es"]//An example of how to use ESS Objects block load { //The first argument is the block name you want to call //Each argument after the first is the name of the server var passed info will be set to def SCRIPTNAME/send_health userid health } event player_say { if (event_var(text) == "my health") do { //To call it you then just call the block name and list the args after it //Also note the es prefix as this does not auto-expand Vars es SCRIPTNAME/send_health event_var(userid) event_var(es_userhealth) } } block send_health //Syntax: SCRIPTNAME/send_health -userid- -health- { es_tell server_var(userid) you have server_var(health) health remaining! }[/syntax]

Version Notes For 1.0

Updated on: 2008-11-06 18:35:20 EST by Jeff91 (View Zip Contents)
Added the line import es and fixed the example (had health instead of es_userhealth)

( Previous Versions )