Jump to content
  • 0

[Help] Admin Skills


Question

Posted

I have an problem..

I wuld made an button in the adminmenu under "skills" thaf funktion is, to add all GM skills with one klick.

 

atm i must every skill each other to add the skills...

What must i put in to add more skills with one klick?

heres the code to add one skill:

 

<td><font color="deba73">Focus (max 1)</td>

<td><button value="Add" action="bypass -h admin_add_skill 7041 $level" width=55 height=15 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

</tr>

 

Can someone help me?

5 answers to this question

Recommended Posts

  • 0
Posted

i dont try it but maby it work!

 

well after ( admin_add_skill 7041) put more ids 

 

example

 

<td><font color="deba73">Focus (max 1)</td>
<td><button value="Add" action="bypass -h admin_add_skill 7041 7042 7043 7044 7045  $level" width=55 height=15 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
</tr>

 

 

 

  • 0
Posted

ok, there are few things about it...

1) Dippindots, he posted in correct section

2) Fogotendx20, that won't work

3) there are 4 ways to do it

    1. insert them manually in database

    2. make a button for each skill and use the code that you were using

    3. make a python script that will loop through the list of IDs and will add those skills

    4. do what I told to do in 3rd way, only use java this time

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...