rajat_cj

BDFD • Eval and Cmd List

Jun 9th, 2022 (edited)
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.34 KB | None | 0 0
  1. BDFD Eval and CommandList
  2. - Code by Rajat#1004
  3.  
  4.  
  5.  
  6.  
  7. Code 1
  8. --------------------------------------------------------------------------------
  9. Trigger : ?eval
  10. Language : BDScript 2
  11. Code :
  12.  
  13.  
  14. $var[users;731578153287356450,754033245972234212]
  15. $c[you can add as many User IDs you like in var above separated by comma]
  16.  
  17. $nomention
  18. $onlyIf[$checkContains[$var[users];$authorID]==true;Why u bully me?]
  19. $try
  20. $eval[$message]
  21. $catch
  22. $var[step;0]
  23. $httpGet[https://botdesignerdiscord.com/public/api/function/$error[command][\]]
  24. $thumbnail[https://cdn.discordapp.com/attachments/780036165578784808/948514834440413204/1c54f7b06d7723c21afc5035bf88a5ef.png]
  25. $color[#00ffc3]
  26. $title[‼️ Couldn't Evaluate]
  27. $description[$replaceText[``:`;:;;1]kt
  28. $error[message] at "$error[command]"$replaceText[``:`;:;;1]
  29. **[$error[command]\](https://nilpointer-software.github.io/bdfd-wiki/bdscript/$replaceText[$error[command];$;;1].html)** $httpResult[shortDescription]$replaceText[``:`;:;;1]bash
  30. $httpResult[tag]$replaceText[``:`;:;;1]$httpResult[longDescription]
  31. $if[$httpResult[arguments;$var[step];name]!=]**Arguments**
  32. > 1️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  33. $if[$httpResult[arguments;$var[step];name]!=]> 2️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  34. $if[$httpResult[arguments;$var[step];name]!=]> 3️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  35. $if[$httpResult[arguments;$var[step];name]!=]> 4️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  36. $if[$httpResult[arguments;$var[step];name]!=]> 5️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  37. $if[$httpResult[arguments;$var[step];name]!=]> 6️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  38. $if[$httpResult[arguments;$var[step];name]!=]> 7️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  39. $if[$httpResult[arguments;$var[step];name]!=]> 8️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  40. $if[$httpResult[arguments;$var[step];name]!=]> 9️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  41. $if[$httpResult[arguments;$var[step];name]!=]> 🔟 **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  42. ]
  43. $endtry
  44.  
  45.  
  46.  
  47.  
  48.  
  49. Code 1
  50. --------------------------------------------------------------------------------
  51. Trigger : ?commandlist
  52. Language : BDScript 2
  53. Code :
  54.  
  55.  
  56. $nomention
  57. $suppressErrors[Command not found]
  58.  
  59.  
  60. $httpGet[https://botdesignerdiscord.com/public/api/function/$message]
  61.  
  62. $thumbnail[https://cdn.discordapp.com/attachments/780036165578784808/948514834440413204/1c54f7b06d7723c21afc5035bf88a5ef.png]
  63. $color[#00ffc3]
  64. $var[step;0]
  65. $title[‼️ Function Help]
  66.  
  67. $description[
  68. **[$message\](https://nilpointer-software.github.io/bdfd-wiki/bdscript/$replaceText[$error[command];$;;1].html)** $httpResult[shortDescription]$replaceText[``:`;:;;1]bash
  69. $httpResult[tag]$replaceText[``:`;:;;1]$httpResult[longDescription]
  70. $if[$httpResult[arguments;$var[step];name]!=]**Arguments**
  71. > 1️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  72. $if[$httpResult[arguments;$var[step];name]!=]> 2️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  73. $if[$httpResult[arguments;$var[step];name]!=]> 3️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  74. $if[$httpResult[arguments;$var[step];name]!=]> 4️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  75. $if[$httpResult[arguments;$var[step];name]!=]> 5️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  76. $if[$httpResult[arguments;$var[step];name]!=]> 6️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  77. $if[$httpResult[arguments;$var[step];name]!=]> 7️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  78. $if[$httpResult[arguments;$var[step];name]!=]> 8️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  79. $if[$httpResult[arguments;$var[step];name]!=]> 9️⃣ **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  80. $if[$httpResult[arguments;$var[step];name]!=]> 🔟 **$httpResult[arguments;$var[step];name]** : $httpResult[arguments;$var[step];type] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`🔴 Required`;1];false;;1] $replaceText[$replaceText[$httpResult[arguments;$var[step];required];true;`Can be left empty`;1];false;;1]$endif $var[step;$sum[$var[step];1]]
  81. ]
  82.  
  83.  
  84.  
Advertisement
Add Comment
Please, Sign In to add comment