Failed to parse /if ... help plz get this in every macro

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

mauroxx
orc pawn
orc pawn
Posts: 24
Joined: Mon Jan 31, 2005 5:23 am

Failed to parse /if ... help plz get this in every macro

Post by mauroxx » Thu Feb 03, 2005 7:30 am

i keep getting an error on if clauses like

Code: Select all

/if (${Defined[Param0]}){ 
 /target ${param0} 
 } else { 
 /echo No target specified, please specify one 
 /endmacro 
 } 
and i get :
Failed to parse /if ..... couldnt find command to execute... can anyone help?

Mauroxx

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Feb 03, 2005 7:44 am

Did you try formatting it correctly? Theres no space between the ) and the { in your /if line...
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:03 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:04 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:41 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:42 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:43 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:44 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 9:46 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:23 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:24 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:25 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:26 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:27 pm


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

Re: Failed to parse /if ... help plz get this in every macro

Post by xyilla » Sat Apr 05, 2025 10:28 pm