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...

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