Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Apr 2018
    Posts
    13
    Reputation
    10
    Rep Power
    0

    Toggle script using another script and auto join navigation.

    So, I believe that this is easier to resolve than the other problem that I'm having (https://forums.tibiawindbot.com/show...I-set-to-don-t)

    For people who MC, how can I toggle a script ON and OFF using script commands?

    For example, I'm using the NAV leader client and want to press F12, this will execute a script with:
    Code:
     navsay("Toggle:script_name")
    Then each client will receive the nav message and toggle the script to ON or OFF. I already can do this conversation between clients, just need a function that that set ON and OFF a script in the Scripter tab.


    The second is: how I set a persistent that auto-connect to my local navigation server, auto filling the Nickname and Room for joining?

  2. #2
    Free User
    Join Date
    Sep 2014
    Posts
    43
    Reputation
    19
    Rep Power
    0
    As for toggling:

    local Name = "ScriptName"
    toggle('Persistent/Scripts/' .. Name .. '/Enabled)

    And auto login to navserv doesnt exists.

    Also add me on discord
    Inuidisse#4684
    i might be able to solve your first prroblem

 

 

Posting Permissions

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