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.

pet Condition

Featured Replies

11 hours ago, Jensen- said:

looking for a is complete condition to tame a specifik pet

You just check the quest if it's completed.
If the quest tells you to tame a pet, then you check if that quest is complete.

  • Author
1 minute ago, Ordush said:

You just check the quest if it's completed.
If the quest tells you to tame a pet, then you check if that quest is complete.

no i mean i want to tame lupos with my hunter spell, after i get him i would like the bot to go next step instead of standing in the spot for couple of hours

6 minutes ago, Jensen- said:

no i mean i want to tame lupos with my hunter spell, after i get him i would like the bot to go next step instead of standing in the spot for couple of hours

Ah. You can just check your pet name. ?
If your pet name is wolf. then complete the step.

Edited by Ordush

5 hours ago, Matenia said:

Oh honey...


return ObjectManager.Pet.Name == "Wolf"

 

Haha Yeah, that would work in a plugin or if you made your quester using c#.
But if you use the quest editor and you don't have "return false" it will spit out errors. ?
At least, that is my experience! ?

Edited by Ordush

That code returns a boolean.

Your code, is literally
if (true) then return true
if (false) then return false

Because whatever is in brackets gets evaluated to a boolean first. So you might as well just return the expression that evaluates to a boolean.

30 minutes ago, Matenia said:

That code returns a boolean.

Your code, is literally
if (true) then return true
if (false) then return false

Because whatever is in brackets gets evaluated to a boolean first. So you might as well just return the expression that evaluates to a boolean.

Yeah i understand, and that is what i do if i'm doing plugins/fc's etc.
But there is a bug with the quester. So you can't just return CODE
You have to return true/false. At least it was there when i did RFC. ?

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.