61
Request / change location with commands
« Last post by hazael 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)
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)

Recent Posts![[touranus]](https://mindee-bot.com/forum/Smileys/akyhne/touranus.png)
![[badumtss]](https://mindee-bot.com/forum/Smileys/akyhne/troll-ba-dum-tss.png)
![Your payment method. [payment]](https://mindee-bot.com/forum/Smileys/akyhne/payment-paypal.gif)
![You don't say? [youdontsay2]](https://mindee-bot.com/forum/Smileys/akyhne/vampires-kiss2.png)
![FEELS [feelstea]](https://mindee-bot.com/forum/Smileys/akyhne/feelssit.png)
![I will cut you [psycho]](https://mindee-bot.com/forum/Smileys/akyhne/psycho.png)
![Fuck OFF [fuckyoutroll]](https://mindee-bot.com/forum/Smileys/akyhne/fuckoff.png)
@Mindee