New /if using && and || and problem with Cannibalize

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

New /if using && and || and problem with Cannibalize

Post by SingleServing » Wed Dec 18, 2002 8:42 pm

I have attempted to write a macro with a statement like....

Code: Select all

/if $char(mana,pct)<=80&&$char(hp,pct)>=80 /call cast "Cannibalize"

The above code did not function correctly however

Code: Select all

/if $char(mana,pct)<=80 /if $char(hp,pct)>=80 /call cast "cannibalize" 

Worked fine, any suggestions? I assume it is syntax, however this use is not listen in the readme file :cry:


Also, I am unable to memorize "Cannibalize II"

I have tried using 2 uppercase i's, 2 lower case L's and "McMerrin's Feast"(sp) without success. I have also used $char(gem,1) and macroquest printed "Cannibalize II" yet no luck. Any suggestions?

Note: The scroll and spell have different names

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Wed Dec 18, 2002 9:37 pm

Salutations,
first off, did you add this to your code and compile it in order to get the ability to use && and ||. if you did... then your code shouldn't be...

Code: Select all

/if $char(mana,pct)<=80 && $char(hp,pct)>=80 /call cast "cannibalize"
not

Code: Select all

/if $char(mana,pct)<=80&&$char(hp,pct)>=80 /call cast "cannibalize"

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

Bad spell

Post by SingleServing » Sat Dec 28, 2002 1:52 pm

I am unable to memorize "Cannibalize II"

I have tried using 2 uppercase i's, 2 lower case L's and "McMerrin's Feast"(sp) without success. I have also used $char(gem,1) and macroquest printed "Cannibalize II" yet no luck.

Any suggestions?
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]