sending literals through eqbc?

aCunningGnome

Bomb Defusal Specialist
Joined
Jan 21, 2007
Messages
440
Reaction score
0
Points
0
Location
atl, ga
I'm trying to send this command through eqbc

/bct toonname //if (!${Me.Invis}) /itemnotify ${FindItem["Cloudy Potion"].InvSlot} rightmouseup

Basically, I want to send a command that will invis him. The problem is, MQ2 evaluates the variables where the command is sent from: IE, it checks if the host character is invis, and it uses his item slot for Cloudy Potions (which is the incorrect slot for toonname)

Any help? Thanks !
 
/bct name //noparse /if (!${Me.Invis}) /itemnotify ${FindItem["Cloudy Potion"].InvSlot} rightmouseup
 
I've always done it by putting a \ between the $ and { like my hot key for finding out how many Banked AA's everyone has:
Code:
/bcaa //bc AA's: $\{Me.AAPoints}
I think that will work for what you are doing too.
 
Thanks ! I think I tried the noparse earlier to no avail. I'll try both when I get back home.
 
I've always done it by putting a \ between the $ and { like my hot key for finding out how many Banked AA's everyone has:
Code:
/bcaa //bc AA's: $\{Me.AAPoints}
I think that will work for what you are doing too.

This is the right way, think its in the wiki someplace.
 
Thanks. I should have just guessed the \. That works.

Could /noparse work in a situation like this (just in curiosity)?

And I can't find any mention of \ in the wiki. Could we add it under the mq2eqbc? There's also no exclusive page for noparse. I'd be glad to add them but I'm too lowly.
 
Thanks. I should have just guessed the \. That works.

Could /noparse work in a situation like this (just in curiosity)?

And I can't find any mention of \ in the wiki. Could we add it under the mq2eqbc? There's also no exclusive page for noparse. I'd be glad to add them but I'm too lowly.

You should be able to add to the wiki, just need to log in. its funky.

It might be on the MQ2.com wiki for eqbc
 
Thanks. I should have just guessed the \. That works.

Could /noparse work in a situation like this (just in curiosity)?

And I can't find any mention of \ in the wiki. Could we add it under the mq2eqbc? There's also no exclusive page for noparse. I'd be glad to add them but I'm too lowly.

Yes /noparse will work in this situation and is generally what I use. Pete just has it in the wrong spot. You'd want /noparse to be the very first thing you type in:

/noparse /bct //if (!${Me.Invis}) /itemnotify ${FindItem["Cloudy Potion"].InvSlot} rightmouseup
 
oh right. start command with noparse. my bad. though you forgot the name portion


/noparse /bct name //if (!${Me.Invis}) /itemnotify ${FindItem["Cloudy Potion"].InvSlot} rightmouseup
 
Thanks. I should have just guessed the \. That works.

Could /noparse work in a situation like this (just in curiosity)?

And I can't find any mention of \ in the wiki. Could we add it under the mq2eqbc? There's also no exclusive page for noparse. I'd be glad to add them but I'm too lowly.
/noparse is at: http://www.macroquest2.com/wiki/index.php/Noparse

Also, while I guess it could be specifically mentioned elsewhere, it is in the wiki:
http://www.macroquest2.com/wiki/index.php/MQ2EQBC

Using noparse to get MQData with bca & bcaa (one day this will be fixed):
/noparse /bcaa //bc I am ${Me.PctExp} into ${Me.Level}</pre>
Taking advantage of escape characters instead of noparse (only works with /bct at this time):

/bct Mycleric //bc I am level $\{Me.Level}

I haven't tested to see how accurate the comments in the wiki are, such as 'one day this will be fixed', or 'only works with /bct at this time'.

htw

</pre>