Voiced command ?
Posted: Mon Mar 03, 2014 11:54 am
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:6291
L2JDP Revision Number:9641
Hey guys (My first post here!)
I've started to code in l2j most likely for learning purposes. I tried to create a voiced command which you can change your name. (You get the value by html).
I coded but i thought it was faulty because i couldnt change the name, so i used the code from admin_changename and still cant get this working.
Problem is that i cant the value(name) which i give on variable on java. Any help would be much appreciated.
Here's the java code on handlers: http://pastebin.com/iD6uYfnb
and the HTML:
Thanks in advance 
» Find Revision
L2J Revision Number:6291
L2JDP Revision Number:9641
Hey guys (My first post here!)
I've started to code in l2j most likely for learning purposes. I tried to create a voiced command which you can change your name. (You get the value by html).
I coded but i thought it was faulty because i couldnt change the name, so i used the code from admin_changename and still cant get this working.
Problem is that i cant the value(name) which i give on variable on java. Any help would be much appreciated.
Here's the java code on handlers: http://pastebin.com/iD6uYfnb
and the HTML:
Code: Select all
<tr>New Name</tr><tr><edit var="val" width=100></tr><br><br><button action="bypass -h voice .changeName $val" value="Change my name!" width=140 height=25 back=L2UI_CT1.Button_DF fore=L2UI_CT1.Button_DF>
