Escape Character to display Percent Sign in a /alias

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Popper
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sat Jan 03, 2015 12:15 pm

Escape Character to display Percent Sign in a /alias

Post by Popper » Wed Dec 30, 2015 4:47 pm

I have setup the following alias in my MacroQuest.ini file but the percent sign at the end does not display

/allaa=/noparse /bcaa //bc ${Me.AAPointsSpent} - ${Me.AAPoints} - ${Math.Calc[${Me.AAExp}/330*100].Int}%

I can do /bc ${Math.Calc[${Me.AAExp}/330*100].Int}% and it displays the percent sign, but when I alias the command, it no longer displays

Is there an escape character that I can use or another way to display the percent sign?

demonstar55
a snow griffon
a snow griffon
Posts: 314
Joined: Fri Nov 28, 2008 6:31 am

Re: Escape Character to display Percent Sign in a /alias

Post by demonstar55 » Wed Dec 30, 2015 8:28 pm

%%

Popper
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sat Jan 03, 2015 12:15 pm

Re: Escape Character to display Percent Sign in a /alias

Post by Popper » Thu Dec 31, 2015 11:26 am

Thank you, that work wonderfully



xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Escape Character to display Percent Sign in a /alias

Post by xyilla » Sat Jan 17, 2026 4:07 pm