Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Mar 2015
    Posts
    6
    Reputation
    10
    Rep Power
    0

    variable nome of my chracter

    Hello, i need a variable to make this
    if character name is (NAME) then
    action to this char
    else
    action to other characters
    end

    i used this
    if ($name == 'character') then
    action 1
    else
    action 2
    end

    but dont work

  2. #2
    Free User Diaxy's Avatar
    Join Date
    Jul 2014
    Posts
    1,091
    Reputation
    94
    Rep Power
    22
    This should work, plase post full action.

  3. #3
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,670
    Reputation
    73
    Rep Power
    26
    @WillzWayn character name must be case-sensitive like:

    if $name == "Eternal Oblivion"
    then
    action 1
    else
    action 2
    end


    Visit:
    (◣_◢)

 

 

Posting Permissions

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