Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hazael

Pages: [1]
1
Request / change location with commands
« on: October 05, 2024, 07:19:12 pm »
The command below is not changing the route, can anyone help?

def onReceivePrivateMessage(name, text):
    if (name not in allowedNames):
        return

    elif ("Logout" in text):
        script.Logout()

    elif ("Until" in text):
        time = text.split()[-1]
        script.LogoutUntil(time)

    elif ("Base" in text):
        script.GetWay() != to_base:
            script.StatusMessage('Back to base...')
            ChangeWay(to_base)

    elif ("Hunt" in text):
        script.GetWay() != to_hunt:
            script.StatusMessage('Back to hunt...')
            ChangeWay(to_hunt)

Pages: [1]