AlkarGreener
December 22nd, 2020, 11:09
I have created a script and registered it as a chat command. I want to add a button next to the dice that runs the same script.
I have created a class and added it to the desktop by copying and modifying other items, and have tried calling the script using the <script> tag with no luck. Any assistance is welcome.
<windowclass name="wilddiewindow"> <!-- match die size & alignment, etc. in the future -->
<backcolor>ffe81f</backcolor>
<sizelimits>
<dynamic />
<minimum width="64" height="64" />
</sizelimits>
<sheetdata>
<buttoncontrol template="button_wilddie">
<anchored position="insidetopleft" offset="2,2" width="48" height="48" />
<state icon="wd6icon" />
<tooltip>
<text>Wild Die</text>
</tooltip>
</buttoncontrol>
</sheetdata>
</windowclass>
<panel name="wildiewindow" modes="host,client">
<class>wilddiewindow</class>
<bounds>5,-100,64,57</bounds>
<dynamic />
<locked />
</panel>
I have created a class and added it to the desktop by copying and modifying other items, and have tried calling the script using the <script> tag with no luck. Any assistance is welcome.
<windowclass name="wilddiewindow"> <!-- match die size & alignment, etc. in the future -->
<backcolor>ffe81f</backcolor>
<sizelimits>
<dynamic />
<minimum width="64" height="64" />
</sizelimits>
<sheetdata>
<buttoncontrol template="button_wilddie">
<anchored position="insidetopleft" offset="2,2" width="48" height="48" />
<state icon="wd6icon" />
<tooltip>
<text>Wild Die</text>
</tooltip>
</buttoncontrol>
</sheetdata>
</windowclass>
<panel name="wildiewindow" modes="host,client">
<class>wilddiewindow</class>
<bounds>5,-100,64,57</bounds>
<dynamic />
<locked />
</panel>