Page 1 of 1

can i print the name of the file I'm importing?

Posted: Wed Dec 28, 2016 11:52 am
by David1234
Hello ,
let say I have a file called changes.rsc
what do I need to do in the script itself to make it print in the logs that I run this script ?

is it even possiable?

Thanks ,

Re: can i print the name of the file I'm importing?

Posted: Wed Dec 28, 2016 12:15 pm
by Dude2048
:log info "Whatever you want"

Re: can i print the name of the file I'm importing?

Posted: Wed Dec 28, 2016 12:30 pm
by David1234
really?????
why didn't I think about it :? :?

I want it to take the name of the file and print it without me writing it

so if the file name is "changes1.rsc"
when I run
/import file name=changes1.rsc
he will print me changes1.rsc

and if i will change the name to changes2
I don't have to do nothing in the file itself ...