Sign in to follow this  
Followers 0
TheMeq

escaping \n which isn't a newline

7 posts in this topic

Hi All, if I have a battleye filter i need to add but it contains a file path like the following (not a real filter)

#50 "ile path = {"file\on\the\network.sqf"} "

How would this be escaped correctly? as \n shouldn't be a newline. 

would my filter be formatted: 

"ile path = {\"file\on\the\\network.sqf\"}"

or

""ile path = {"file\on\the\network.sqf"}""

This would be super useful to know. Thanks.

Share this post


Link to post
Share on other sites
Advertisement

haha xD I can't tell if <sarcastic> or not lol.

I don't have an actual case involving this, It just something I would like to implement into BEM so that it formats them correctly. 

Share this post


Link to post
Share on other sites
"ile path = {\"file\\on\\the\\network.sqf\"} "

looking goood

1 person likes this

Share this post


Link to post
Share on other sites

Sweet, thanks Infistar, I'll rollout an update for BEM that fixes this.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.