Good day everyone.. Im having trouble on my script can you assist me ? this is how it works , I will summon 2 players in left and right corner ..when i trigger the script the PVP and SKILL on map must turn off , it will Trigger back to ON (@pvp and @skill) after the countdown or the announcer said "FIGHT" and turn back off both skill and pvp when player is dead.but it seems that atcommand "@pvpon"; and atcommand "@skillon"; is not working after the line " announce "[Showdown Event]: FIGHT ! .. ",0;" ... This script is just prototype and for testing purpose only ..Thankyou
Question
ShiroNaito
Good day everyone.. Im having trouble on my script can you assist me ? this is how it works , I will summon 2 players in left and right corner ..when i trigger the script the PVP and SKILL on map must turn off , it will Trigger back to ON (@pvp and @skill) after the countdown or the announcer said "FIGHT" and turn back off both skill and pvp when player is dead.but it seems that atcommand "@pvpon"; and atcommand "@skillon"; is not working after the line " announce "[Showdown Event]: FIGHT ! .. ",0;" ... This script is just prototype and for testing purpose only ..Thankyou
- script showmatch -1,{ OnWhisperGlobal: if(getgmlevel() >= $gmcontrol) { mes "================================="; mes "^3399FF[Showmatch Manager]^000000"; mes "Hello GameMaster!"; mes "Summon participants?"; next; mes "================================="; //initnpctimer; mes "Participant 1 Right Corner"; input .@Input$; next; mes "Participant 2 Left Corner"; input .@Input2$; next; //atcommand "@warp guild_vs2 49 55"; atcommand "#warp "+.@Input$+" guild_vs2 55 55"; atcommand "#warp "+.@Input2$+" guild_vs2 44 44"; announce "[Showdown Event]: Showdown Battle of "+.@Input$+" v.s. "+.@Input2$+" ",0; donpcevent "announcer::OnGMStart"; //atcommand "@pvpon"; //atcommand "@skillon"; close; } } - script announcer -1,{ OnGMStart: announce "[Showdown Event]: Get Ready! ",0; sleep 3000; announce "[Showdown Event]: Battle Starts in 5 .. ",0; sleep 1000; announce "[Showdown Event]: 4 .. ",0; sleep 1000; announce "[Showdown Event]: 3 .. ",0; sleep 1000; announce "[Showdown Event]: 2 .. ",0; sleep 1000; announce "[Showdown Event]: 1 .. ",0; sleep 1000; announce "[Showdown Event]: FIGHT ! .. ",0; atcommand "@pvpon"; atcommand "@skillon"; } close; } OnPCKillEvent: atcommand "@pvpoff"; atcommand "@skilloff"; end; }
Please use codebox.
Link to comment
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.