Help with "call"

Raven434

Member
I have a script named 'Impromptu Buffs.txt'.

From the CLI, I would like to execute it 3 times.

I have tried various iterations of:

> call 3 impromptu buffs.txt
No available namespace with function: 3

> call [3] impromptu buffs.txt
No available namespace with function: [3]

> help call
call [numberx] filename | function [parameters] - check/run script.

Any hints? ;-)

Thanks!
 

Bale

Minion
call doesn't take a numerical parameter. All you can do is this:

call impromptu buffs.txt; call impromptu buffs.txt; call impromptu buffs.txt;
 

Veracity

Developer
Staff member
Looking at the code, it does accept a count - and the help string tells you the syntax. It's weird, so perhaps the help was a little too subtle. ;)

Code:
call [<number>x] <filename> | <function> [<parameters>]

See that little "x" there? Yes indeed. Try:

call 3x impromptu buffs.txt
 

Raven434

Member
Looking at the code, it does accept a count - and the help string tells you the syntax. It's weird, so perhaps the help was a little too subtle. ;)

LOL - I never for a second thought it was a literal "x".

Hahahahahaha!

/me buys Veracity a beer!
 
Top