[TC] Gaming Forums

Full Version: SCRIPT FAIL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys i tried to make script to switch on !follow and to say to follow me (i know noone will listen but nvm)

https://drive.google.com/open?id=0B-ifuG...Wd6b1d5ckU

Command works but its likely ignoring second line. Sad Any help is useful.

Thanks, OneCheque
Unfortunately you can't get LFS to process two /say commands in one script. Annoying, I know.
You need to add a little delay between your first message and the second one. I usually use 550ms, try this Mary with the cmd:

/o followme

- Download: http://www.filedropper.com/showdownload.php/mary_1

Dont forget the settings.txt Wink

G'day
oh Sad
I already tried making second script but...
It says i dont have admin premissions
What Key(s) are you using? CTRL + F1? Just F1 etc?
(2017-03-21 18:48)Ash Wrote: [ -> ]What Key(s) are you using? CTRL + F1? Just F1 etc?

How you know? yep CTRL + F1

SCRIPT1
/say !follow works
/run followme works
/echo FOLLOW ME works
SCRIPT2
/echo FOLLOWME work
/say !l dear user behind. Follow me. dont work
(2017-03-21 18:50)Kisiel Wrote: [ -> ]/say !l dear user behind. Follow me. dont work

It will not work as LFS doesn't allow you to say two messages very quickly to prevent spamming.

If you used Mary before, you can use the edited version I uploaded for you in which I added the cmd: /o followme

That will do exactly what you want.

If you wanna stick with LFS Scripts, that's fine, but you need a way to freeze the script in the middle of 1st msg and the second one, for 500ms or so.

Which is apparently not possible: http://en.lfsmanual.net/wiki/Script_Guide#Commands
Technically i think it even might be possible by multiplying the last line. Just keep adding 10 or 20 at once, test and see when it pops up. Prolly the most stupid way lol. But still a possible way. The needed delay might vary from single- to multiplayer.
.....
LFS has a cooldown to send the messages and You cant set it up with scripts :/
Quote:You cant set it up with scripts :/

Thread.Sleep - Good alternative Biggrin



(2017-03-22 11:06)MariusMM Wrote: [ -> ](/o script message1%message2%message1000)

Haven't used / didn't know how that works, thx for telling :*

Quote:crawl back now pls.

What do you mean? Laugh
I think it's actually too hard for me. Biggrin
Thanks guys. Smile
I am developing [GU]Tools it actually have this thing, but for the caution sign.
When I finish the first version, it will be public Wink
You can also use Clavier+ for delays: http://forum.city-driving.co.uk/showthre...tid=21580.
Reference URL's