- Install Tampermonkey for your Browser.
- Then open the Custom DB Script and click install.
- After this go to Duelingbook and you'll see in the bottom left corner a button to open the settings to customize it to your liking
F2
(you can also configure this in the settings) opens the ruling db link of the current card in the detail view
Using the macro function you can do many things.
- Sending a message in chat
- Add cards from deck to hand
- Special summon monsters from deck in ATK/DEF and either open the zone chooser or just summon it to a random zone.
- Send a card from deck to GY
- Categories
-- My Category Name
- Macros
Button Name | message to send
- Multiple actions in one Macro
Button name | message 1 | message 2 | message 3
- Variables
${variableName}
- Functions
${functionName(param)}
- Functions with multiple parameters
${functionName(param1~param2~param3)}
currentLP
your current lifepointshalfOfLP
half of your current lifepointstopUsername
The username of the player at the topbotUsername
The username of the player at the bottom (usually yourself)atkAllMonsters
The combined atk of all monsters on the field you can seedefAllMonsters
The combined def of all monsters on the field you can seeatkAllFaceUpMonsters
The combined atk of all face up monsters on the field you can seedefAllFaceUpMonsters
The combined def of all face up monsters on the field you can see
- This adds a macro that greets the opponent and says you're the real YOUR USERNAME
Hello | Hello ${topUsername} :) I'm the real ${botUsername}
- This doubles your current lifepoints
LP*2 | /add ${currentLP}
- This halfs your current lifepoints
LP/2 | /sub ${halfOfLP}
waitInMs(number)
waits for the specified amount of milliseconds before doing the next action in the macroaddFromDeckToHand(cardNames)
adds cards from your deck to your hand. If the card is not found in your deck the deck will just be shuffledsendFromDeckToGY(cardNames)
sends cards from your deck to your GYspecialFromDeckInAtk(cardName)
opens the zone selection and then special summons a monster from your deck to that zone in attack positionspecialFromDeckInDef(cardName)
opens the zone selection and then special summons a monster from your deck to that zone in defense positionspecialFromDeckInAtkRandomZone(cardNames)
special summons monsters from your deck to an available zone chosen by DB in attack positionspecialFromDeckInDefRandomZone(cardNames)
special summons monsters from your deck to an available zone chosen by DB in defense positionspecialFromDeckInAtkToZone(cardName~zone)
special summons a monster from your deck to an available zone from your given list in attack positionspecialFromDeckInDefToZone(cardName~zone)
special summons a monster from your deck to an available zone from your given list in defense positionspecialFromExtraDeckInAtk(cardName)
opens the zone selection and then special summons a monster from your extra deck to that zone in attack positionspecialFromExtraDeckInDef(cardName)
opens the zone selection and then special summons a monster from your extra deck to that zone in defense positionspecialFromExtraDeckInAtkRandomZone(cardNames)
special summons monsters from your extra deck to an available zone chosen by DB in attack positionspecialFromExtraDeckInDefRandomZone(cardNames)
special summons monsters from your extra deck to an available zone chosen by DB in defense positionspecialFromExtraDeckInAtkToZone(cardName~zone)
special summons a monster from your extra deck to an available zone from your given list in attack positionspecialFromExtraDeckInDefToZone(cardName~zone)
special summons a monster from your extra deck to an available zone from your given list in defense positionsendFromExtraDeckToGY(cardNames)
sends cards from your extra deck to your GYspecialSummonToken()
special summons a tokenspecialSummonTokenToZone(zone)
special summons a token to an available zone from your given listsendAllControllingMonstersFromFieldToGY(cardPosition~FaceUpDown)
sends all monster with given position (ATK/DEF/BOTH) and (FaceUp/FaceDown) or all if no position given to the GYsendAllOwnSpellTrapsFromFieldToGY()
sends all your spell and trap cards from your field to your GYsendFromFieldToGY(cardNames)
sends monsters you control to the GYbanishFromGY(cardNames)
banishes monsters from your GYactivateSpellTrapFromDeck(cardNames)
activates a spell or trap card from your deckactivateSpellTrapFromDeckToZone(cardName~zone)
activates a spell or trap card from your deck to an available zone from your given listspecialFromGYInAtk(cardName)
opens the zone selection and then special summons a monster from your GY to that zone in attack positionspecialFromGYInDef(cardName)
opens the zone selection and then special summons a monster from your GY to that zone in defense positionspecialFromGYInAtkRandomZone(cardNames)
special summons monsters from your GY to an available zone chosen by DB in attack positionspecialFromGYInDefRandomZone(cardNames)
special summons monsters from your GY to an available zone chosen by DB in defense positionspecialFromGYInAtkToZone(cardName~zone)
special summons a monster from your GY to an available zone from your given list in attack positionspecialFromGYInDefToZone(cardName~zone)
special summons a monster from your GY to an available zone from your given list in defense positiondiscard(cardNames)
discards monsters from your hand to your GYaddFromGYToHand(cardNames)
adds cards from your GY to your handfromBanishToTopOfDeck(cardNames)
returns banished cards to the top of your deckfromGYToTopOfDeck(cardNames)
returns cards in your GY to the top of your deckfromFieldToTopOfDeck(cardNames)
returns cards on your field to the top of your deckshuffleDeck()
shuffles your deckmoveZone(cardName~zone)
MOVES a card on the field to an available zone from your given listoverlayMonsters(cardName~materialName)
overlays a monster with 1 or more materialsspecialSummonMultipleTokens(count)
summons multiple tokens to available zones chosen by DBreturnAllFromHandToTopOfDeck()
returns all cards in your hand to the top of your deckbanishFromHand(cardNames)
banishes cards from handbanishFromDeck(cardNames)
banishes cards from deckflipDownMonsters(cardNames)
flips down monstersflipUpMonsters(cardNames)
flips up monsterschangeToAtk(cardNames)
changes monsters to attack positionchangeToDef(cardNames)
changes monsters to defense positionnormalSetToRandomZone(cardName)
normal sets a monster to a random zonenormalSetToZone(cardName~zone)
normal sets a monster to an available zone from your given listnormalSummonToRandomZone(cardName)
normal summons a monster to a random zonenormalSummonToZone(cardName~zone)
normal summons a monsters to an available zone from your given listaddCountersToCards(count~cardNames)
adds counters to cardsremoveCountersFromCards(count~cardNames)
removes counters from cards
- Monster zones: M1 - M5
- Extra monster zones: EL (left) and ER (right)
- Spell/Trap zones: S1 - S5
- Opponents monster zones: OM1 - OM5
- Sends Hello in chat, waits 2 seconds and then sends Bye
Hello | Hello | ${waitInMs(2000)} | Bye
- Send Destiny HERO - Celestial and Destiny HERO - Dasher from your deck to the graveyard
Send DPE Garnets | ${sendFromDeckToGY(Destiny HERO - Celestial~Destiny HERO - Dasher)}
- Special summon PSY-Frame Driver from your deck to a random zone in attack position
SS Driver | ${specialFromDeckInAtkRandomZone(PSY-Frame Driver)}
Hello | Hello ${topUsername}, good luck have fun.
CHAIN | I'll chain to that.
Nibiru :( | The total stats of all face up monsters on the field are ${atkAllFaceUpMonsters} ATK / ${defAllFaceUpMonsters} DEF | ${sendAllControllingMonstersFromFieldToGY(Both~FaceUp)} | ${specialSummonToken()}
-- LP
LP/2 | /sub ${halfOfLP}
-- SS
SS Driver Zone | ${specialFromDeckInAtk(PSY-Frame Driver)}
SS Driver | ${specialFromDeckInAtkRandomZone(PSY-Frame Driver)} | Thinking on zone
SS Driver Def | ${specialFromDeckInDefRandomZone(PSY-Frame Driver)} | Thinking on zone
-- Deck to GY
Mill 1 | /mill 1
Verte Fusion Destiny | /sub 2000 | ${sendFromDeckToGY(Fusion Destiny)}
Send DPE Garnets | ${sendFromDeckToGY(Destiny HERO - Celestial~Destiny HERO - Dasher)}
Send Dragoon Garnets | ${sendFromDeckToGY(Dark Magician~Red-Eyes Black Dragon)}
-- Search
Add Invo | ${addFromDeckToHand(Invocation)}