Results 1 to 3 of 3

Thread: [Request] Say X if Y

  1. #1
    Normal User Sahar's Avatar
    Join Date
    Sep 2012
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    7

    [Request] Say X if Y

    Hello, I need an action that if CM / GM speaks, no matter what he says, I will say "X" and stop all functions of bot. If someone could help me out, I will be thanksful

  2. #2
    Normal User Sahar's Avatar
    Join Date
    Sep 2012
    Posts
    1,018
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    7
    soder? someone else?

  3. #3
    iBot User
    Join Date
    May 2012
    Location
    Spain
    Posts
    213
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    15 Post(s)
    Reputation
    32
    Rep Power
    5
    take it, idk if it will work because I cannot test it if not gm comes ;p

    PHP Code:
    local MESSAGES getnewmessages("Local Chat"
    local MESSAGES_QUANTITY MESSAGES.count-
    local PROBLEMS 
    "CM"
    local WHATSAYTONOTFUCKOFF 'what you wanna say'
     
    for i=0,MESSAGES_QUANTITY
    do 
       
    local MSG MESSAGES[i].text
       local MSG_SENDER 
    MESSAGES[i].sender:lower()
       
       if 
    MSG_SENDER == (PROBLEMS..' .+'):lower()  
       
    then
           settargeting
    ('no')
           
    setcavebot('no')
           
    stopattack()
           
    wait(100,300)
           
    say('Local Chat'WHATSAYTONOTFUCKOFF)
           
    wait(1000)
           
    setsettings('Settings\\Actions\\List\\NameOfAction\\Enabled''No')
       
    end  
    end 
    Regards, NWA
    Regards, NWA

Posting Permissions

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