Signup Now
Results 1 to 2 of 2

Thread: Guild allarm

  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    32
    Reputation
    10
    Rep Power
    0

    Guild allarm

    i need if someone come from guild "x" then allarm

  2. #2
    Free User blakw's Avatar
    Join Date
    Dec 2013
    Posts
    2,670
    Reputation
    73
    Rep Power
    26

    init start
    local safeList = {"blakw", "seebaa"} --Player Safe List
    local yourCharName = "Your Char Name"
    local enemyGuild = "Enemy Guild Name"
    local msgDelay = 2500 --Delay between messages
    local playerMinLevel = 10 --Consider only players above level 10
    local seenList = {}
    table.lower(safeList)
    init end

    auto(500, 800)
    foreach creature p "psx"
    do
    if (not table.find(seenList, p.name:lower())) and (not table.find(safeList, p.name:lower()) and (getplayerinfo(p.name).level >= playerMinLevel) and (getplayerinfo(p.name).guild == enemyGuild))
    then
    playsound('playeronscreen.wav')
    say("*" ..yourCharName.. "* " .. p.name .. " (Lvl " .. getplayerinfo(p.name).level .. ", " .. getplayerinfo(p.name).guild .. ") is on screen.")
    table.insert(seenList, p.name:lower())
    wait(msgDelay)
    end
    end


    To identify the player info you must first look at him (shift+mouse click), or add the player info manually in the Relations lists table, in Navigation tab.


    Visit:
    (◣_◢)

 

 

Posting Permissions

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