Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open closed door
#1
hello, i need an action that ONLY opens a door if its closed. 

I searched about this action on the forum already but the only one i fouind is this one down below.

-----> "usedoor(number X, number Y, number Z, string action) [boolean]: Open or close a door on specified location. Action parameter must be 'open' or 'close'."

but this function will open OR close depending if the door is opened or closed. for example. when the bot is finnished depositing in city and when its going back to hunting spawn there is a door that it needs to pass, and if that door is already opened, it will CLOSE the door and it cant go to the next waypoint. so i need a action that ONLY OPENS the door if its closed else just walk to next waypoint.

for example something like this = if x,y,z if closed, then open, if opened already, else go to next waypoint.
Reply

#2
usedoor() does not works like you said, instead, it works exactly how you asked, that’s why the “string action” (close/open).
If you use action as “open”, it will open the door if it’s closed and ignore if already open.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016