2023-05-21: Yes, we're back. No, you can't login yet

Eval

Uploaded by Jes00

The add-on board icon. Server Mods
The add-on file name icon. Server_Eval.zip
The add-on upload date icon. Jul 20th 2019, 11:17 PM
The add-on download count icon. 1,026

Description

Use the console/Torquescript in the server chat using the $ symbol(default). Comes with some shortened functions. A raycast is also fired whenever you use eval and some useful variables are added in so that you don't have to type as much. Eval is host-only but can be used by super admins also if you wish. There are a couple of things to block eval from being disabled with eval, but you probably still can if you really try. Any time eval is used the code is broadcasted to the whole server in the chat, as well as in the console.

Never set $Eval::SuperAdmin to true unless you absolutely 100% trust your super admins!!!

You can use /evalHelp, $help(default), or check the description.txt file for help. Included things: $Eval::Symbol - Symbol(s) used to perform eval. Can be any length. $Eval::SuperAdmin - Wether or not super admins can use eval. fcbn(%name); - Find client by name shortened. findPlayerByName(%name);- Find player by name. fpbn(%name); - Find player by name shortened. clearConsole(); - Adds whitespace to the bottom of the console. colorTest(); - Shows you the \c# colors in the console. %client, %cl, %me - Your client object. %player, %pl - Your player object. %hitObj - Object hit by a raycast fired when you use eval. %hitData - Datablock of the thing your raycast hit. %hitPos - Position where your raycast hit. %hitDist - Distance from you to where your raycast hit. %hitNorm - Normal where your raycast hit. $Eval::Range - Range of raycast fired. $Eval::Typemasks - Typemasks for raycast fired.

Comments (1)

velvet
2020-02-10 19:42:37
impanda wants to know your location