-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#1
Post
by beanybabe » Mon May 16, 2016 8:06 pm
strange problem the error() is making bot crash
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
print (getZoneId())
error()
</onLoad>
</waypoints>
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#2
Post
by lisa » Mon May 16, 2016 10:39 pm
error() will make MM exit what ever script it is running and go back to the command prompt, that is what it is for.
I have absolutely no idea what you thought it was for.
-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#3
Post
by beanybabe » Tue May 17, 2016 12:19 am
I use it to exit the script
but for some reason that bit of code crashes the bot it may be because there no text message in the ()
-
BlubBlab
- Posts: 948
- Joined: Fri Nov 30, 2012 11:33 pm
- Location: My little Pony cafe
#4
Post
by BlubBlab » Wed May 25, 2016 2:56 pm
It like Lisa said error() will end the running script with an error message
Who is online
Users browsing this forum: Semrush [Bot] and 4 guests