Results 1 to 3 of 3

Thread: Need Script

  1. #1
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5

    Need Script

    if monster (target) healed go to label + stop targeting + put stealth ring
    if exura gran mas res go to label + stop targeting + put stealth ring
    if MY CHARACTER MAKE PK (dont know how it is possible but,) then Closetibia + stop targeting + put stealth ring

    please if some1 are so skilled to do haha ; d
    Last edited by Crimewave; 10-31-2012 at 08:08 AM.

  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 MESSAGES getnewmessages("Local Chat")
    local MESSAGES_QUANTITY MESSAGES.count 1
    local MESSAGES1 
    getnewmessages("Server Log"
    local MESSAGES1_QUANTITY MESSAGES1.count 

    for INDEX 0MESSAGES_QUANTITY do
        if (
    MESSAGES[MESSAGES_QUANTITY INDEX].text:find("exura gran mas res")) then
            settargeting
    ("no"wait(100)
            
    stopattack() wait(100)
            
    moveitems("stealth ring","all","ring",1wait(100)
            
    gotolabel("LABEL"wait(100)
        
    end
    end

    for INDEX 0MESSAGES1_QUANTITY do 
        if ((
    MESSAGES1[MESSAGES1_QUANTITY INDEX].text:find(".+ was healed by .+ for .+ hitpoints."))) then 
            settargeting
    ("no"wait(100)
            
    stopattack() wait(100)
            
    moveitems("stealth ring","all","ring",1wait(100)
            
    gotolabel("LABEL"wait(100)
        elseif ((
    MESSAGES1[MESSAGES1_QUANTITY INDEX].text:find("Warning! Whe murder of (.+) was not justified"))) then 
            settargeting
    ("no"wait(100)
            
    stopattack() wait(100)
            
    moveitems("stealth ring","all","ring",1wait(100)
            
    closetibia()
        
    end 
    end 
    Last edited by soder; 10-31-2012 at 11:50 AM.

  3. #3
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5
    very good job

Posting Permissions

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