Jump to content

Recommended Posts

Posted

Hello folks! Here is my first try at java so i decided to create a voicedcommand. It's a very simple code.

 

Description:

When you press .noble you gain noble status! To use this u need 2 gold bars. Soon i will add config to change a-beep-t of gbs.

 

So here is the code:

http://pastebin.com/z3mrY6Ev

 

Credits : Me :)

 

PS. It's my first try at java so don't blame me. Have fun :)

Posted

 else if(nobleis)
+                       {
+                               activeChar.sendMessage("You are already Noble!");
+                       }

 

else if(nobles)

                      {

                              activeChar.sendMessage("You are already Noble!");

                      }

 

Posted

 else if(nobleis)
+                       {
+                               activeChar.sendMessage("You are already Noble!");
+                       }

 

else if(nobles)

                      {

                              activeChar.sendMessage("You are already Noble!");

                      }

 

 

Code tested and works perfect man. I think no fix required...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..