Results 1 to 4 of 4

Thread: [Action] Standtime > x Kill Monsters

  1. #1
    Normal User wicholost's Avatar
    Join Date
    Jun 2012
    Location
    Jamaica, Chile
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5

    [Action] Standtime > x Kill Monsters

    Hello there,

    this time ill release this code. since there's no native ways to get the information of the monsters attacking you.


    V. 1.0
    PHP Code:
    function getattckme()
        
    local cinfo _getcreatures("mfs")
        for 
    1cinfo.count do
            
    local ab b-1
            local minfoid
    minfoxminfoy cinfo[ab].idcinfo[ab].xcinfo[ab].y
            local difx
    dify posx minfoxposy minfoy
            
    if math.abs(difx) <= and math.abs(dify) <= 1 then
                
    return minfoid
            end
        end
    end
    if target.id == and standtime 20*1000 then
        local tvar 
    getattckme() or 0
        
    if tvar 0 then
            attack
    (tvar)
            
    wait(5000)
        
    end
    end 

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    5
    can someone tell me what this can do please?

  3. #3
    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 netto_ssa View Post
    can someone tell me what this can do please?
    If your standtime is over 20 seconds and there's monsters around you, this script will attack the monsters.

    @Creator, thanks for sharing :-)
    Last edited by soder; 09-17-2012 at 04:35 AM.

  4. #4
    Normal User wicholost's Avatar
    Join Date
    Jun 2012
    Location
    Jamaica, Chile
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    @up, no problem =)

Posting Permissions

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