Results 1 to 3 of 3

Thread: Need help with this hotkey!

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5

    Need help with this hotkey!

    if underattack('p') and maround() = 0
    then
    moveitems("energy ring", "all", "ring", 1)
    wait(500)
    closetibia()
    end
    Why doesnt work?

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Cuz you're trying to say that all monsters around you are equals zero, the correct is:
    Code:
    if underattack("p") and maround() == 0 then
    	moveitems("energy ring", "all", "ring", 1)
    	wait(500, 900)
    	closetibia()
    end

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Thanks mate!

Posting Permissions

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