Forum
![>](img/i_next.png)
![>](img/icons/stranded2.png)
![>](img/i_next.png)
![>](img/i_next.png)
what is the script ?
11 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
![s2 cmd](img/i_codehelp.png)
![s2 cmd](img/i_codehelp.png)
Write your script here and we can help you.
![](img/smiles/wink.gif)
1
ai_stay 100;
You can also replace the id with the parameter "self" if you´re using the script of the unit you want to stay.
If you want to deactivate the command you have to change the modus to 0.
Then it looks like that:
1
ai_stay 100,0;
Please check your script carefully before you´re posting it. Even if you´re a beginner it´s not difficult
![](img/smiles/wink.gif)
Use the command
![s2 cmd](img/i_codehelp.png)
![s2 cmd](img/i_codehelp.png)
![s2 cmd](img/i_codehelp.png)
![](img/smiles/wink.gif)
Write a script for the fence wit on:use, use an
![s2 cmd](img/i_codehelp.png)
![s2 cmd](img/i_codehelp.png)
Use the command
![s2 cmd](img/i_codehelp.png)
If you can achieve this you could improve the look of it with several options.
script:if:playergotitem {
free "objects",183 [,1]
}
but not work !
![user](img/i_friend.png)
![](img/smiles/smile.gif)
![](img/smiles/smile.gif)
Admin/mod comment
Quote removed /![user](img/i_friend.png)
![user](img/i_friend.png)
![](img/smiles/wink.gif)
Here is a scripting tutorial. Read it first if you want to script something.
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)