Results 1 to 5 of 5

Thread: Need Help with actiom

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Need Help with actiom

    Plase im new here and i just cant find this action..
    what i want is for example, if smp < 10 and enchanted spears < 5 go to X waypoint wait for battle sign and LOGOUT.
    Thanks.

  2. #2
    Normal User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    221
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    58
    Rep Power
    5
    ahhah am not sure this working :P
    PHP Code:
    local smp "Mana potion"

    if itemcount(smp) <= 10 or weaponamount <= 5 then
    gotolabel
    ("hg2")
    wait(1000,2000)
    if 
    not battlesigned then
    closetibia
    ()
    end
    end 
    Last edited by fanta91; 07-11-2013 at 08:56 PM.

  3. #3
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Better use this:
    PHP Code:
    if itemcount("Mana potion") < 10 or itemcount("enchanted spear") < 5 then
    gotolabel
    ("label")
    wait(1000,2000)
    while 
    not battlesigned do
    wait(1000,2000)
    logout()
    end
    end 

  4. #4
    Normal User
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    221
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    58
    Rep Power
    5
    if you use itemcount on spears its bad man u need to use weaponamount if not then will check in backpack if he got spears not in hes hand

    Quote Originally Posted by Eldar View Post
    Better use this:
    PHP Code:
    if itemcount("Mana potion") < 10 or itemcount("enchanted spear") < 5 then
    gotolabel
    ("label")
    wait(1000,2000)
    while 
    not battlesigned do
    wait(1000,2000)
    logout()
    end
    end 


    so use this one
    PHP Code:

    if itemcount("Mana potion") <= 10 or weaponamount <= 5 then 
    gotolabel
    ("label"
    wait(1000,2000
    while 
    not battlesigned do 
    wait(1000,2000
    logout() 
    end 
    end 
    Last edited by fanta91; 07-12-2013 at 09:16 AM.

  5. #5
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Add an updateworld()

Posting Permissions

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