Quick Questiom

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

Moderator: MacroQuest Developers

rishid
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Feb 17, 2003 11:49 am

Quick Questiom

Post by rishid » Fri Feb 21, 2003 2:19 am

Code: Select all

   
| Check if target was sender (me alias) or senders target (target alias) and target it 
   /mqlog $p3 
    
   /if "$p3"=="me" { 
      /mqlog target "$p0" 
      /target "$p0" 
   } else /if "$p3"=="target" { 
      /mqlog target id "$p1" 
      /target id "$p1" 
   } else { 
      /mqlog target "$p3" 
      /target "$p3" 
   } 
How could I add if $p3 wasn't specified then do so and so.
RishiD

Vendor001
Cheezily Banned
Cheezily Banned
Posts: 78
Joined: Wed Nov 13, 2002 1:37 pm

Post by Vendor001 » Fri Feb 21, 2003 6:17 pm

Code: Select all

/if "$p3"=="" /dosoandso?