Results 1 to 3 of 3

Thread: Send msg to makker and , go to especifc label

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

    Send msg to makker and , go to especifc label

    Example:


    I botting in my makker, and play in my main...

    i look my makker in bad situation, i send msg to my makker from my main char, one especifc word, and my makker go to depot, or eespecifc label....


    i need this...

  2. #2
    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
    Maybe try something like that.

    PHP Code:
    local msgs getnewmessages("Local Chat")
    local qtd msgs.count-
    local word 
    "words"

    for i=0,qtd do 
        if 
    msgs[qtd].text:find(wordthen 
        wait 
    (3001200)
        
    local msgs getnewmessages("Local Chat")
        
    gotolabel("label 1")
        
    end 
    end 

  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
    PHP Code:
    local MESSAGES getnewmessages("Local Chat")
    local MESSAGES_QUANTITY MESSAGES.count 1
    local SENTENCE 
    "refill now" -- word/sentence to say
    local LABEL 
    "refill" -- label to go to

    for INDEX 0MESSAGES_QUANTITY do
        if (
    MESSAGES[MESSAGES_QUANTITY INDEX].text:find(SENTENCE)) then
            gotolabel
    (LABEL)
        
    end
    end 

Posting Permissions

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