DragonDagger 317
Welcome to DragonDagger's Official Forums!
Enjoy your stay.
DragonDagger 317
Welcome to DragonDagger's Official Forums!
Enjoy your stay.
DragonDagger 317
Would you like to react to this message? Create an account in a few clicks or log in to continue.

DragonDagger 317

DragonDagger's Official Forums
 
HomeDDLatest imagesSearchRegisterLog in
Donations welcomed, we're trying to get the golden server position on runelocus server status page!
Webclient is OUT! Click Play Now in the Forums Homepage

 

 fight advertisment command.

Go down 
+2
shawn
angelife
6 posters
AuthorMessage
angelife
Global Administrator
Global Administrator
angelife


DD Posts DD Posts : 173
Join date : 2009-08-06
Age : 29
Location : farmington CT

fight advertisment command. Empty
PostSubject: fight advertisment command.   fight advertisment command. I_icon_minitimeSun Aug 09, 2009 1:38 pm

ok well since alott of peoples pk(mostly all of serv) i thought i might as well give out this command.all you have to do is type ::fight. and it does a shout over server saying "playername is looking for a fight at edge!" or whatever.

this is the one with a timer(10 seconds):

Code:
 }  if (command.startsWith("fight")) {
            checkmutedusers();
            String text = command.substring(5);
            if (muted == 1) {
                sM("You are muted and cannot advertise a fight!");
            } else if (fightTimer > 0 && playerRights == 0){
                sM(You can only advertise a fight once every 10 seconds!");
} else {
                PlayerHandler.messageToAll = playerName + " is looking for a fight at edge pk!"
                        + text;
            fightTimer = 10;
}



and this is the one without a timer:
Code:
  }if (command.startsWith("fight")) {
            checkmutedusers();
            String text = command.substring(5);
            if (muted == 1) {
                sM("You are muted and cannot advertise a fight!");
            } else {
                PlayerHandler.messageToAll = playerName + " is looking for a fight at edge pk "
                        + text;
            } 

=] if u add it backup ur files like a good coder incase u get an error Razz(it's possible if ur muteduser method isnt called "checkmutedusers();" Razz

-owlfanatic77


Last edited by owlfanatic77 on Wed Aug 26, 2009 9:15 am; edited 1 time in total
Back to top Go down
shawn
Haxor IRL
shawn


DD Posts DD Posts : 214
Join date : 2009-08-01
Age : 58
Location : Washington State

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSun Aug 09, 2009 3:41 pm

Thanks man you have been helping the server out alot. Smile
Back to top Go down
angelife
Global Administrator
Global Administrator
angelife


DD Posts DD Posts : 173
Join date : 2009-08-06
Age : 29
Location : farmington CT

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSun Aug 09, 2009 3:44 pm

only with codes Razz. i dont even know if they are using them. either way i'll still add some more codes Razz. maybe figure out how to make a webclient Razz( i got the all clear from arti lol! ) Razz

so yah thanks shawn. u've always been a positive poster 2 me =]
Back to top Go down
fantom
Haxor IRL
fantom


DD Posts DD Posts : 282
Join date : 2009-07-27
Age : 29
Location : south dakota, usa

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSun Aug 09, 2009 6:40 pm

i vote u as admin ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ but i think there is wc just u cant c customs
Back to top Go down
angelife
Global Administrator
Global Administrator
angelife


DD Posts DD Posts : 173
Join date : 2009-08-06
Age : 29
Location : farmington CT

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSun Aug 09, 2009 7:26 pm

lol thanks fantom. hell who knows maybe i might get admin someday.


im suprised no one reps+ me for this stuff >.> afro
Back to top Go down
im real pb
Senior Member
im real pb


DD Posts DD Posts : 110
Join date : 2009-07-29

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeWed Aug 12, 2009 10:17 am

wow we owe u a big thnx
Back to top Go down
bllc!
Haxor IRL
bllc!


DD Posts DD Posts : 235
Join date : 2009-08-12

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSat Aug 15, 2009 6:25 pm

wow Very Happy nice coding
Back to top Go down
pker for ev
Global Moderator
Global Moderator
pker for ev


DD Posts DD Posts : 365
Join date : 2009-07-21
Age : 29
Location : Hood River OR

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeSat Aug 15, 2009 11:10 pm

damn dude you keep coding and your gonna get co owner!! lol keep it up!
Back to top Go down
Guest
Guest




fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeTue Aug 25, 2009 10:56 pm

owlfanatic77 wrote:
ok well since alott of peoples pk(mostly all of serv) i thought i might as well give out this command.all you have to do is type ::fight. and it does a shout over server saying "playername is looking for a fight at edge!" or whatever.

this is the one with a timer(10 seconds):

Code:
 } else if (command.startsWith("fight")) {
            checkmutedusers();
            String text = command.substring(5);
            if (muted == 1) {
                sendMessage("You are muted and cannot advertise a fight!");
            } else if (fightTimer > 0 && playerRights == 0){
                sendMessage("You can only advertise a fight once every 10 seconds!");
} else {
                PlayerHandler.messageToAll = playerName + " is looking for a fight at edge pk!"
                        + text;
            fightTimer = 10;
}



and this is the one without a timer:
Code:
  } else if (command.startsWith("fight")) {
            checkmutedusers();
            String text = command.substring(5);
            if (muted == 1) {
                sendMessage("You are muted and cannot advertise a fight!");
            } else {
                PlayerHandler.messageToAll = playerName + " is looking for a fight at edge pk "
                        + text;
            } 

=] if u add it backup ur files like a good coder incase u get an error Razz(it's possible if ur muteduser method isnt called "checkmutedusers();" Razz

-owlfanatic77
ahahaha thats verybasic but dood job for once better then others
Back to top Go down
angelife
Global Administrator
Global Administrator
angelife


DD Posts DD Posts : 173
Join date : 2009-08-06
Age : 29
Location : farmington CT

fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitimeWed Aug 26, 2009 8:50 am

Quote :
its very basic.
i know its basic. i just wanted to do that cuz allota pplz waste their time doing ::shout "fighting blah blah blah"
Back to top Go down
Sponsored content





fight advertisment command. Empty
PostSubject: Re: fight advertisment command.   fight advertisment command. I_icon_minitime

Back to top Go down
 
fight advertisment command.
Back to top 
Page 1 of 1
 Similar topics
-
» Fight Caves
» ::skillcape command
» kick all command or better anti nuller
» ::reset command and when u want it back u type ::back

Permissions in this forum:You cannot reply to topics in this forum
DragonDagger 317  :: General :: Guide Section-
Jump to: