Cmd Help /exec

Started by umar4911, Jun 14, 2018, 05:11 PM

Previous topic - Next topic

umar4911

It seems weird to me asking this question. What is /exec command for? What is it's purpose?
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

UrbanY

Quote from: umar4911 on Jun 14, 2018, 05:11 PMIt seems weird to me asking this question. What is /exec command for? What is it's purpose?
The cmds / exe It has as a job Execute all the functions that the server has for example function onPlayerJoin (player, user) immediately the server loads that function or for example in the local db q = QuerySQL (db, "SELECT * FROM Admins WHERE Name = 'UrbanY' "); MessagePlayer (GetSQLColumnData (q, 0))

NicusorN5

With /exec you execute squireill code. Like /exec FindPlayer("umar").Health = 0 .

Xmair

Mostly the exec command is used to execute squirrel code using the compilestring function.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

[KM]Helathien

It is used to execute functions.
The most Easy Example of which is,
/exec Message( "[INFO]Your Message Here" )

And it will send message.
You Can also execute custom function made by you.
Feel free to PM me for any help.
If I am not available on the forum come to VKs Official Server I am usually there.

umar4911

Quote from: Helathien on Jun 20, 2018, 07:27 PMIt is used to execute functions.
The most Easy Example of which is,
/exec Message( "[INFO]Your Message Here" )

And it will send message.
You Can also execute custom function made by you.
I already solved it. Btw thanks
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

Kenneth Law

So how to disable /exec

umar4911

RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter