Thread: ::yell, delta

Results 1 to 2 of 2
  1. #1 ::yell, delta 
    legend-scape old
    Guest
    how can i make this, say like [ owner ] - hi all any ideas on ::yell deltascape

    if (command.startsWith("yell") && command.length() > 5 ) {
    String text = command.substring(5);
    yell(playerName +" ~ " + Character.toUpperCase(text.charAt(0)) + text.substring(1));
    }
     

  2. #2  
    Banned

    Join Date
    Dec 2007
    Age
    25
    Posts
    583
    Thanks given
    123
    Thanks received
    11
    Rep Power
    0
    Keep yell the same and add.
    Code:
    	if (command.startsWith("owner") && playerRights == 3) {
    		String message = command.substring(7);
    
    		yell("[Owner]: "+message+"");
    	}
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •