It seems weird to me asking this question. What is /exec command for? What is it's purpose?
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))
With /exec you execute squireill code. Like /exec FindPlayer("umar").Health = 0 .
Mostly the exec command is used to execute squirrel code using the compilestring function.
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.
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
So how to disable /exec
Quote from: Kenneth Law on Mar 26, 2019, 01:15 PMSo how to disable /exec
remove the code from script