Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Coding an if condition (Dungeon Profile)

Featured Replies

I would like to code a line which checks what continent the bot if in. If the continent/map is the wrong one, it will go to the previous step.

 

Basically, at the end of my dungeon run, I want to teleport out using my druids moonglade teleport. However, sometimes some patrolling mob will aggro me and cancel my teleport, or for some other reason my teleport will get canceled. The bot then misfunction because it can't reach that step anymore.

So it would look something like:

1. Runluacode: CastSpellByName("Teleport:moonglade", onSelf);

2. If continent ID is not Kalimdor -> go back to step 1

 

Is this possible?

  • 2 weeks later...

I haven't tested it, but I think it'd look something like this:

StepName => Teleport
RunLuaCode => CastSpellByName("Teleport:moonglade", onSelf);
Wait => 5000
If => wManager.Wow.Helpers.Usefuls.ContinentId != 1
GoToStep => Teleport
EndIf

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.