Results 1 to 5 of 5

Thread: MESSAGE TO GUILD CHAT if x player log on

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

    MESSAGE TO GUILD CHAT if x player log on

    I got an idea

    when a person is to log into the game

    My character sends message to guildchat?

    example

    if player xxx logged in.

    send msg on guild chat "enemy loged in xxx"

    have ideia to action ?

    tnx

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    I dont think there is support to switch to guild chat window.

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    yor try use this in otder post if pk

    if underattack('p') then say("I'm botting and someone is trying to pk me", "Guild Channel name") end

    hnn
    if in server log new msg set

    xxx logedin

    he go to guild char and past
    xxx logedin

    undertand ?

    I do not know a lot of action

    k I remember that when he saw a message that "xxx healed the monsters HP xx"
    he played alarm

    would not take this role?

  4. #4
    iBot User
    Join Date
    Aug 2013
    Posts
    70
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    27 Post(s)
    Reputation
    29
    Rep Power
    4
    See if this works.
    PHP Code:
    local WARN_PLAYERS = {"Enemy1name""Enemy2name"}
    local textToSay = ("Enemy1name or Enemy2name has loged!")

    for 
    1#WARN_PLAYERS do
        
    if isviponline(WARN_PLAYERS[i]) then
            say
    (textToSay"GuildChatname"wait(20000)
        
    end
    end 
    Dont forget to input the desired enemy names.

  5. #5
    iBot User
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    wo work

    thankx

Posting Permissions

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