Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Dec 2015
    Posts
    69
    Reputation
    16
    Rep Power
    17

    1 persistent and 1 action I need help with badly!

    Alright I've been browsing the forum now for like an hour and cant find anything that seems to be even close to what I need.


    Persistent, I need a persistent that play an alarm when a certain magic level is reached.


    Action, I need an action that activates the "mana train" function on the healer.


    Any help is very appreciated!

  2. #2
    Free User
    Join Date
    Jul 2015
    Posts
    22
    Reputation
    10
    Rep Power
    0
    Persistent ml checker, basic script
     
    init start
    local mlrequest = 19 -- Magic Level to activate the alarm
    init end

    auto (100)

    if $mlevel >= mlrequest then
    playsound('playeronscreen.wav')

    end



    ____

    action to active "mana train"

     setsetting('ManaTrainer/Enabled', 'yes') 


    ____


    If you want to disable mana trainer and activate the alarm when reach a certain magic level

    init start
    local mlrequest = 19 -- Magic Level to disable ManaTrainer
    init end

    auto (100)

    if $mlevel >= mlrequest then
    setsetting('ManaTrainer/Enabled', 'no')
    playsound("playeronscreen.wav")
    else
    setsetting('ManaTrainer/Enabled', 'yes')

    end
    Last edited by mukeka; 12-19-2015 at 07:17 PM.

 

 

Posting Permissions

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