Looking to add a few button to the IBControl mini remote. Things like primary portal recall, navboost off, and a couple attack ranges.
Would it be difficult to do? I've made some minor add/changes to meta, but don't have a lot of experience with it.
Great Meta and plugin BTW. Super handy
IBControl Remote add buttons
- Immortalbob
- Site Admin
- Posts: 676
- Contact:
If you can find the create view (i cant remember what state its in) open it, export it to chat with the p button, copy/paste it into notepad, make your additions, and delete the create view, and create a new one (its way easier than deleting the line) and paste in you modified notepad. just make sure the line is in the same spot.
Immortalbob of MT
Thanks Immortalbob, worked great for the Primary portal recall and turning off NavBoost.
Running into a couple errors on the attackrange buttons. Any suggestions?
Errors
[VTank] Error in Button meta expression: True (Operand without intervening operator: "chatbox[\/f \#optset attackdistance 0.063]")
[VTank] Error in Button meta expression: True (Operand without intervening operator: "chatbox[\/f \#optset attackdistance 0.294]")
Running into a couple errors on the attackrange buttons. Any suggestions?
Code: Select all
<?xml version="1.0"?>
<view width="168" height="217" title="IBC Remote">
<control type="layout">
<control type="button" name="All On" left="6" top="6" width="75" height="15" text="All On" setstate="Default2" actionexpr="chatbox[\/f \#action all on]" />
<control type="button" name="All Off" left="87" top="6" width="75" height="15" text="All Off" setstate="Default2" actionexpr="chatbox[\/f \#action all off]" />
<control type="button" name="Follow" left="6" top="27" width="75" height="15" text="Follow" setstate="Default2" actionexpr="chatbox[\/f \#action follow]" />
<control type="button" name="Stay" left="87" top="27" width="75" height="15" text="Stay" setstate="Default2" actionexpr="chatbox[\/f \#action stay]" />
<control type="button" name="Nav BOff" left="87" top="48" width="75" height="15" text="Nav BOff" setstate="Default2" actionexpr="chatbox[\/f \#optset navpriorityboost false]" />
<control type="button" name="Forcebuff" left="6" top="48" width="75" height="15" text="Forcebuff" setstate="Default2" actionexpr="chatbox[\/f \#action buff]" />
<control type="button" name="Combat On" left="6" top="69" width="75" height="15" text="Combat On" setstate="Default2" actionexpr="chatbox[\/f \#optset enablecombat true]" />
<control type="button" name="Combat Off" left="87" top="69" width="75" height="15" text="Combat Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablecombat false]" />
<control type="button" name="Nav Off" left="87" top="90" width="75" height="15" text="Nav Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablenav false]" />
<control type="button" name="Nav On" left="6" top="90" width="75" height="15" text="Nav On" setstate="Default2" actionexpr="chatbox[\/f \#optset enablenav true]" />
<control type="button" name="Rares Only" left="87" top="111" width="75" height="15" text="Rares Only" setstate="Default2" actionexpr="chatbox[\/f \#action rares only]" />
<control type="button" name="Loot All" left="6" top="111" width="75" height="15" text="Loot All" setstate="Default2" actionexpr="chatbox[\/f \#action loot all]" />
<control type="button" name="Primary R" left="6" top="132" width="75" height="15" text="Primary R" setstate="Default2" actionexpr="chatbox[\/f \#navto Primary]" />
<control type="button" name="Buff Off" left="87" top="132" width="75" height="15" text="Buff Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablebuffing false]" />
<control type="button" name="Portal" left="6" top="174" width="75" height="15" text="Portal" setstate="Default2" actionexpr="chatbox[\/f \#action ucp]" />
<control type="button" name="Range 15" left="87" top="174" width="75" height="15" text="Range 15" setstate="Default2" actionexpr="chatbox[\/f \#optset attackdistance 0.063]" />
<control type="button" name="Range Max" left="6" top="195" width="75" height="15" text="Range Max" setstate="Default2" actionexpr="chatbox[\/f \#optset attackdistance 0.294]" />
</control>
</view>
[VTank] Error in Button meta expression: True (Operand without intervening operator: "chatbox[\/f \#optset attackdistance 0.063]")
[VTank] Error in Button meta expression: True (Operand without intervening operator: "chatbox[\/f \#optset attackdistance 0.294]")
- Immortalbob
- Site Admin
- Posts: 676
- Contact:
Code: Select all
This probably:
chatbox[cstr[\/f \#optset attackdistance 0.063]]
This maybe:
cstr[chatbox[\/f \#optset attackdistance 0.063]]
OR!
you gotta escape the numbers and .
Code: Select all
chatbox[\/f \#optset attackdistance \0\.\0\6\3]
Immortalbob of MT
- Immortalbob
- Site Admin
- Posts: 676
- Contact:
Also wanted to say, thanks for taking the time to learn about how it functions
Immortalbob of MT
Thanks Immortalbob, escape the numbers and . worked
Learn something new everyday
Learn something new everyday
Code: Select all
<?xml version="1.0"?>
<view width="168" height="217" title="IBC Remote">
<control type="layout">
<control type="button" name="All On" left="6" top="6" width="75" height="15" text="All On" setstate="Default2" actionexpr="chatbox[\/f \#action all on]" />
<control type="button" name="All Off" left="87" top="6" width="75" height="15" text="All Off" setstate="Default2" actionexpr="chatbox[\/f \#action all off]" />
<control type="button" name="Follow" left="6" top="27" width="75" height="15" text="Follow" setstate="Default2" actionexpr="chatbox[\/f \#action follow]" />
<control type="button" name="Stay" left="87" top="27" width="75" height="15" text="Stay" setstate="Default2" actionexpr="chatbox[\/f \#action stay]" />
<control type="button" name="Nav BOff" left="87" top="48" width="75" height="15" text="Nav BOff" setstate="Default2" actionexpr="chatbox[\/f \#optset navpriorityboost false]" />
<control type="button" name="Forcebuff" left="6" top="48" width="75" height="15" text="Forcebuff" setstate="Default2" actionexpr="chatbox[\/f \#action buff]" />
<control type="button" name="Combat On" left="6" top="69" width="75" height="15" text="Combat On" setstate="Default2" actionexpr="chatbox[\/f \#optset enablecombat true]" />
<control type="button" name="Combat Off" left="87" top="69" width="75" height="15" text="Combat Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablecombat false]" />
<control type="button" name="Nav Off" left="87" top="90" width="75" height="15" text="Nav Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablenav false]" />
<control type="button" name="Nav On" left="6" top="90" width="75" height="15" text="Nav On" setstate="Default2" actionexpr="chatbox[\/f \#optset enablenav true]" />
<control type="button" name="Rares Only" left="87" top="111" width="75" height="15" text="Rares Only" setstate="Default2" actionexpr="chatbox[\/f \#action rares only]" />
<control type="button" name="Loot All" left="6" top="111" width="75" height="15" text="Loot All" setstate="Default2" actionexpr="chatbox[\/f \#action loot all]" />
<control type="button" name="Primary R" left="6" top="132" width="75" height="15" text="Primary R" setstate="Default2" actionexpr="chatbox[\/f \#navto Primary]" />
<control type="button" name="Buff Off" left="87" top="132" width="75" height="15" text="Buff Off" setstate="Default2" actionexpr="chatbox[\/f \#optset enablebuffing false]" />
<control type="button" name="Portal" left="6" top="174" width="75" height="15" text="Portal" setstate="Default2" actionexpr="chatbox[\/f \#action ucp]" />
<control type="button" name="Range 15" left="87" top="174" width="75" height="15" text="Range 15" setstate="Default2" actionexpr="chatbox[\/f \#optset attackdistance \0\.\0\6\3]" />
<control type="button" name="Range Max" left="6" top="195" width="75" height="15" text="Range Max" setstate="Default2" actionexpr="chatbox[\/f \#optset attackdistance \0\.\2\9\4]" />
</control>
</view>