Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Addon]
- Script=Pirates-GamePad
- Version=1.9.3
- Author=QuietSilence
- Desc=!Pirates Game Pad
- For=DragonRyder
- Date=June 26th 2020
- ;NOTE: mod done with permission from MrUno
- menu nicklist {
- Pirates
- .Duel: /say P duel $1
- .Rob: /say P rob $1
- .Status: /say P Status $1
- .Power: /say P Power $1
- .Stamina:/say P Stamina $1
- .Weapon: /say P weapon $1
- .Insult : /say P insult $1
- .Lockpick : /say P Lockpick $1
- .Info : /say P Info $1
- .Charver : /say P Charver $1
- }
- 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 725 0 288 155
- option dbu
- icon pirates.ico, 1
- tab "Player", 1000, 2 1 284 152
- button "Bored", 18, 180 37 32 10, tab 1000
- button "Awake", 44, 113 77 32 10, tab 1000
- button "Bot", 40, 252 37 32 10, tab 1000
- button "Brig", 218, 146 57 32 10, tab 1000
- button "Weapon", 219, 217 27 32 10, tab 1000
- button "Dig", 19, 76 37 32 10, tab 1000
- button "Fish", 25, 76 27 32 10, tab 1000
- button "Crabbin", 26, 216 111 32 10, tab 1000
- button "Work", 27, 76 57 32 10, tab 1000
- button "Steal", 220, 181 111 32 10, tab 1000
- button "love", 28, 4 121 32 10, tab 1000
- button "Hate", 29, 4 131 32 10, tab 1000
- button "legends", 30, 146 47 32 10, tab 1000
- button "Scour", 31, 41 111 32 10, tab 1000
- button "Maps", 32, 180 27 32 10, tab 1000
- button "Mutiny", 315, 4 141 32 10, tab 1000
- button "Party", 316, 146 111 32 10, tab 1000
- button "Rusty", 402, 180 47 32 10, tab 1000
- button "Search", 41, 41 121 32 10, tab 1000
- button "Daily", 13, 113 37 32 10, tab 1000
- button "Goals", 14, 113 47 32 10, tab 1000
- button "Heal", 314, 252 47 32 10, tab 1000
- button "Lockpick", 211, 181 121 32 10, tab 1000
- button "Snatch", 16, 181 131 32 10, tab 1000
- button "Dive", 17, 76 47 32 10, tab 1000
- button "Top", 401, 113 27 32 10, tab 1000
- button "Brandy", 312, 217 57 32 10, tab 1000
- button "Bounties", 54, 217 67 32 10, tab 1000
- button "Mercy", 313, 113 121 32 10, tab 1000
- button "Stamina", 212, 217 37 32 10, tab 1000
- button "Ship Status", 42, 251 111 32 10, tab 1000
- button "Troll", 213, 76 131 32 10, tab 1000
- button "Tasks", 1, 146 27 32 10, tab 1000
- button "Carry", 2, 4 57 32 10, tab 1000
- button "About", 11, 180 57 32 10, tab 1000
- button "Achievement", 12, 147 87 65 10, tab 1000
- button "Rest", 21, 146 121 32 10, tab 1000
- button "Capn Favor", 22, 251 141 32 10, tab 1000
- button "Scuttlebutt", 24, 216 131 32 10, tab 1000
- button "Rig", 8, 4 47 32 10, tab 1000
- button "Steer", 9, 41 47 32 10, tab 1000
- button "Repair", 7, 41 37 32 10, tab 1000
- button "Fix", 5, 41 57 32 10, tab 1000
- button "lookout", 6, 4 37 32 10, tab 1000
- button "Cook", 4, 41 27 32 10, tab 1000
- button "Age", 10, 113 57 32 10, tab 1000
- button "Clean", 3, 4 27 32 10, tab 1000
- button "Swab", 15, 4 67 32 10, tab 1000
- button "Info", 214, 146 37 32 10, tab 1000
- button "Power", 215, 217 47 32 10, tab 1000
- button "Level", 221, 252 27 32 10, tab 1000
- button "Request", 39, 4 111 32 10, tab 1000
- button "Insult", 216, 76 121 32 10, tab 1000
- button "DaveyJones", 217, 76 111 32 10, tab 1000
- text "Players", 500, 76 99 32 10, tab 1000 center
- text "Miscellaneous", 501, 113 99 65 10, tab 1000 center
- text "Lvl 1-5", 502, 4 17 32 10, tab 1000 center
- text "Lvl 6-9", 503, 41 17 32 10, tab 1000 center
- text "Lvl 10+", 504, 76 17 32 10, tab 1000 center
- text "Info", 505, 113 17 99 10, tab 1000 center
- text "Fight", 506, 217 17 67 10, tab 1000 center
- text "Theff", 507, 181 99 32 10, tab 1000 center
- text "Captain", 508, 4 99 32 10, tab 1000 center
- text "Capn Cmds", 509, 251 99 32 10, tab 1000 center
- text "Find", 510, 41 99 32 10, tab 1000 center
- button "Train", 317, 76 67 32 10, tab 1000
- button "Cap Cmd", 318, 251 121 32 10, tab 1000
- button "Aye", 52, 146 131 32 10, tab 1000
- button "Chest", 46, 113 131 32 10, tab 1000
- button "Relations", 33, 146 67 32 10, tab 1000
- button "WWW", 34, 180 77 32 10, tab 1000
- button "Rum", 561, 252 57 32 10, tab 1000
- button "Wench", 254, 252 67 32 10, tab 1000
- button "Requests", 43, 251 131 32 10, tab 1000
- button "Today", 831, 113 67 32 10, tab 1000
- button "Rep", 830, 180 67 32 10, tab 1000
- button "Duel", 815, 217 77 32 10, tab 1000
- button "Defend", 832, 113 111 32 10, tab 1000
- text "Skills", 20, 216 99 32 10, tab 1000 center
- button "Charver", 179, 76 141 32 10, tab 1000
- button "Gamble 5", 23, 216 121 32 10, tab 1000
- button "Status", 178, 146 77 32 10, tab 1000
- button "Fight !", 101, 252 77 32 10, tab 1000
- tab "Buy and Sell", 1001
- button "Chest", 45, 180 101 32 10, tab 1001
- text "Fruit", 515, 76 82 66 10, tab 1001 center
- text "Chest Locks", 516, 214 17 32 10, tab 1001 center
- text "Chest Traps", 517, 248 17 32 10, tab 1001 center
- text "Chests", 518, 181 17 32 10, tab 1001 center
- text "Goods", 519, 214 91 32 10, tab 1001 center
- button "Herbs", 520, 112 17 32 10, tab 1001
- button "Poisons", 521, 146 17 32 10, tab 1001
- text "Tavern", 522, 44 82 30 10, tab 1001 center
- button "Coin", 523, 44 17 32 10, tab 1001
- button "Elixir", 524, 78 17 32 10, tab 1001
- button "Curse", 525, 4 17 36 10, tab 1001
- text "Upgrade", 527, 248 91 32 10, tab 1001 center
- text "Chest", 526, 180 91 32 10, tab 1001 center
- button "Bomb", 85, 248 67 32 10, tab 1001
- button "Spike", 86, 248 57 32 10, tab 1001
- button "Poison", 87, 248 47 32 10, tab 1001
- button "Acid", 88, 248 37 32 10, tab 1001
- button "Curse", 89, 248 27 32 10, tab 1001
- button "large", 158, 181 37 32 10, tab 1001
- button "Medium", 157, 181 27 32 10, tab 1001
- button "Guava", 90, 76 122 32 10, tab 1001
- button "Gooseberries", 91, 76 132 34 10, tab 1001
- button "Genips", 92, 76 112 32 10, tab 1001
- button "Chayote", 93, 76 102 32 10, tab 1001
- button "Ugli", 94, 112 132 30 10, tab 1001
- button "Orange", 95, 110 122 32 10, tab 1001
- button "Noni", 96, 110 112 32 10, tab 1001
- button "Star", 97, 110 142 32 10, tab 1001
- button "Soursop", 98, 76 142 32 10, tab 1001
- button "Mameyl", 99, 110 102 32 10, tab 1001
- button "Luxuries", 150, 214 141 32 10, tab 1001
- button "Materials", 146, 214 131 32 10, tab 1001
- button "Sugar", 147, 214 121 32 10, tab 1001
- button "Spice", 148, 214 111 32 10, tab 1001
- button "Food", 149, 214 101 32 10, tab 1001
- button "Anzid", 80, 146 27 32 10, tab 1001
- button "Green", 47, 112 27 32 10, tab 1001
- button "Sell", 56, 180 111 32 10, tab 1001
- button "Sell All", 57, 180 131 32 10, tab 1001
- button "Steel", 154, 214 57 32 10, tab 1001
- button "Brass", 151, 214 47 32 10, tab 1001
- button "Copper", 152, 214 37 32 10, tab 1001
- button "Iron", 153, 214 27 32 10, tab 1001
- button "Disease", 35, 76 92 66 10, tab 1001
- button "Water", 72, 44 92 30 10, tab 1001
- button "Rum", 73, 44 102 30 10, tab 1001
- button "Mead", 74, 44 112 30 10, tab 1001
- button "Wine", 75, 44 122 30 10, tab 1001
- button "Whiskey", 76, 44 132 30 10, tab 1001
- button "Brandy", 77, 44 142 30 10, tab 1001
- button "LockPick", 55, 214 67 32 10, tab 1001
- button "Goods", 833, 180 121 32 10, tab 1001
- button "Use", 61, 180 141 32 10, tab 1001
- button "Yellow", 49, 112 37 32 10, tab 1001
- button "Red", 51, 112 57 32 10, tab 1001
- button "Brown", 48, 112 47 32 10, tab 1001
- button "Blue", 50, 112 67 32 10, tab 1001
- button "Nightbane", 83, 146 37 32 10, tab 1001
- button "Mosfungus", 79, 146 47 32 10, tab 1001
- button "Furux", 81, 146 57 32 10, tab 1001
- button "Nightmother", 84, 146 67 32 10, tab 1001
- button "Bokor", 82, 146 77 32 10, tab 1001
- button "Plague", 165, 4 67 36 10, tab 1001
- button "Imprisonment", 164, 4 57 36 10, tab 1001
- button "Expel", 163, 4 47 36 10, tab 1001
- button "Shift", 162, 4 77 36 10, tab 1001
- button "Destruction", 160, 4 37 36 10, tab 1001
- button "Decay", 159, 4 27 36 10, tab 1001
- button "Zonbiness", 161, 4 87 36 10, tab 1001
- button "Ducatoon", 168, 44 27 32 10, tab 1001
- button "Farthing", 169, 44 37 32 10, tab 1001
- button "Denier", 167, 44 47 32 10, tab 1001
- button "Cob", 166, 44 57 32 10, tab 1001
- button "Shadow", 173, 78 27 32 10, tab 1001
- button "Health", 172, 78 37 32 10, tab 1001
- button "Gun", 176, 248 101 32 10, tab 1001
- button "Sword", 177, 248 111 32 10, tab 1001
- link "Market Items", 116, 59 71 34 8, tab 1001
- tab "Captain", 1002
- button "Bonus ", 800, 4 25 32 10, tab 1002
- button "Brig", 801, 4 37 32 10, tab 1002
- button "Command", 802, 162 25 32 10, tab 1002
- button "Demote", 803, 4 49 32 10, tab 1002
- button "Free", 804, 4 61 32 10, tab 1002
- button "Flog", 805, 4 73 32 10, tab 1002
- button "Map", 806, 4 85 32 10, tab 1002
- button "Parlay", 808, 40 25 32 10, tab 1002
- button "Plank", 809, 40 37 32 10, tab 1002
- button "Promote", 810, 40 49 32 10, tab 1002
- button "Rum", 811, 40 61 32 10, tab 1002
- button "Rumor", 812, 40 73 32 10, tab 1002
- button "Voucher", 813, 40 85 32 10, tab 1002
- button "Monster", 814, 82 61 32 10, tab 1002
- button "Party", 829, 82 73 32 10, tab 1002
- button "Mass Find", 816, 82 49 32 10, tab 1002
- button "Quest", 817, 82 85 32 10, tab 1002
- button "Rest", 818, 118 25 32 10, tab 1002
- button "Riddle", 819, 118 37 32 10, tab 1002
- button "Share", 820, 118 49 32 10, tab 1002
- button "Special", 821, 118 61 32 10, tab 1002
- button "Rep", 822, 162 61 32 10, tab 1002
- button "Teleport", 823, 118 73 32 10, tab 1002
- button "Request", 824, 162 37 32 10, tab 1002
- button "Favor", 825, 162 73 32 10, tab 1002
- button "Find", 826, 82 37 32 10, tab 1002
- button "Crew Bonus", 827, 82 25 32 10, tab 1002
- button "Stats", 828, 162 49 32 10, tab 1002
- button "Sail To", 59, 101 123 32 10, tab 1002
- button "Confirm", 36, 137 123 32 10, tab 1002
- link "Map", 78, 102 137 12 10, tab 1002
- tab "Miscellaneous", 1004
- text "Requests", 437, 4 17 101 8, tab 1004 center
- text "Ports", 454, 108 17 67 8, tab 1004 center
- button "Crew Bonus", 420, 4 27 32 10, tab 1004
- button "Find", 421, 4 39 32 10, tab 1004
- button "Mass Find", 422, 4 51 32 10, tab 1004
- button "Monster", 423, 4 63 32 10, tab 1004
- button "Party", 424, 4 75 32 10, tab 1004
- button "Quest", 425, 4 87 32 10, tab 1004
- button "Rest", 426, 38 27 32 10, tab 1004
- button "Share", 427, 38 39 32 10, tab 1004
- button "Rumor", 428, 38 51 32 10, tab 1004
- button "Bonus", 429, 38 63 32 10, tab 1004
- button "Map", 430, 38 75 32 10, tab 1004
- button "Parlay", 431, 38 87 32 10, tab 1004
- button "Punish", 432, 72 27 32 10, tab 1004
- button "Rum", 433, 72 39 32 10, tab 1004
- button "Voucher", 434, 72 51 32 10, tab 1004
- button "Sail", 435, 72 63 32 10, tab 1004
- button "Doubloons", 438, 4 111 32 10, tab 1004
- button "Ornamental", 439, 4 123 32 10, tab 1004
- button "Power", 440, 4 135 32 10, tab 1004
- button "Random", 441, 40 111 32 10, tab 1004
- button "Stamina", 442, 40 123 32 10, tab 1004
- button "Voucher", 443, 40 135 32 10, tab 1004
- text "Rewards", 444, 4 99 69 8, tab 1004 center
- button "Port", 445, 108 27 32 10, tab 1004
- button "Faction", 446, 108 39 32 10, tab 1004
- button "Closest", 447, 108 51 32 10, tab 1004
- button "Claimed", 448, 108 63 32 10, tab 1004
- button "Status", 449, 142 27 32 10, tab 1004
- button "Today", 450, 142 39 32 10, tab 1004
- button "Unclaimed", 451, 142 51 32 10, tab 1004
- button "Winner", 452, 142 63 32 10, tab 1004
- button "Rep", 453, 108 85 32 10, tab 1004
- button "Charisma", 455, 176 33 32 10, tab 1004
- button "Defense", 456, 210 33 32 10, tab 1004
- button "Fishing", 457, 244 33 32 10, tab 1004
- button "Luck", 458, 176 45 32 10, tab 1004
- button "Meditation", 459, 210 45 32 10, tab 1004
- button "Marksmanship", 460, 176 57 44 10, tab 1004
- button "Thievery", 461, 244 45 32 10, tab 1004
- button "Swordsmanship", 462, 232 57 44 10, tab 1004
- text "Quit", 463, 176 109 101 8, tab 1004 center
- text "Forget", 464, 176 67 101 8, tab 1004 center
- text "Start", 465, 176 25 103 8, tab 1004 center
- text "Skills", 466, 176 17 103 8, tab 1004 center
- button "Charisma", 467, 176 75 32 10, tab 1004
- button "Defense", 468, 210 75 32 10, tab 1004
- button "Fishing", 469, 244 75 32 10, tab 1004
- button "Luck", 470, 176 87 32 10, tab 1004
- button "Meditation", 471, 210 87 32 10, tab 1004
- button "Marksmanship", 472, 176 99 44 10, tab 1004
- button "Thievery", 473, 244 87 32 10, tab 1004
- button "Swordsmanship", 474, 232 99 44 10, tab 1004
- button "Charisma", 475, 176 117 32 10, tab 1004
- button "Defense", 476, 210 117 32 10, tab 1004
- button "Fishing", 477, 244 117 32 10, tab 1004
- button "Luck", 478, 176 129 32 10, tab 1004
- button "Meditation", 479, 210 129 32 10, tab 1004
- button "Marksmanship", 480, 176 141 44 10, tab 1004
- button "Thievery", 481, 244 129 32 10, tab 1004
- button "Swordsmanship", 482, 232 141 44 10, tab 1004
- button "Ports", 100, 142 74 32 10, tab 1004
- button "Port Info", 53, 108 74 32 10, tab 1004
- tab "Ship/Wright", 3000
- button "Captain", 700, 4 29 32 10, tab 3000
- button "HP", 701, 4 41 32 10, tab 3000
- button "Near", 705, 4 53 32 10, tab 3000
- button "Ordnance", 706, 4 65 32 10, tab 3000
- button "Players", 707, 42 29 32 10, tab 3000
- button "Ports", 708, 42 41 32 10, tab 3000
- button "Stats", 709, 42 53 32 10, tab 3000
- button "Status", 710, 42 65 32 10, tab 3000
- button "Tasks", 703, 78 53 32 10, tab 3000
- button "Treasure", 702, 78 41 32 10, tab 3000
- button "Upgrades", 704, 78 29 32 10, tab 3000
- button "Insult", 713, 78 77 32 10, tab 3000
- button "Message", 712, 4 77 32 10, tab 3000
- button "Info", 711, 78 65 32 10, tab 3000
- button "Taunt", 714, 42 77 32 10, tab 3000
- text "Ship", 716, 4 17 107 10, tab 3000 center
- button "Repair", 102, 114 41 32 10, tab 3000
- button "Cannon", 103, 114 77 32 10, tab 3000
- button "Grease", 104, 114 65 32 10, tab 3000
- button "Clean", 105, 114 53 32 10, tab 3000
- button "Exploding", 106, 149 41 32 10, tab 3000
- button "Canister", 107, 149 53 32 10, tab 3000
- button "Chain", 108, 149 65 32 10, tab 3000
- button "Teleport Stone", 109, 235 65 48 10, tab 3000
- button "Harpoon", 110, 184 65 48 10, tab 3000
- button "Cotton Sails", 111, 184 53 48 10, tab 3000
- button "Copper Plating", 112, 235 41 48 10, tab 3000
- button "Fine-Grain Powder", 113, 235 53 48 10, tab 3000
- button "Bronze Cannons", 114, 184 41 48 10, tab 3000
- text "Ship Wright", 120, 114 17 169 10, tab 3000 center
- text "Shot", 117, 149 29 32 10, tab 3000 center
- text "Upgrades", 118, 183 29 100 10, tab 3000 center
- text "Basic", 119, 114 29 32 10, tab 3000 center
- link "UpGrades", 115, 219 77 24 9, tab 3000
- tab "Store", 62
- button "Bribe", 552, 6 66 32 10, tab 62
- button "Sell Gun", 250, 6 36 32 10, tab 62
- button "Sell Sword", 251, 6 46 32 10, tab 62
- button "Buy Sword", 252, 38 46 32 10, tab 62
- button "Buy Gun", 253, 38 36 32 10, tab 62
- button "Spouse", 553, 38 76 32 10, tab 62
- button "Sharpen", 554, 38 26 32 10, tab 62
- button "Youth", 155, 6 76 32 10, tab 62
- button "Parlay", 156, 38 66 32 10, tab 62
- button "Rum", 556, 6 26 32 10, tab 62
- button "Nickname", 58, 70 76 40 10, tab 62
- button "Rename Gun", 37, 70 56 40 10, tab 62
- button "Repair Gun", 558, 70 36 40 10, tab 62
- button "Repair Sword", 559, 70 46 40 10, tab 62
- button "Rename Sword", 38, 70 66 40 10, tab 62
- button "Custom", 60, 38 56 32 10, tab 62
- button "Male", 63, 8 104 32 10, tab 62
- button "Female", 64, 40 104 32 10, tab 62
- button "Undisclosed", 65, 72 104 32 10, tab 62
- button "Native", 66, 40 140 32 10, tab 62
- button "English", 67, 8 130 32 10, tab 62
- button "Jesuit", 68, 72 140 32 10, tab 62
- button "Spanish", 71, 72 130 32 10, tab 62
- button "French", 69, 40 130 32 10, tab 62
- button "Dutch", 70, 8 140 32 10, tab 62
- text "Buy Faction", 511, 4 120 104 10, tab 62 center
- text "Buy Gender", 512, 4 94 104 10, tab 62 center
- button "Lottery", 319, 6 56 32 10, tab 62
- button "BlackPowder", 551, 70 26 40 10, tab 62
- text "Ship Store", 528, 6 16 104 10, tab 62 center
- }
- 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-61,63-116,146-169,172-173,176-179,211-221,250-254,311-320,401-402,420-435,438-463,466-482,520-525,550-561,700-714,800-834:{
- if ($did isnum 1-35) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len)
- }
- elseif ($did isnum 36) {
- %pirates.len = $len($did($did))
- %pirates.play = P Sail %QS.port
- }
- elseif ($did isnum 39-46) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len)
- }
- elseif ($did isnum 37-38) {
- %pirates.len = $len($did($did))
- %pirates.play = P store buy $left($did($did),%pirates.len) $?="enter Name:"
- }
- elseif ($did isnum 47-51) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Herb $left($did($did),%pirates.len)
- }
- elseif ($did isnum 52) {
- %pirates.play = P Aye
- }
- elseif ($did isnum 53) {
- %pirates.play = p port info $dialog(Ports,Ports)
- }
- elseif ($did isnum 54) {
- %pirates.play = P Bounties
- }
- elseif ($did isnum 55) {
- %pirates.play = P Market Buy Lockpick
- }
- elseif ($did isnum 56) {
- %pirates.play = P Market Sell $?="enter Item Number:"
- }
- elseif ($did isnum 57) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Sell All Ornamental Aye
- }
- elseif ($did isnum 58) {
- %pirates.len = $len($did($did))
- %pirates.play = P Store Buy Nickname change
- }
- elseif ($did isnum 59) {
- %pirates.len = $len($did($did))
- %pirates.play = P sail $dialog(Ports,Ports)
- }
- elseif ($did isnum 60) {
- %pirates.len = $len($did($did))
- %pirates.play = p store buy custom $?="enter gun or sword:" $?="enter color:"
- }
- 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)
- }
- elseif ($did isnum 78) {
- /url -an http://beastly.square7.ch/pirates/map/
- /halt
- }
- elseif ($did isnum 79-84) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Poison $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) {
- %pirates.len = $len($did($did))
- %pirates.play = P port $dialog(Ports,Ports)
- }
- elseif ($did isnum 101) {
- /Fight
- /halt
- }
- elseif ($did isnum 102-105) {
- %pirates.len = $len($did($did))
- %pirates.play = P SW Buy $left($did($did),%pirates.len)
- }
- elseif ($did isnum 106-108) {
- %pirates.len = $len($did($did))
- %pirates.play = P SW Buy $left($did($did),%pirates.len) shot
- }
- elseif ($did isnum 109-114) {
- %pirates.len = $len($did($did))
- %pirates.play = P SW Buy $left($did($did),%pirates.len)
- }
- elseif ($did isnum 115) {
- /url -an https://mruno.org/Pirates/ship.html
- /halt
- }
- elseif ($did isnum 116) {
- /url -an https://mruno.org/Pirates/apprentice.html
- /halt
- }
- elseif ($did isnum 146-150) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Goods $left($did($did),%pirates.len)
- }
- elseif ($did isnum 151-154) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Chest Lock $left($did($did),%pirates.len)
- }
- elseif ($did isnum 155-156) {
- %pirates.play = P Store Buy $left($did($did),%pirates.len)
- }
- elseif ($did isnum 157-158) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market buy Chests $left($did($did),%pirates.len)
- }
- elseif ($did isnum 159-164) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Curse $left($did($did),%pirates.len)
- }
- elseif ($did isnum 165-169) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy coin $left($did($did),%pirates.len)
- }
- elseif ($did isnum 172-173) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Buy Elixir $left($did($did),%pirates.len)
- }
- elseif ($did isnum 176-177) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market Upgrade $left($did($did),%pirates.len)
- }
- elseif ($did isnum 178-179) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len) $snick(%pirates.chan,1)
- }
- elseif ($did isnum 211-220) {
- %pirates.play = P lockpick|P stamina|P troll|P Info|P Power|P Insult|P DaveyJones|P brig|P weapon|P rob
- %pirates.name = $snick(%pirates.chan,1)
- %pirates.did = $did - 210
- %pirates.play = $gettok(%pirates.play,%pirates.did,124)
- %pirates.play = %pirates.play %pirates.name
- }
- elseif ($did isnum 221) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len)
- }
- elseif ($did isnum 250-253) {
- %pirates.len = $len($did($did))
- %pirates.play = P store $left($did($did),%pirates.len) Aye
- }
- elseif ($did isnum 254) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len) Aye
- }
- elseif ($did isnum 312-320) {
- %pirates.play = P tavern brandy|P mercy|P heal aye|P mutiny aye|P party aye|P skill train|P Capn Cmd|P Store Buy Lottery Auto 1|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
- }
- elseif ($did isnum 420-428) {
- %pirates.len = $len($did($did))
- %pirates.play = P Request $left($did($did),%pirates.len)
- }
- elseif ($did isnum 428-434) {
- %pirates.len = $len($did($did))
- %pirates.play = P Request $left($did($did),%pirates.len) $snick(%pirates.chan,1)
- }
- elseif ($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
- }
- elseif ($did isnum 445-453) {
- %pirates.len = $len($did($did))
- %pirates.play = P Port $left($did($did),%pirates.len)
- }
- elseif ($did isnum 455-462) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Start $left($did($did),%pirates.len)
- }
- elseif ($did isnum 467-474) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Forget $left($did($did),%pirates.len) $?="Are you shure you want to Forget this Skill $crlf If so Enter skill name If not Cancel :"
- }
- elseif ($did isnum 475-482) {
- %pirates.len = $len($did($did))
- %pirates.play = P Skill Quit $left($did($did),%pirates.len)
- }
- elseif ($did isnum 520-525) {
- %pirates.len = $len($did($did))
- %pirates.play = P Market $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
- }
- elseif ($did isnum 700-710) {
- %pirates.len = $len($did($did))
- %pirates.play = P ship $left($did($did),%pirates.len) $dialog(Ships,Ships)
- }
- elseif ($did isnum 711) {
- %pirates.play = P Ship Info $dialog(Ships,Ships)
- }
- elseif ($did isnum 712) {
- %pirates.play = P Ship Message $dialog(Ships,Ships) $+ : $?="Enter mesage:"
- }
- elseif ($did isnum 713-714) {
- %pirates.play = P Ship Taunt $dialog(Ships,Ships)
- }
- elseif ($did isnum 800-814) {
- %pirates.len = $len($did($did))
- %pirates.play = P Captain $left($did($did),%pirates.len) $snick(%pirates.chan,1)
- }
- elseif ($did isnum 815) {
- %pirates.len = $len($did($did))
- %pirates.play = P Duel $snick(%pirates.chan,1)
- }
- elseif ($did isnum 816-829) {
- %pirates.len = $len($did($did))
- %pirates.play = P Captain $left($did($did),%pirates.len)
- }
- elseif ($did isnum 830-834) {
- %pirates.len = $len($did($did))
- %pirates.play = P $left($did($did),%pirates.len)
- }
- msg %pirates.chan %pirates.play
- }
- ;----------------------------------------------------------------------------------------------------------
- alias Ships dialog - $+ $iif($dialog(Ships),v,m) Ships Ships
- dialog -l Ships {
- title "Ships"
- size 0 0 79 111
- option dbu
- icon pirates.ico, 1
- combo 10, 2 11 75 86, result sort
- text "Curent Ship", 4, 2 2 75 8, center
- button "OK", 1, 2 97 37 12, ok
- button "Cancel", 2, 40 97 37 12, cancel
- }
- ON *:DIALOG:Ships:init:*: {
- did -a $dname 10 The Wandering Soul
- did -a $dname 10 HMS Interceptor
- did -a $dname 10 Mousey McMouseface
- did -a $dname 10 Dark Sails
- did -a $dname 10 The robothive
- did -a $dname 10 Twisted Mystic
- did -a $dname 10 The Golden Hind
- did -a $dname 10 The Elite
- did -a $dname 10 The Revenge
- did -a $dname 10 Ztvland Raiders
- did -a $dname 10 Rising Sun
- }
- ON *:DIALOG:Ships:sclick:*:{
- if ($did isnum 10) {
- set %QS.Ship $did($dname,10).text
- /return
- }
- elseif ($did isnum 5) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Duel %QS.Pirate %QS.Ship
- }
- elseif ($did isnum 6,) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Power %QS.Pirate %QS.Ship
- }
- elseif ($did isnum 9) {
- %pirates.play = P Duel $snick(%pirates.chan,1)
- }
- elseif ($did isnum 12) {
- %pirates.play = P Power $snick(%pirates.chan,1)
- }
- elseif ($did isnum 16) {
- %pirates.play = P Rob %QS.Pirate %QS.Ship
- }
- elseif ($did isnum 17) {
- %pirates.play = P DJ %QS.Pirate %QS.Ship
- }
- elseif ($did isnum 18) {
- %pirates.play = P DJ $snick(%pirates.chan,1)
- }
- elseif ($did isnum 19) {
- %pirates.play = P Rob $snick(%pirates.chan,1)
- }
- else {
- /return
- /halt
- }
- msg %pirates.chan %pirates.play
- }
- ;----------------------------------------------------------------------------------------------------------
- alias Ports dialog - $+ $iif($dialog(Ports),v,m) Ports Ports
- dialog -l Ports {
- title "Ports"
- size 525 0 79 240
- option dbu
- icon pirates.ico, 1
- combo 1, 2 15 75 215, result sort
- button "OK", 3, 2 226 37 12, ok
- button "Cancel", 2, 40 226 37 12, cancel
- text "Ports", 4, 2 2 75 11, center
- }
- ON *:DIALOG:Ports:init:*: {
- did -a $dname 1 Antigua
- did -a $dname 1 Barbados
- did -a $dname 1 Bermuda
- did -a $dname 1 Campeche
- did -a $dname 1 Caracas
- did -a $dname 1 Cartagena
- did -a $dname 1 Coro
- did -a $dname 1 Cumana
- did -a $dname 1 Curacao
- did -a $dname 1 Eluthera
- did -a $dname 1 Florida Keys
- did -a $dname 1 Gibraltar
- did -a $dname 1 Gran Grenada
- did -a $dname 1 Grand Bahama
- did -a $dname 1 Guadeloupe
- did -a $dname 1 Havana
- did -a $dname 1 Leogane
- did -a $dname 1 Maracaibo
- did -a $dname 1 Margarita
- did -a $dname 1 Martinique
- did -a $dname 1 Montserrat
- did -a $dname 1 Nassau
- did -a $dname 1 Nevis
- did -a $dname 1 Nombre de dios
- did -a $dname 1 Panama
- did -a $dname 1 Petit Goave
- did -a $dname 1 Port-de-Paix
- did -a $dname 1 Puerto Bello
- did -a $dname 1 Puerto Cabello
- did -a $dname 1 Puerto Principe
- did -a $dname 1 Rio de la Hacha
- did -a $dname 1 San Juan
- did -a $dname 1 Santa Catalina
- did -a $dname 1 Santa Marta
- did -a $dname 1 Santiago de La Vega
- did -a $dname 1 Santiago
- did -a $dname 1 Santo Domingo
- did -a $dname 1 Sint Maarten
- did -a $dname 1 St. Augustine
- did -a $dname 1 St. Eustatius
- did -a $dname 1 St. Kitts
- did -a $dname 1 St. Martin
- did -a $dname 1 Tortuga
- did -a $dname 1 Trinidad
- did -a $dname 1 Vera Cruz
- did -a $dname 1 Villa Hermosa
- }
- ON *:DIALOG:Ports:sclick:*:{
- if ($did isnum 1) {
- set %QS.port $did($dname,1).text
- /return
- }
- }
- ;----------------------------------------------------------------------------------------------------------
- alias Fight dialog - $+ $iif($dialog(Fight),v,m) Fight Fight
- dialog -l Fight {
- title "Fight"
- size 0 0 163 73
- option dbu
- icon pirates.ico, 1
- button "Duel Port", 5, 122 29 37 12
- button "Power Port", 6, 84 29 37 12
- edit %QS.Pirate, 7, 84 17 75 10
- button "Duel Ship", 9, 41 16 37 12
- button "Power Ship", 12, 3 16 37 12
- text "Port Ship Curent Pirate", 13, 84 5 75 10, center
- text "Our Ship High-lighted Nick", 14, 3 5 75 10, center
- box "", 3, 82 0 80 58
- box "", 15, 1 0 80 43
- button "Rob Port", 16, 84 44 37 12
- button "DJ Port ", 17, 122 44 37 12
- button "Rob Ship", 18, 3 29 37 12
- button "DJ Ship", 19, 41 29 37 12
- button "Level", 1, 3 44 37 12
- button "Rum Tavern", 2, 41 59 37 12
- button "Rum Ship", 4, 3 59 37 12
- button "Wench", 8, 41 44 37 12
- button "Sharpen", 10, 83 59 37 12
- button "Black Powder", 11, 122 59 37 12
- }
- ON *:DIALOG:Fight:sclick:*:{
- if ($did isnum 1) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Level
- }
- elseif ($did isnum 2) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Tavern Rum
- }
- elseif ($did isnum 4) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Store Rum
- }
- elseif ($did isnum 8) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Wench Aye
- }
- elseif ($did isnum 10) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Store Sharpen
- }
- elseif ($did isnum 11) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Store Black Powder
- }
- elseif ($did isnum 5,) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Duel %QS.Pirate $dialog(Ships,Ships)
- }
- elseif ($did isnum 6,) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Power %QS.Pirate $dialog(Ships,Ships)
- }
- elseif ($did isnum 9) {
- %pirates.play = P Duel $snick(%pirates.chan,1)
- }
- elseif ($did isnum 12) {
- %pirates.play = P Power $snick(%pirates.chan,1)
- }
- elseif ($did isnum 16) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P Rob %QS.Pirate $dialog(Ships,Ships)
- }
- elseif ($did isnum 17) {
- set %QS.Pirate $did($dname,7).text
- %pirates.play = P DJ %QS.Pirate $dialog(Ships,Ships)
- }
- elseif ($did isnum 18) {
- %pirates.play = P Rob $snick(%pirates.chan,1)
- }
- elseif ($did isnum 19) {
- %pirates.play = P DJ $snick(%pirates.chan,1)
- }
- else {
- /return
- /halt
- }
- msg %pirates.chan %pirates.play
- }
Add Comment
Please, Sign In to add comment