1 (edited by mkjol 2016-06-16 10:44:05)

Topic: .cfg problem

Hello!
I want to ask you guys is there any way to make in .cfg file time break?
I mean I have created .cfg file to exec it in game to faster login and load some upgrades (at city mod server)
But theres a problem.
My .cfg look like that:

say "/login <username> <password>"
say "/ninja
say "/medic
say "/left
say "/right

And theres a problem
Client executing file too fast and can't execute those upgrades because i'm still not logged in (it takes time)
And again, my question is how I supposed to make "pause" between     "say "/login <username> <password>"" and other upgrades?
Please help.

2

Re: .cfg problem

What about putting this in a new .cfg (lets call this cmd.cfg), put it in the folder where your settings.cfg is located, then either call the new cfg file or bind it to a key
f1 -> exec cmd.cfg
This will execute cmd.cfg thus running your commands.
There is no sleep function as far as I know.

If this is still too fast, create a single bind for the login and then a new one for all the other things.

privet

3

Re: .cfg problem

mkjol wrote:

And again, my question is how I supposed to make "pause" between     "say "/login <username> <password>"" and other upgrades?

To directly answer your question: There's nothing that can pause the execution of a bind for some time.

4 (edited by KillerGod 2016-08-28 21:58:39)

Re: .cfg problem

hi! i know that this is old but:
step 1- make a cfg file named lol.cfg with
something like this

say /login mkjol and your password
exec upgrades.cfg

step 2- make another cfg file named upgrades.cfg and add everything

say /medic
say /ninja
and what ever you want

step 3- when on game: f1 -> and write: exec lol.cfg
then the console will exec lol.cfg
that will log in and then the same file will exec automatically the upgrades.cfg

try with that.
:3

If you need money do not call me #Purple My Color#

5

Re: .cfg problem

KillerGod wrote:

hi! i know that this is old but:
step 1- make a cfg file named lol.cfg with
something like this

say /login mkjol and your password
exec upgrades.cfg

step 2- make another cfg file named upgrades.cfg and add everything

say /medic
say /ninja
and what ever you want

step 3- when on game: f1 -> and write: exec lol.cfg
then the console will exec lol.cfg
that will log in and then the same file will exec automatically the upgrades.cfg

try with that.
:3

Its my idea KillerGod wink
Someone told you that