Jump to content
  • 0
Sign in to follow this  
Bringer

War Over Rune Script

Question

WOR - War over Rune
1. The NPC will broadcast " War Of Rune Registration will start at 5 minutes "
2. After 5 minutes, the NPC will broadcast again " War Of Rune registration has been started you may now register! in 5 minutes"
 
 
3. Player can start registering, after clicking the NPC "War of rune" it have 2 choices "Join or Leave"
 
4. If they choose join they will randomize join 50% to Green and 50% to Red Team
ex.
You will be in Green Team! 
*(change the cloth color to green - To show he is in green team.
 
else
 
You will be in Red Team!
*(Change the cloth color to red - To show he is in Red Team.
 
5. After 5 minutes, The npc will broadcast "War of Rune Registration has been ended"
at the same time all Green Team
 
the 2 teams will have their own room
then there will be an npc they can talk to to enter the arena
if they die they goe back to their respective rooms
exiting WoR was allowed but not allowed to rejoin
the npc inside the respective team's rooms
will have an option
to show the current scores of the teams
their total kills and deaths
at the end
each members from the winning team will receive 50 bonus kill points
all the players who joined will be warped to a non-pk area
the npc for exit will be there and gives them 20 Cash Points
warped to protnera
 
 
players from the same team can attack each other
so they need to make parties
there is always 1 player who is colored brown from the 2 teams
the king
when he is killed
he gives more points than normal players
when a brown player dies he will be replaced by a teammate as soon as the teammate enters the arena.
 
Thank you in advance!
 
can anyone help me about this script?
 
//Registration NPCporing_w02,108,101,5	script	WoR Manager	734,{set look,rand(1,2);set .@name$,"[WoR Manager]";mes .@name$;;mes "Greetings, how can be any help for you today?";menu 	"Register",register,	"What is WoR?",what_is_wor,	"WoR Schedules",wor_schedules,	"I'm just passing by",im_just_passing_by;register:if ( $@wor == 1 ) {next;if ( woralready == 1 ) {	mes .@name$;	mes "I'm sorry adventurer, but leaving the arena means quitting the entire event. Please try again next time.";	close;}	if ( look == 1 ) {	mes .@name$;	mes "You will be participating in the '^0000FFBlue Team^000000'.";	close2;	setlook 7,374;	warp "bat_b01",319,150;	set woralready,1;	end;}	mes .@name$;	mes "You will be participating in the '^FF0000Red Team^000000'.";	close2;	setlook 7,407;	warp "bat_b01",79,151;	set woralready,1;	end;}next;mes .@name$;mes "The War Over Rune is not available during this hour, please try again next time.";close;wor_schedules:next;mes .@name$;mes "The current WoR Schedules are:";mes "^0000FF12:00^000000";mes "^0000FF21:00^000000";mes "^0000FF03:00^000000";close;what_is_wor:next;mes .@name$;mes "WoR is the short term for 'War over Rune'.";next;mes .@name$;mes "WoR is a PvP-Based Event where in you have 20 minutes to kill anyone in the opposing team.";next;mes .@name$;mes "There are two teams in the event: The ^0000FFBlue Team^000000 and The ^FF0000Red Team^000000";next;mes .@name$;mes "The Goal of the event is to gain points by killing other team's members.";next;mes .@name$;mes "After 20 minutes, an NPC will appear in the middle of the map to give rewards to players.";next;mes .@name$;mes "The reward for the winning team is 100 PvP Points and 20 PvP Points for the losing team.";close;im_just_passing_by:next;mes .@name$;mes "Okay, see yah later.";close;}//Team NPC (Red Team)prt_are01,75,228,5	script	Red Team Manager	733,{mes "[Team Manager]";mes "What do you want to know?";menu 	"Standings",standings_red;standings_red:	next;	mes "[Team Manager]";	mes "Red Team: "+red_score+"";	mes "Blue Team: "+blue_score+"";	mes "Death(s): "+deaths_player_red+"";close;}//Team NPC (Blue Team)prt_are01,223,80,5	script	Blue Team Manager	733,{	mes "[WoR Score]";	mes "[ ^ff0000Blue^000000 ] - "+blue_score+" Points";	mes "[ ^3355FFRed^000000 ] - "+red_score+" Points";	mes "Your total Deaths - "+deaths_player_blue+"";close;}//Player Dies in the event-	script	wordie	-1,{set red_score,0;set blue_score,0;set deaths_player_red,0;OnPCDieEvent:	if( strcharinfo(3) == "bat_b01" && getlook(7) == 374 ) {		set red_score,red_score+1;		set deaths_player_red,deaths_player_red+1;			warp "bat_b01",319,150;			sleep2 1000;			atcommand "@alive";repair(1);repair(2);repair(3);repair(4);repair(5);repair(6);repair(7);repair(8);repair(9);repair(10);			sleep2 10000;			warp "bat_b01",249,155;		end;		}	if( strcharinfo(3) == "bat_b01" && getlook(7) == 407 ) {		set blue_score,blue_score+1;		set deaths_player_red,deaths_player_blue+1;		warp "bat_b01",79,151;			sleep2 1000;			atcommand "@alive";repair(1);repair(2);repair(3);repair(4);repair(5);repair(6);repair(7);repair(8);repair(9);repair(10);			sleep2 10000;			warp "bat_b01",150,150;		end;		}}

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.