Results 1 to 4 of 4

Thread: Help me with this action, please!

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5

    Question Help me with this action, please!

    Im making a script that will log in several characters from the same account, get an specif item and go back to depot.
    Im using a high level character to block the monsters spawn while the account with low level character grab the item i need.
    I made the script with the bot dropping the item in front of my high level character, right after grabbing it, So there is no risk of the low level char diyng on the way and lose the item.

    However i thought it would be better if i could choose btween drop or not the item, but nothing i tried is working! can anyone help me?

    Here's what i've made so far:
    On setup:
    PHP Code:
    --Drop Item?
    dropItem false 
    On cavebot waypoints(right after get the item):
    PHP Code:
    if dropItem == true then
        gotolabel
    ('droparItem')
    elseif
    gotolabel('w048')
    end 
    So... idk if i made something wrong (im learning yet) but the bot does not obbey these commands. he always drops the items...
    I think there is something wrong with the sintaxis but i really dont know what.
    Help me please!

  2. #2
    iBot User Canu13's Avatar
    Join Date
    Nov 2012
    Location
    Barcelona
    Posts
    273
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    39
    Rep Power
    5
    If you don't put any condition it must be else, not elseif
    Lua Code:
    if dropItem == true then 
        gotolabel('droparItem') 
    else
    gotolabel('w048') 
    end

    Eli Scripts Last Releases Vocation
    New Water Elemental ED - MS
    Glooth Bandits x3 ED - MS
    Meriana Gargoyle Cave ED - MS
    Glooth Bandits x2 ED-MS

  3. #3
    iBot User
    Join Date
    Dec 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks dude!
    ill try it later and post a feedback

  4. #4
    iBot User
    Join Date
    Dec 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    sorry not coming here earlier but just had time now!
    It worked well! thank you very much!

Posting Permissions

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