Jump to content

Recommended Posts

Posted (edited)

You should consider using input lists.

 

First, it would save you a lot of space (I do in one line what you do in one HTM). Second, it would lighten HTM content by a lot. Third, it is far easier to go from one pack to another (you only have to edit combobox content, without touching HTM integrity).

 

aCis style for reload command :

29yktag.jpg

 

Code to use :

Reload
<table width=240>
<tr>
<td><combobox width=120 height=21 var="cb" list=acar;config;crest;cw;door;htm;item;multisell;npc;npcwalker;scripts;skill;teleport;zone;></td>
<td><button value="Reload" action="bypass -h admin_reload $cb" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>
</table><br>
Edited by Tryskell
Posted

thats true you can make versions for other projects/chronicles also without change the html construction and +1 to continue your work since you like it :)

Posted

 

You should consider using input lists.

 

First, it would save you a lot of space (I do in one line what you do in one HTM). Second, it would lighten HTM content by a lot. Third, it is far easier to go from one pack to another (you only have to edit combobox content, without touching HTM integrity).

 

 

Input lists its only for profesional guys.. -.-

 

if you want to do in one line all HTM / Make gm shop and add all items (weapond/armor/jew/scroll/pot/ss/etc...) in one Multsell... its this helpful ?

 

I create admin panel for newbies and without buttons for more simple

 

and its for newbies because before you select your command you can read a Admin command ( so newbies learn to text what they want to do )

 

Main Page:

jT57Y0g.png

  • Like 1
Posted

para poly wraio, poly eykolo kai poly xreisimo gia tous admin's,gm's.

 

Poly kalh douleia.

 

Mprabo!

 

Synxaritiria!

 

Synexeise etc!!

Posted

Reload
<table width=240>
<tr>
<td><combobox width=120 height=21 var="cb" list=acar;config;crest;cw;door;htm;item;multisell;npc;npcwalker;scripts;skill;teleport;zone;></td>
<td><button value="Reload" action="bypass -h admin_reload $cb" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
</tr>
</table><br>

 

nothing pro on this

lets start with this one "bypass -h admin_reload $cb" this will reload the $cb that takes values from a list listed here in a combo box :

the var is var="cb" (it can be anything)

 

and the list of reloads is for example //reload config (so "config" word can be added on the list and if more words of reloads exist seperate them with ; ) simple.

list=acar;config;crest;cw;door;htm;item;multisell;npc;npcwalker;scripts;skill;teleport;zone

 

so when player selects from list what he wants to reload example (config)

<combobox width=120 height=21 var="cb" list=acar;config;crest;cw;door;htm;item;multisell;npc;npcwalker;scripts;skill;teleport;zone;>

 

the var cb takes in memory the "config" word and transfers it in that red

<button value="Reload" action="bypass -h admin_reload $cb" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal">

so when the admin push the button reload it will reload the command admin_reload config.

 

you can use this methods for other commands not only for reload

  • 2 weeks later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock