Signup Now
Results 1 to 7 of 7

Thread: VIP script

  1. #1
    Free User
    Join Date
    Jan 2015
    Posts
    215
    Reputation
    22
    Rep Power
    19

    VIP script

    can anyone make the simple persistant if "x" player logged in vip then sound continuous alarm

    thanks a lot !

    ps. id have to keep my vip open correct?
    http://dvscripts.com/page/license.png
    http://dvscripts.com/newstyle/DvService.png
    Level Latest Scripts
    100+
    [MS | ED] | [RP] New Giant Spiders Cave
    100+
    [ED] Elemental Spheres [Soils]
    280+
    [MS | ED] Oramond Sewers X1
    360+
    [MS | ED] Asura Palace
    360+
    [MS | ED] Oramond East Raid 500+
    360+
    [MS | ED] Oramond Fury Dungeon

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    init start    
    local enemies = {
    'drypit raff',
    'iguana stark'
    }
    init end


    auto(1000)
    foreach vipentry v do
    if table.find(enemies, v.name:lower()) and v.isonline then
    print(v.name .. ' is online')
    beep()
    end
    end


    Last edited by ozzix; 04-08-2016 at 01:02 PM.

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User
    Join Date
    Jan 2015
    Posts
    215
    Reputation
    22
    Rep Power
    19
    Quote Originally Posted by ozzix View Post
    init start    
    local enemies = {
    'drypit raff',
    'iguana stark'
    }
    init end


    auto(1000)
    foreach vipentry v do
    if table.find(enemies:lower(), v.name:lower()) and v.isonline then
    print(v.name .. ' is online')
    beep()
    end
    end


    07:15:48 error in Persistent script NewPersistentScript1:
    [" if table.find(enemies:lowe..."]:NewPersistentScript1:11 attempt to call method 'lower' (a nil value)

    edit2: and i dont seem that even this is working bc i tested with my own char online
    http://dvscripts.com/page/license.png
    http://dvscripts.com/newstyle/DvService.png
    Level Latest Scripts
    100+
    [MS | ED] | [RP] New Giant Spiders Cave
    100+
    [ED] Elemental Spheres [Soils]
    280+
    [MS | ED] Oramond Sewers X1
    360+
    [MS | ED] Asura Palace
    360+
    [MS | ED] Oramond East Raid 500+
    360+
    [MS | ED] Oramond Fury Dungeon

  4. #4
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by stay golden View Post
    07:15:48 error in Persistent script NewPersistentScript1:
    [" if table.find(enemies:lowe..."]:NewPersistentScript1:11 attempt to call method 'lower' (a nil value)

    edit2: and i dont seem that even this is working bc i tested with my own char online
    try now

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  5. #5
    Free User
    Join Date
    Jan 2015
    Posts
    215
    Reputation
    22
    Rep Power
    19
    Quote Originally Posted by ozzix View Post
    try now
    11:58:14 error in Persistent script NewPersistentScript:
    [" if table.find(enemies:lower..."]:NewPersistentScript:11 attempt to call method 'lower' (a nil value)

    this again :S
    http://dvscripts.com/page/license.png
    http://dvscripts.com/newstyle/DvService.png
    Level Latest Scripts
    100+
    [MS | ED] | [RP] New Giant Spiders Cave
    100+
    [ED] Elemental Spheres [Soils]
    280+
    [MS | ED] Oramond Sewers X1
    360+
    [MS | ED] Asura Palace
    360+
    [MS | ED] Oramond East Raid 500+
    360+
    [MS | ED] Oramond Fury Dungeon

  6. #6
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by stay golden View Post
    11:58:14 error in Persistent script NewPersistentScript:
    [" if table.find(enemies:lower..."]:NewPersistentScript:11 attempt to call method 'lower' (a nil value)

    this again :S
    weird, lower() works for me, try this then (need to have charnames exact now though)
    init start    
    local enemies = {
    'Drypit Raff',
    'Iguana Stark'
    }
    init end


    auto(1000)
    foreach vipentry v do
    if table.find(enemies, v.name) and v.isonline then
    print(v.name .. ' is online')
    beep()
    end
    end



    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  7. #7
    Free User
    Join Date
    Jan 2015
    Posts
    215
    Reputation
    22
    Rep Power
    19
    Quote Originally Posted by ozzix View Post
    weird, lower() works for me, try this then (need to have charnames exact now though)
    init start    
    local enemies = {
    'Drypit Raff',
    'Iguana Stark'
    }
    init end


    auto(1000)
    foreach vipentry v do
    if table.find(enemies, v.name) and v.isonline then
    print(v.name .. ' is online')
    beep()
    end
    end


    thanks, works great!
    http://dvscripts.com/page/license.png
    http://dvscripts.com/newstyle/DvService.png
    Level Latest Scripts
    100+
    [MS | ED] | [RP] New Giant Spiders Cave
    100+
    [ED] Elemental Spheres [Soils]
    280+
    [MS | ED] Oramond Sewers X1
    360+
    [MS | ED] Asura Palace
    360+
    [MS | ED] Oramond East Raid 500+
    360+
    [MS | ED] Oramond Fury Dungeon

 

 

Posting Permissions

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