Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Addon]
- Script=Pirates-GamePad
- Version=1.3
- Author=DR DevTeam
- Desc=!Pirates Game Pad
- For=DragonRyder v13.5
- Date=May 29th 2019
- ;NOTE: !UNO mod done with permission
- ;[Mon. Apr. 23 2007 2:41pm] <Ryu> you mind if i mod it to make it so it will do cd
- ;[Mon. Apr. 23 2007 2:41pm] <lurk3r> np, do what yer like lol
- ;
- ;My son introduced me to QuietSilence, whom took my modified !UNO to !Pirates
- ;and fixed it and turned it into a very AWESOME dialog GamePad for !Pirates
- ;Hope you don't mind me bragging on your scripting skills QuietSilence
- menu channel {
- !Pirates GamePad: {
- set %pirates.chan $iif(%pirates.chan != $chan,$iif($$input(Change !Pirates channel to $chan $+ ?,y,Pirates Channel is %pirates.chan),$chan,%pirates.chan),$chan)
- if (%pirates.chan == $chan) { dialog $iif(!$dialog(DRDT-PiratesAddon),-mdo,-ev) DRDT-PiratesAddon DRDT-PiratesAddon }
- }
- }
- dialog DRDT-PiratesAddon {
- title "!Pirates Game Pad v1.0"
- size 300 300 290 156
- option dbu
- tab "Player", 1000, 3 2 284 152
- button "Bored", 18, 180 38 32 10, tab 1000
- button "Awake", 44, 113 112 32 10, tab 1000
- button "Bot", 40, 252 38 32 10, tab 1000
- button "Brig", 219, 146 58 32 10, tab 1000
- button "Weapon", 220, 219 28 32 10, tab 1000
- button "Dig", 19, 76 38 32 10, tab 1000
- button "Fish", 25, 76 28 32 10, tab 1000
- button "Crabbin", 26, 76 48 32 10, tab 1000
- button "Work", 27, 76 68 32 10, tab 1000
- button "Steal", 221, 182 112 32 10, tab 1000
- button "Love", 28, 4 122 32 10, tab 1000
- button "Hate", 29, 4 132 32 10, tab 1000
- button "Legends", 30, 146 48 32 10, tab 1000
- button "Scour", 31, 41 112 32 10, tab 1000
- button "Maps", 32, 180 28 32 10, tab 1000
- button "Mutiny", 315, 4 142 32 10, tab 1000
- button "Party", 316, 146 112 32 10, tab 1000
- button "Rusty", 402, 180 48 32 10, tab 1000
- button "Search", 41, 41 122 32 10, tab 1000
- button "Daily", 13, 113 38 32 10, tab 1000
- button "Goals", 14, 113 48 32 10, tab 1000
- button "Heal", 314, 252 48 32 10, tab 1000
- button "Lockpick", 211, 182 122 32 10, tab 1000
- button "Snatch", 16, 182 132 32 10, tab 1000
- button "Dive", 17, 76 58 32 10, tab 1000
- button "Top", 401, 113 28 32 10, tab 1000
- button "Brandy", 312, 219 58 32 10, tab 1000
- button "Mercy", 313, 113 122 32 10, tab 1000
- button "Stamina", 212, 219 38 32 10, tab 1000
- button "Ship status", 42, 219 112 32 10, tab 1000
- button "Troll", 213, 76 132 32 10, tab 1000
- button "Tasks", 1, 146 28 32 10, tab 1000
- button "Carry", 2, 4 58 32 10, tab 1000
- button "About", 11, 180 58 32 10, tab 1000
- button "Achievement", 12, 113 78 65 10, tab 1000
- button "Rest", 21, 146 122 32 10, tab 1000
- button "Capn Favor", 22, 252 132 32 10, tab 1000
- button "Capn Stats", 24, 252 112 32 10, tab 1000
- button "Rig", 8, 4 48 32 10, tab 1000
- button "Steer", 9, 41 48 32 10, tab 1000
- button "Repair", 7, 41 38 32 10, tab 1000
- button "Fix", 5, 41 58 32 10, tab 1000
- button "Lookout", 6, 4 38 32 10, tab 1000
- button "Cook", 4, 41 28 32 10, tab 1000
- button "Age", 10, 113 58 32 10, tab 1000
- button "Clean", 3, 4 28 32 10, tab 1000
- button "Swab", 15, 4 68 32 10, tab 1000
- button "Info", 214, 146 38 32 10, tab 1000
- button "Power", 215, 219 48 32 10, tab 1000
- button "Level", 216, 252 28 32 10, tab 1000
- button "Request", 39, 4 112 32 10, tab 1000
- button "Insult", 217, 76 122 32 10, tab 1000
- button "DaveyJones", 218, 76 112 32 10, tab 1000
- text "Players", 500, 76 100 32 10, tab 1000 center
- text "Miscellaneous", 501, 113 100 65 10, tab 1000 center
- text "Lvl 1-5", 502, 4 18 32 10, tab 1000 center
- text "Lvl 6-9", 503, 41 18 32 10, tab 1000 center
- text "Lvl 10+", 504, 76 18 32 10, tab 1000 center
- text "Info", 505, 113 18 99 10, tab 1000 center
- text "Fight", 506, 219 18 65 10, tab 1000 center
- text "Theft", 507, 182 100 32 10, tab 1000 center
- text "Captain", 508, 4 100 32 10, tab 1000 center
- text "Quick Captain Commands", 509, 219 100 65 10, tab 1000 center
- text "Find", 510, 41 100 32 10, tab 1000 center
- button "Train", 317, 76 78 32 10, tab 1000
- button "Cap Cmd", 318, 219 122 32 10, tab 1000
- button "Aye", 52, 146 132 32 10, tab 1000
- button "Stash", 53, 113 132 32 10, tab 1000
- button "Chest", 46, 113 142 32 10, tab 1000
- button "Use", 61, 146 142 32 10, tab 1000
- button "Relations", 33, 146 68 32 10, tab 1000
- button "www", 34, 179 78 32 10, tab 1000
- button "Rum", 561, 252 58 32 10, tab 1000
- button "Wench", 254, 252 68 32 10, tab 1000
- tab "Buy and Sell", 1001
- button "BlackPowder", 551, 68 28 40 10, tab 1001
- button "Bribe", 552, 4 68 32 10, tab 1001
- button "Sell Gun", 250, 4 38 32 10, tab 1001
- button "Sell Sword", 251, 4 48 32 10, tab 1001
- button "Buy Sword", 252, 36 48 32 10, tab 1001
- button "Buy Gun", 253, 36 38 32 10, tab 1001
- button "Spouse", 553, 36 78 32 10, tab 1001
- button "Sharpen", 554, 36 28 32 10, tab 1001
- button "Youth", 155, 4 78 32 10, tab 1001
- button "Parlay", 48, 36 68 32 10, tab 1001
- button "Rum", 556, 4 28 32 10, tab 1001
- button "Nickname", 50, 68 78 40 10, tab 1001
- button "Chest", 45, 114 18 32 20, tab 1001
- button "Rename Gun", 37, 68 58 40 10, tab 1001
- button "Repair Gun", 558, 68 38 40 10, tab 1001
- button "Repair Sword", 559, 68 48 40 10, tab 1001
- button "Rename Sword", 38, 68 68 40 10, tab 1001
- button "Custom", 60, 36 58 32 10, tab 1001
- button "Male", 63, 8 106 32 10, tab 1001
- button "Female", 64, 40 106 32 10, tab 1001
- button "Undisclosed", 65, 72 106 32 10, tab 1001
- button "Native", 66, 40 142 32 10, tab 1001
- button "English", 67, 8 132 32 10, tab 1001
- button "Jesuit", 68, 72 142 32 10, tab 1001
- button "Spanish", 71, 72 132 32 10, tab 1001
- button "French", 69, 40 132 32 10, tab 1001
- button "Dutch", 70, 8 142 32 10, tab 1001
- text "Buy Faction", 511, 4 122 104 10, tab 1001 center
- text "Buy Gender", 512, 4 96 104 10, tab 1001 center
- text "Fruit", 514, 114 90 66 10, tab 1001 center
- text "Chest Locks", 516, 216 18 32 10, tab 1001 center
- text "Chest Traps", 517, 250 92 32 10, tab 1001 center
- text "Chests", 518, 182 92 32 10, tab 1001 center
- text "Goods", 519, 216 92 32 10, tab 1001 center
- text "Herbs", 520, 182 18 32 10, tab 1001 center
- text "Poisons", 521, 148 18 32 10, tab 1001 center
- text "Ship Store", 523, 4 18 104 10, tab 1001 center
- button "Bomb", 85, 250 142 32 10, tab 1001
- button "Spike", 86, 250 132 32 10, tab 1001
- button "Poison", 87, 250 122 32 10, tab 1001
- button "Acid", 88, 250 112 32 10, tab 1001
- button "Curse", 89, 250 102 32 10, tab 1001
- button "large", 83, 182 112 32 10, tab 1001
- button "Medium", 84, 182 102 32 10, tab 1001
- button "Guava", 90, 114 122 32 10, tab 1001
- button "Gooseberries", 91, 114 132 34 10, tab 1001
- button "Genips", 92, 114 112 32 10, tab 1001
- button "Chayote", 93, 114 102 32 10, tab 1001
- button "Ugli", 94, 150 132 30 10, tab 1001
- button "Orange", 95, 148 122 32 10, tab 1001
- button "Noni", 96, 148 112 32 10, tab 1001
- button "Star", 97, 148 142 32 10, tab 1001
- button "Soursop", 98, 114 142 32 10, tab 1001
- button "Mameyl", 99, 148 102 32 10, tab 1001
- button "Luxuries", 150, 216 142 32 10, tab 1001
- button "Materials", 146, 216 132 32 10, tab 1001
- button "Sugar", 147, 216 122 32 10, tab 1001
- button "Spice", 148, 216 112 32 10, tab 1001
- button "Food", 149, 216 102 32 10, tab 1001
- button "Anzid", 80, 148 28 32 10, tab 1001
- button "Green", 47, 182 28 32 10, tab 1001
- button "Sell", 56, 114 38 32 20, tab 1001
- button "Sell All", 57, 114 58 32 20, tab 1001
- button "Steel", 154, 216 58 32 10, tab 1001
- button "Brass", 151, 216 48 32 10, tab 1001
- button "Copper", 152, 216 38 32 10, tab 1001
- button "Iron", 153, 216 28 32 10, tab 1001
- button "Disease", 35, 114 78 66 10, tab 1001
- button "Water", 72, 250 28 30 10, tab 1001
- button "Rum", 73, 250 38 30 10, tab 1001
- button "Mead", 74, 250 48 30 10, tab 1001
- button "Wine", 75, 250 58 30 10, tab 1001
- button "Whiskey", 76, 250 68 30 10, tab 1001
- button "Brandy", 77, 250 78 30 10, tab 1001
- text "Tavern", 78, 250 18 30 10, tab 1001 center
- button "LockPick", 55, 216 74 32 10, tab 1001
- button "Lottery", 319, 4 58 32 10, tab 1001
- tab "Captain", 1002
- button "Capn Rep", 23, 252 18 32 10, tab 1002
- tab "Sail to", 1003
- button "Antigua", 100, 4 30 56 10, tab 1003
- button "Barbados", 101, 4 40 56 10, tab 1003
- button "Bermuda", 102, 4 50 56 10, tab 1003
- button "Campeche", 103, 4 60 56 10, tab 1003
- button "Caracas", 104, 4 70 56 10, tab 1003
- button "Cartagena", 105, 4 80 56 10, tab 1003
- button "Coro", 106, 4 90 56 10, tab 1003
- button "Cumana", 145, 4 120 56 10, tab 1003
- button "Curacao", 107, 4 100 56 10, tab 1003
- button "Eluthera", 108, 4 110 56 10, tab 1003
- button "Florida_Keys", 109, 60 30 56 10, tab 1003
- button "Gibraltar", 110, 60 40 56 10, tab 1003
- button "Gran_Grenada", 111, 60 50 56 10, tab 1003
- button "Grand_Bahama", 112, 60 60 56 10, tab 1003
- button "Guadeloupe", 113, 60 70 56 10, tab 1003
- button "Havana", 114, 60 80 56 10, tab 1003
- button "Leogane", 115, 60 90 56 10, tab 1003
- button "Maracaibo", 116, 60 100 56 10, tab 1003
- button "Margarita", 117, 60 110 56 10, tab 1003
- button "Martinique", 118, 116 30 56 10, tab 1003
- button "Montserrat", 119, 116 40 56 10, tab 1003
- button "Nassau", 120, 116 50 56 10, tab 1003
- button "Nevis", 121, 116 60 56 10, tab 1003
- button "Nombre_de_Dios", 122, 116 70 56 10, tab 1003
- button "Panama", 123, 116 80 56 10, tab 1003
- button "Petit_Goave", 124, 116 90 56 10, tab 1003
- button "Port-de-Paix", 125, 116 100 56 10, tab 1003
- button "Puerto_Bello", 126, 116 110 56 10, tab 1003
- button "Puerto_Cabello", 127, 172 30 56 10, tab 1003
- button "Puerto_Principe", 128, 172 40 56 10, tab 1003
- button "Rio_de_la_Hacha", 129, 172 50 56 10, tab 1003
- button "San_Juan", 130, 172 60 56 10, tab 1003
- button "Santa_Catalina", 131, 172 70 56 10, tab 1003
- button "Santa_Marta", 132, 172 80 56 10, tab 1003
- button "Santiago", 133, 172 90 56 10, tab 1003
- button "Santiago_de_La_Vega", 134, 172 100 56 10, tab 1003
- button "Santo_Domingo", 135, 172 110 56 10, tab 1003
- button "Sint_Maarten", 136, 228 30 56 10, tab 1003
- button "St. Augustine", 137, 228 40 56 10, tab 1003
- button "St. Eustatius", 138, 228 50 56 10, tab 1003
- button "St. Kitts", 139, 228 60 56 10, tab 1003
- button "St. Martin", 140, 228 70 56 10, tab 1003
- button "Tortuga", 141, 228 80 56 10, tab 1003
- button "Trinidad", 142, 228 90 56 10, tab 1003
- button "Vera_Cruz", 143, 228 100 56 10, tab 1003
- button "Villa_Hermosa", 144, 228 110 56 10, tab 1003
- text "Sail to Location", 522, 4 18 280 10, tab 1003 center
- tab "Miscellaneous", 1004
- text "Requests", 437, 6 18 101 8, tab 1004 center
- text "Ports", 454, 110 18 67 8, tab 1004 center
- button "Crew Bonus", 420, 6 28 32 10, tab 1004
- button "Find", 421, 6 40 32 10, tab 1004
- button "Mass Find", 422, 6 52 32 10, tab 1004
- button "Monster", 423, 6 64 32 10, tab 1004
- button "Party", 424, 6 76 32 10, tab 1004
- button "Quest", 425, 6 88 32 10, tab 1004
- button "Rest", 426, 40 28 32 10, tab 1004
- button "Share", 427, 40 40 32 10, tab 1004
- button "Rumor", 428, 40 52 32 10, tab 1004
- button "Bonus", 429, 40 64 32 10, tab 1004
- button "Map", 430, 40 76 32 10, tab 1004
- button "Parlay", 431, 40 88 32 10, tab 1004
- button "Punish", 432, 74 28 32 10, tab 1004
- button "Rum", 433, 74 40 32 10, tab 1004
- button "Voucher", 434, 74 52 32 10, tab 1004
- button "Sail", 435, 74 64 32 10, tab 1004
- button "Doubloons", 438, 6 112 32 10, tab 1004
- button "Ornamental", 439, 6 124 32 10, tab 1004
- button "Power", 440, 6 136 32 10, tab 1004
- button "Random", 441, 42 112 32 10, tab 1004
- button "Stamina", 442, 42 124 32 10, tab 1004
- button "Voucher", 443, 42 136 32 10, tab 1004
- text "Rewards", 444, 6 100 69 8, tab 1004 center
- button "Port", 445, 110 28 32 10, tab 1004
- button "Faction", 446, 110 40 32 10, tab 1004
- button "Closest", 447, 110 52 32 10, tab 1004
- button "Claimed", 448, 110 64 32 10, tab 1004
- button "Status", 449, 144 28 32 10, tab 1004
- button "Today", 450, 144 40 32 10, tab 1004
- button "Unclaimed", 451, 144 52 32 10, tab 1004
- button "Winner", 452, 144 64 32 10, tab 1004
- button "Rep", 453, 110 76 32 10, tab 1004
- button "Charisma", 455, 178 34 32 10, tab 1004
- button "Defense", 456, 212 34 32 10, tab 1004
- button "Fishing", 457, 246 34 32 10, tab 1004
- button "Luck", 458, 178 46 32 10, tab 1004
- button "Meditation", 459, 212 46 32 10, tab 1004
- button "Marksmanship", 460, 178 58 44 10, tab 1004
- button "Thievery", 461, 246 46 32 10, tab 1004
- button "Swordsmanship", 462, 234 58 44 10, tab 1004
- text "Quit", 463, 178 110 101 8, tab 1004 center
- text "Forget", 464, 178 68 101 8, tab 1004 center
- text "Start", 465, 178 26 103 8, tab 1004 center
- text "Skills", 466, 178 18 103 8, tab 1004 center
- button "Charisma", 467, 178 76 32 10, tab 1004
- button "Defense", 468, 212 76 32 10, tab 1004
- button "Fishing", 469, 246 76 32 10, tab 1004
- button "Luck", 470, 178 88 32 10, tab 1004
- button "Meditation", 471, 212 88 32 10, tab 1004
- button "Marksmanship", 472, 178 100 44 10, tab 1004
- button "Thievery", 473, 246 88 32 10, tab 1004
- button "Swordsmanship", 474, 234 100 44 10, tab 1004
- button "Charisma", 475, 178 118 32 10, tab 1004
- button "Defense", 476, 212 118 32 10, tab 1004
- button "Fishing", 477, 246 118 32 10, tab 1004
- button "Luck", 478, 178 130 32 10, tab 1004
- button "Meditation", 479, 212 130 32 10, tab 1004
- button "Marksmanship", 480, 178 142 44 10, tab 1004
- button "Thievery", 481, 246 130 32 10, tab 1004
- button "Swordsmanship", 482, 234 142 44 10, tab 1004
- button "Button", 54, 348 18 37 12
- button "butTon", 36, 348 48 37 12
- button "Button", 43, 346 36 37 12
- button "Button", 51, 352 76 37 12
- button "Button", 58, 356 90 37 12
- button "Button", 59, 346 106 37 12
- button "Button", 62, 356 120 37 12
- button "button", 436, 354 138 32 10
- }
- on *:dialog:DRDT-PiratesAddon:init:*:{
- var %pirates.play
- dialog -t $dname $dialog($dname).title Now playing in %pirates.chan
- }
- on *:dialog:DRDT-PiratesAddon:sclick:1-47,55-57,61,63-77,80,83-154,211-221,250-253,311-320,401-402,411-413,420-482,550-561: {
- if ($did isnum 1-46) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len)
- }
- elseif ($did isnum 47) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Herb $left($did($did),%pirates.len)
- }
- elseif ($did isnum 55) {
- %pirates.play = P Market Buy Lockpick
- }
- elseif ($did isnum 56) {
- %pirates.play = P Market Sell $?="enter Item Number:"
- }
- if ($did isnum 57) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Sell All Ornamental Aye
- }
- elseif ($did isnum 61) {
- %pirates.play = P Use $?="enter Item Number:"
- }
- elseif ($did isnum 63-65) {
- %pirates.len = $len($did($did))
- %pirates.play = P store buy gender $left($did($did),%pirates.len)
- }
- elseif ($did isnum 66-71) {
- %pirates.len = $len($did($did))
- %pirates.play = P Store Buy Faction $left($did($did),%pirates.len)
- }
- elseif ($did isnum 72-77) {
- %pirates.len = $len($did($did))
- %pirates.play = p Tavern $left($did($did),%pirates.len)
- }
- if ($did isnum 80) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Poison $left($did($did),%pirates.len)
- }
- elseif ($did isnum 83-84) {
- %pirates.len = $len($did($did))
- %pirates.play = p Market buy Chests $left($did($did),%pirates.len)
- }
- elseif ($did isnum 85-89) {
- %pirates.len = $len($did($did))
- %pirates.play = p Market buy Chest Traps $left($did($did),%pirates.len)
- }
- elseif ($did isnum 90-99) {
- %pirates.len = $len($did($did))
- %pirates.play = p Market buy Fruit $left($did($did),%pirates.len)
- }
- elseif ($did isnum 100-145) {
- %pirates.len = $len($did($did))
- %pirates.play = p sail $left($did($did),%pirates.len)
- }
- if ($did isnum 146-150) {
- %pirates.len = $len($did($did))
- %pirates.play = p Market Buy Goods $left($did($did),%pirates.len)
- }
- if ($did isnum 151-154) {
- %pirates.len = $len($did($did))
- %pirates.play = p Market Buy Chest Lock $left($did($did),%pirates.len)
- }
- elseif ($did isnum 211-221) {
- %pirates.play = p lockpick|p stamina|p troll|p Info|p Power|p Level|p Insult|P DaveyJones|p brig|p weapon|p rob
- %pirates.name = $?="enter pirate name $crlf or blank for your self:"
- %pirates.did = $did - 210
- %pirates.play = $gettok(%pirates.play,%pirates.did,124)
- %pirates.play = %pirates.play %pirates.name
- }
- if ($did isnum 250-253) {
- %pirates.len = $len($did($did))
- %pirates.play = p store $left($did($did),%pirates.len) Aye
- }
- elseif ($did isnum 312-320) {
- %pirates.play = p tavern rum|p mercy aye|p heal aye|p mutiny aye|p party aye|p skill train|p Capn Cmd|P Store Buy Lottery Auto 10|p Wench Aye
- %pirates.did = $did - 311
- %pirates.play = $gettok(%pirates.play,%pirates.did,124)
- }
- elseif ($did isnum 401-402) {
- %pirates.play = P top|P rusty
- %pirates.var = $?="blank for top 5 $crlf 2 for top 6-10 $crlf 3 for top 11-15 ect.:"
- %pirates.did = $did - 400
- %pirates.play = $gettok(%pirates.play,%pirates.did,124)
- %pirates.play = %pirates.play %pirates.var
- }
- if ($did isnum 420-428) {
- %pirates.len = $len($did($did))
- %pirates.play = P Request $left($did($did),%pirates.len)
- }
- if ($did isnum 428-434) {
- %pirates.len = $len($did($did))
- %pirates.play = P Request $left($did($did),%pirates.len) $?="enter pirate name $crlf or blank for your self:"
- }
- if ($did isnum 435) {
- %pirates.len = $len($did($did))
- %pirates.play = P Request sail $left($did($did),%pirates.len) $?="Enter city name or cell:"
- }
- if ($did isnum 438-443) {
- %pirates.len = $len($did($did))
- %pirates.play = P Rewards $left($did($did),%pirates.len) Aye
- }
- if ($did isnum 445-453) {
- %pirates.len = $len($did($did))
- %pirates.play = P Port $left($did($did),%pirates.len)
- }
- if ($did isnum 455-462) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Start $left($did($did),%pirates.len)
- }
- if ($did isnum 467-474) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Forget $left($did($did),%pirates.len) $?="Are you sure you want to Forget this Skill $crlf If so Enter skill name If not Cancel :"
- }
- if ($did isnum 475-482) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Quit $left($did($did),%pirates.len)
- }
- elseif ($did isnum 550-561) {
- %pirates.len = $len($did($did))
- %pirates.play = p store buy $left($did($did),%pirates.len) Aye
- }
- msg %pirates.chan %pirates.play
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement