Thread: 317 pi some codes you can use

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 317 pi some codes you can use 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    these are just a few codes you can add to commands.java

    Code:
    if (playerCommand.equals("forums")) {
                                                    c.getPA().sendFrame126("your forum", 12000);
                                                    c.sendMessage("Welcome! Please register!!");
                                            }
    Code:
    if (playerCommand.startsWith("rules")){
    			c.sendMessage("<shad=60811334> <img=1> your Rules <img=1>");
    			c.sendMessage(" No asking for mod or Admin");
    			c.sendMessage(" No Farcasting");
                            c.sendMessage(" No Pjing");
                            c.sendMessage(" No Scamming");
                            c.sendMessage(" No exloiting bugs");
                            c.sendMessage(" We will warn you then ban");
                            }

    Code:
    if (playerCommand.startsWith("commands")){
    			c.sendMessage("<shad=60811334> <img=1> your Commands Available <img=1>");
    			c.sendMessage(" ::shops to go to our awesome shops!");
    			c.sendMessage(" ::master gives you 99 all combat skills!");
    			c.sendMessage(" ::pure gives you max pure! ");
    			c.sendMessage(" ::ep to see your EP");
    			c.sendMessage(" ::changepassword *newpasswordhere* changes your password");
    			c.sendMessage(" ::resetdef gives you 1 defence");
    			c.sendMessage(" ::players you can see all players online!");
    			c.sendMessage(" ::rest so you can sit down");
                            c.sendMessage(" ::forums to check out our sweet forums!");
                            c.sendMessage(" ::rules to see our rules!");
                            }
    Code:
    if (playerCommand.startsWith("shops") && c.teleBlockLength == 0) {
    				c.getPA().startTeleport(xxxx, xxxx, 0, "modern");
    				c.sendMessage("You teleport to the shops.");
    			}
    change the xxxx to your coords

    Make sure your site has www before
    thats all i have for now hope this helps!
    Reply With Quote  
     

  2. #2  
    Registered Member pk3r john's Avatar
    Join Date
    Apr 2009
    Posts
    877
    Thanks given
    16
    Thanks received
    30
    Rep Power
    63
    very simple, and this is a snippet

    otherwise, good contribution im sure some people will use this
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Nov 2011
    Age
    24
    Posts
    389
    Thanks given
    19
    Thanks received
    22
    Rep Power
    125
    Why do you keep releasing these tutorials. Most servers have them already...
    Reply With Quote  
     

  4. #4  
    Gunner4Life Market Banned Market Banned



    Join Date
    Jun 2011
    Posts
    2,357
    Thanks given
    132
    Thanks received
    666
    Rep Power
    648
    Good release, except its kinda of a snippet, explain teh code more.

    P.S. Instead of maybe, releasing bit by bit, make one tutorial thread, with loads in.

    Reply With Quote  
     

  5. #5 thanks 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    Quote Originally Posted by pk3r john View Post
    very simple, and this is a snippet

    otherwise, good contribution im sure some people will use this
    thanks for your comment, i dont really know what snippet is?
    Reply With Quote  
     

  6. #6 thanks but 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    Quote Originally Posted by Zelt View Post
    Good release, except its kinda of a snippet, explain teh code more.

    P.S. Instead of maybe, releasing bit by bit, make one tutorial thread, with loads in.

    Whats a snippet?
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    May 2012
    Age
    25
    Posts
    1,556
    Thanks given
    415
    Thanks received
    231
    Rep Power
    81
    Quote Originally Posted by Shadowheart View Post
    thanks for your comment, i dont really know what snippet is?
    Quote Originally Posted by Shadowheart View Post
    Whats a snippet?
    Ack, dont double post and also, these are very simple commands but yea, been released everywhere.

    Google is you best friend.
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Jan 2012
    Age
    25
    Posts
    1,222
    Thanks given
    110
    Thanks received
    681
    Rep Power
    0
    why is it sending a message instead of opening the forums link
    Reply With Quote  
     

  9. #9 read 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    Quote Originally Posted by bob sagget View Post
    why is it sending a message instead of opening the forums link
    Because forums is to show you server you need to add different code,
    ill make a code for ::forums to go to forums.
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Oct 2011
    Age
    25
    Posts
    1,891
    Thanks given
    311
    Thanks received
    558
    Rep Power
    703
    c.sendMessage(" No Farcasting");
    c.sendMessage(" No Pjing");
    What kind of stupid rules are those lol.

    Anyways... this should be a snippet, and I know you're trying to contribute... but people should know how to add this anyways.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. 317 Response Codes
    By jameskmonger in forum Informative Threads
    Replies: 19
    Last Post: 07-20-2010, 08:23 AM
  2. 317 Interface help (just need a few codes)
    By tapeman1 in forum Help
    Replies: 0
    Last Post: 05-17-2010, 03:27 AM
  3. >>[317] Promotable Command Codes [317]<<
    By Rev3rt in forum Tutorials
    Replies: 8
    Last Post: 11-26-2009, 07:21 PM
  4. All 317 Gfx codes i found
    By Beasty_x in forum Configuration
    Replies: 6
    Last Post: 02-28-2009, 07:10 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •