Results 1 to 5 of 5

Thread: Help Action Script

  1. #1
    Normal User fernandon's Avatar
    Join Date
    Feb 2012
    Location
    Goiânia - GO / BRAZIL
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Help Action Script

    Hello, i need an action to put sword ring at X monster on screen.
    Thanks, awaiting answers.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    PHP Code:
    local CREATURES = {"Dragon","Dragon Lord"}

    if (
    maround(7,false,unpack(CREATURES)) >= 1) and (itemcount("sword ring") > 0) and (ring == 0then
        moveitems
    ("sword ring","all","ring",1)
    elseif (
    maround(7,false,unpack(CREATURES)) == 0) and (ring ~= 0then
        moveitems
    (ring,"ring","all",1)
    end 
    Last edited by soder; 10-22-2012 at 09:56 PM.

  3. #3
    Normal User fernandon's Avatar
    Join Date
    Feb 2012
    Location
    Goiânia - GO / BRAZIL
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks soder

    but he's putting the ring, but then not strip =s some solution?

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by fernandon View Post
    thanks soder

    but he's putting the ring, but then not strip =s some solution?
    My bad, updated previous action.

  5. #5
    Normal User fernandon's Avatar
    Join Date
    Feb 2012
    Location
    Goiânia - GO / BRAZIL
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Its work 100% !! Thanks, sorry for the confusion.

Posting Permissions

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