ISXWoW:Me (Top-Level Object)

From ISMods Wiki

Contents

Description

Retrieves the active player object.

Forms

Examples

When typed in the console this example will echo your characters name to the console.

    echo ${Me} 

In this example we check if we are a druid character and then check if we currently have the buff 'Thorns', if not then we target ourself and cast it.

    if ${Me.Class.Equal[Druid]}
    {
         ;Do some druid stuff
         if ${Me.Buff[Thorns](exists)}
         {
              Target ${Me.GUID}
              cast "Thorns"
         }
    }

See Also