Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd add shopex # SHOP | Nuxeel
- cmd add shopex %shop%[\"type\"] = \"form\"
- cmd add shopex %shop%[\"title\"] = \"Shop Menu\"
- cmd add shopex %shop%[\"content\"] = \"\\n Welcome to the Shop \"+ %p% + \"!\\n\"
- cmd add shopex # -- BUTTONS --
- cmd add shopex %btn-0%[\"text\"] = \"Armor\"
- cmd add shopex %btn-1%[\"text\"] = \"Tools\"
- cmd add shopex %btn-2%[\"text\"] = \"Blocks\"
- cmd add shopex %btn-3%[\"text\"] = \"Food\"
- cmd add shopex # --
- cmd add shopex # Add all buttons to array
- cmd add shopex %buttons%[] = %btn-0%
- cmd add shopex %buttons%[] = %btn-1%
- cmd add shopex %buttons%[] = %btn-2%
- cmd add shopex %buttons%[] = %btn-3%
- cmd add shopex %shop%[\"buttons\"] = %buttons%
- cmd add shopex # Show form
- cmd add shopex %btn-number% =
- cmd add shopex %btn-number% = dialog(%p%, %shop%)
- cmd add shopex if varset(%btn-number%) = 0 then exit
- cmd add shopex if %btn-number% = 0 then goto 40
- cmd add shopex if %btn-number% = 1 then goto 90
- cmd add shopex if %btn-number% = 2 then goto 91
- cmd add shopex if %btn-number% = 3 then goto 91
- cmd add shopex exit
- cmd edit shopex 40 # Armor Shop | Line 40
- cmd add shopex %armor%[\"type\"] = \"form\"
- cmd add shopex %armor%[\"title\"] = \"Armor Shop\"
- cmd add shopex %armor%[\"content\"] = \"\\n Welcome to Armor Shop \" + %p% + \"!\\n\"
- cmd add shopex # -- BUTTONS
- cmd add shopex %helm%[\"text\"] = \"Helmet\"
- cmd add shopex %chest%[\"text\"] = \"Chestplate\"
- cmd add shopex %leggings%[\"text\"] = \"Leggings\"
- cmd add shopex %boots%[\"text\"] = \"Boots\"
- cmd add shopex %back%[\"text\"] = \"Back to Menu\"
- cmd add shopex # --
- cmd add shopex %buttons% =
- cmd add shopex %buttons%[] = %helm%
- cmd add shopex %buttons%[] = %chest%
- cmd add shopex %buttons%[] = %leggings%
- cmd add shopex %buttons%[] = %boots%
- cmd add shopex %buttons%[] = %back%
- cmd add shopex %armor%[\"buttons\"] = %buttons%
- cmd add shopex %response% =
- cmd add shopex %response% = dialog(%p%, %armor%)
- cmd add shopex if varset(%response%) = 0 then exit
- cmd add shopex if %response% = 0 then goto 66
- cmd add shopex if %response% = 1 then goto 75
- cmd add shopex if %response% = 2 then goto 76
- cmd add shopex if %response% = 3 then goto 77
- cmd add shopex goto 17
- cmd add shopex # Helmet
- cmd add shopex %price% = 600
- cmd add shopex %bal% = playerbalance(%p%)
- cmd add shopex if (%bal%) >= (%price%) then goto 72
- cmd add shopex message %p% Not enough money!
- cmd add shopex exit
- cmd add shopex ascon /takemoney %p% %price%
- cmd add shopex ascon /give %p% 310 1
- cmd add shopex exit
- cmd add shopex # <add your procedures here>
- cmd add shopex # <add your procedures here>
- cmd add shopex # <add your procedures here>
- cmd add shopex exit
- cmd edit shopex 90 # Tools | Line 90
- cmd add shopex # <add your procedures here>
- cmd add shopex # <add your procedures here>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement