Results 1 to 3 of 3

Thread: /if (${Target.Name.Equal[${Me.Name}]})

  1. Top | #1

    /if (${Target.Name.Equal[${Me.Name}]})

    Why does this work if I /echo it but not if I use it in a macro? Just trying to understand the language.

  2. Top | #2
    So old and salty he grew scales Creator (click for more info)Administrator Maskoi's Avatar
    Join Date
    Sep 2005
    Posts
    10,364
    RedCents
    55,962

    Re: /if (${Target.Name.Equal[${Me.Name}]})

    Try
    Code: 
    /if (${Target.Name.Equal[${Me}]})
    or
    Code: 
    /if (${Target.Name.Equal[${Me.CleanName}]})

  3. Top | #3

    Re: /if (${Target.Name.Equal[${Me.Name}]})

    might go numerical/integer instead
    Code: 
    /if (${Target.ID}==${Me.ID}) /echo Yeah it worked!!

  4. One user has clicked "Thanks" to reward Warl0ck45 for this post:

    ctaylor22 (10-12-2017)

Similar Threads

  1. WTB 4 Krono OR equal amount of platinum.
    By Haruspex in forum The Bazaar
    Replies: 0
    Last Post: 02-23-2016, 12:23 AM
  2. Replies: 2
    Last Post: 11-19-2014, 05:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •