digital
Posted: Sat Jul 16, 2005 2:09 am
Hey digital could you help me fix the RH macro? or post an updates version? or someone that has it??
Need to talk about MacroQuest to other MacroQuest users?
https://mq64.org/phpBB3/
Replaced all,it returns error ...Or not,Cant escape,cant nimble...Farewell !!!In order to fix the RH.mac you need to go in and change all the
Code:
} Else /if (${Varible}) }
To a format that will work with the current version of MQ2, Like this
Code:
} Else {
/if (${Varible})
}
im getting an error saying could not find command to parce? and before i changed it.. to this it said found another subroutine? any suggestion... i changed what u guys said to new format.../if (${doChicken} && (${Me.PctHPs}<=${nimblehealth}) && !${chickentimer})
{
Code: Select all
Sub Event_SetDisc2(string Line)
/varset lastevent Event_SetDisc2
/if (${Line.Arg[3].Equal[OFF]}) {
/varset doDisc2 FALSE
/if (${verbosity}>=0) /${channel} ** Autodisc #2 is now OFF!
[color=red]} else /if (${Line.Arg[3].Equal[ON]}) {[/color]
/varset doDisc2 TRUE
/if (${verbosity}>=0) /${channel} ** Autodisc #2 is now ON!
} else {
/varset doDisc2 TRUE
/if (${Line.Arg[3].Length}) /varset disc2 ${Line.Arg[3]}
/if (${Line.Arg[4]} > 0) /varset disc2end ${Line.Arg[4]}
/if (${Line.Arg[5]} > 0) /varset disc2reuse ${Line.Arg[5]}
/if (${verbosity}>=0) /${channel} ** Auto Disc #2: ${doDisc2} -> ${disc2}/${disc2reuse} mins - End: ${disc2end}
}
/ini "RHSettings.ini" "General" "AutoDisc2" "${doDisc2}"
/ini "RHSettings.ini" "General" "Disc2" "${disc2}"
/ini "RHSettings.ini" "General" "Disc2Endurance" "${disc2end}"
/ini "RHSettings.ini" "General" "Disc2Reuse" "${disc2reuse}"
/return
Code: Select all
Sub Event_SetDisc2(string Line)
/varset lastevent Event_SetDisc2
/if (${Line.Arg[3].Equal[OFF]}) {
/varset doDisc2 FALSE
/if (${verbosity}>=0) /${channel} ** Autodisc #2 is now OFF!
[color=red]} else {
/if (${Line.Arg[3].Equal[ON]}) { [/color]
/varset doDisc2 TRUE
/if (${verbosity}>=0) /${channel} ** Autodisc #2 is now ON!
} else {
/varset doDisc2 TRUE
/if (${Line.Arg[3].Length}) /varset disc2 ${Line.Arg[3]}
/if (${Line.Arg[4]} > 0) /varset disc2end ${Line.Arg[4]}
/if (${Line.Arg[5]} > 0) /varset disc2reuse ${Line.Arg[5]}
/if (${verbosity}>=0) /${channel} ** Auto Disc #2: ${doDisc2} -> ${disc2}/${disc2reuse} mins - End: ${disc2end}
}
[color=red]}[/color]
/ini "RHSettings.ini" "General" "AutoDisc2" "${doDisc2}"
/ini "RHSettings.ini" "General" "Disc2" "${disc2}"
/ini "RHSettings.ini" "General" "Disc2Endurance" "${disc2end}"
/ini "RHSettings.ini" "General" "Disc2Reuse" "${disc2reuse}"
/return
Don't be so lazy. Learn a little and do it yourself. This is a very easy fix. The very basics of any program languageethelby wrote:So... you wanna post your working copy so we don't all have to make the same changes? Please? :)
Code: Select all
} ELSE {
/IF (conditions) {
}
}
Code: Select all
/varset failed, variable 'dynclose' not found
rh.mac@254 (Main): /if ($(ini[THSettings.ini, General,DynamicCloseness.NotEqual[NULL]}) /varset dynclose $(Ini[RHSettings.ini,General,DynamicCloseness]} Check to see if its declared in the /delcare sectionkeichii12 wrote:Been messing around with this, and I've got it to start just fine, but after the first time I attack it stops responding. I also get the error:
I could still change the closeness and toggle dynclose, but still would stop responding after the first time attack was turned off.Code: Select all
/varset failed, variable 'dynclose' not found rh.mac@254 (Main): /if ($(ini[THSettings.ini, General,DynamicCloseness.NotEqual[NULL]}) /varset dynclose $(Ini[RHSettings.ini,General,DynamicCloseness]}