cloud167 Posted July 8, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 31 Reputation: 0 Joined: 05/13/12 Last Seen: 12 hours ago Share Posted July 8, 2012 How to change this script into making it speak only with high priests???? Hyrule,159,99,4 script Forbidden Island Quest#Register 794,{ while(1){ mes "[^FF0000Father Cid^000000]"; mes "^0000FFForbidden Island^000000 : "+( getmapusers(.Map$) > 0 ?"^FF0000OFF":"^00FF00ON")+"^000000"; mes "(^FF0000Only Leader can Register^000000)"; mes "Forbidden Island needs adventurers like you to cleanse it from undeads and demons...." mes ""; mes "It is In ^FF0000BETA Test^000000."; next; switch(select("^00FF00Stage Game Information^000000", ( getmapusers(.Map$) > 0 || getcharid(0) != getpartyleader( getcharid(1),2 ) )?"":"^0000FFRegister for Forbidden Island Quest^000000", ( getmapusers(.Map$) < 1 || getgmlevel() < 60 )?"":"^FF0000Reset Stage Game^000000")) { Case 1: mes "^FF0000Forbidden Island Quest^000000 lets you cleanse the island itself from zombies and demons.. "; mes "With every increase or round you manage to reach, the monster could be stronger than before... and more darker.."; next; mes "You could win up some ^0000FFItems^000000 that is unique in the island when you finished the whole ^FF0000Forbidden Island Quest^000000"; next; mes "In order to ^0000FFRegister^000000 for the ^FF0000Quest^000000, all your party member must meet the ^0000FFRequirements^000000"; next; mes "[ ^00FF00Requirements^000000 ]"; mes "^0000FFBase Level^000000 : "+.Level+" Level"; mes "^0000FFZeny^000000 : "+.Zeny+" Zeny "; mes "^0000FFParty Members^000000 : "+.PartyMember+" Members"; mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )"; next; break; Case 2: // if( getgmlevel() < 80 ){ // mes "Stage Game is under Debugging Development. Simple Game but Hard "; // close; // } getpartymember getcharid(1),1; getpartymember getcharid(1),2; set @Count,0; for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){ if ( isloggedin($@partymemberaid[.@i]) ){ set @Count,@Count+1; } } if( @Count < .PartyMember || BaseLevel < .Level || Zeny < .Zeny ){ mes "[ ^00FF00Requirements^000000 ]"; mes "^0000FFBase Level^000000 : "+.Level+" Level"; mes "^0000FFZeny^000000 : "+.Zeny+" Zeny "; mes "^0000FFParty Members^000000 : "+.PartyMember+" Members"; mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )"; close; }else{ set Zeny, Zeny - .Zeny; mes "Your party will now be warped into the Destination to start the Game."; dispbottom "Click on the NPC inside to start the game."; delwaitingroom "Stage Game 3"; close2; announce "Team ["+getpartyname( getcharid(1) )+"] has started the quest at Forbidden Island...",0; warpparty .Map$,0,0,getcharid(1); killmonster .Map$,"All"; set getvariableofnpc(.Level,"Stage Game 3"),0; end; } Case 3: mes "The Game has been Reset."; killmonster .Map$,"All"; mapwarp .Map$,"Hyrule",134,63; announce "A GM has RESET the Stage Game, Sorry for the Incovenience.",0; set getvariableofnpc(.Level,"Stage Game 3"),0; delwaitingroom "Stage Game 3"; next; break; } } close; OnInit: OnWhisperGlobal: set .Level,255; set .Zeny,50000000; set .PartyMember,1; set .Map$,"lava_pvp"; while( 1 ){ delwaitingroom; waitingroom ( getmapusers(.Map$) > 0 ? " NOT":" " )+" Available",0; sleep 1000; } end; } Quote Link to comment Share on other sites More sharing options...
Sneaky Posted July 8, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: April 1, 2023 Share Posted July 8, 2012 Hyrule,159,99,4 script Forbidden Island Quest#Register 794,{ if(Class != Job_High_Priest) end; Quote Link to comment Share on other sites More sharing options...
cloud167 Posted July 8, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 31 Reputation: 0 Joined: 05/13/12 Last Seen: 12 hours ago Author Share Posted July 8, 2012 thanks Quote Link to comment Share on other sites More sharing options...
Question
cloud167
How to change this script into making it speak only with high priests????
Hyrule,159,99,4 script Forbidden Island Quest#Register 794,{
while(1){
mes "[^FF0000Father Cid^000000]";
mes "^0000FFForbidden Island^000000 : "+( getmapusers(.Map$) > 0 ?"^FF0000OFF":"^00FF00ON")+"^000000";
mes "(^FF0000Only Leader can Register^000000)";
mes "Forbidden Island needs adventurers like you to cleanse it from undeads and demons...."
mes "";
mes "It is In ^FF0000BETA Test^000000.";
next;
switch(select("^00FF00Stage Game Information^000000",
( getmapusers(.Map$) > 0 || getcharid(0) != getpartyleader( getcharid(1),2 ) )?"":"^0000FFRegister for Forbidden Island Quest^000000",
( getmapusers(.Map$) < 1 || getgmlevel() < 60 )?"":"^FF0000Reset Stage Game^000000")) {
Case 1:
mes "^FF0000Forbidden Island Quest^000000 lets you cleanse the island itself from zombies and demons.. ";
mes "With every increase or round you manage to reach, the monster could be stronger than before... and more darker..";
next;
mes "You could win up some ^0000FFItems^000000 that is unique in the island when you finished the whole ^FF0000Forbidden Island Quest^000000";
next;
mes "In order to ^0000FFRegister^000000 for the ^FF0000Quest^000000, all your party member must meet the ^0000FFRequirements^000000";
next;
mes "[ ^00FF00Requirements^000000 ]";
mes "^0000FFBase Level^000000 : "+.Level+" Level";
mes "^0000FFZeny^000000 : "+.Zeny+" Zeny ";
mes "^0000FFParty Members^000000 : "+.PartyMember+" Members";
mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )";
next;
break;
Case 2:
// if( getgmlevel() < 80 ){
// mes "Stage Game is under Debugging Development. Simple Game but Hard ";
// close;
// }
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
set @Count,0;
for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){
if ( isloggedin($@partymemberaid[.@i]) ){
set @Count,@Count+1;
}
}
if( @Count < .PartyMember || BaseLevel < .Level || Zeny < .Zeny ){
mes "[ ^00FF00Requirements^000000 ]";
mes "^0000FFBase Level^000000 : "+.Level+" Level";
mes "^0000FFZeny^000000 : "+.Zeny+" Zeny ";
mes "^0000FFParty Members^000000 : "+.PartyMember+" Members";
mes "(^FF0000Level / Zeny only Applied on Leader ^000000 )";
close;
}else{
set Zeny, Zeny - .Zeny;
mes "Your party will now be warped into the Destination to start the Game.";
dispbottom "Click on the NPC inside to start the game.";
delwaitingroom "Stage Game 3";
close2;
announce "Team ["+getpartyname( getcharid(1) )+"] has started the quest at Forbidden Island...",0;
warpparty .Map$,0,0,getcharid(1);
killmonster .Map$,"All";
set getvariableofnpc(.Level,"Stage Game 3"),0;
end;
}
Case 3:
mes "The Game has been Reset.";
killmonster .Map$,"All";
mapwarp .Map$,"Hyrule",134,63;
announce "A GM has RESET the Stage Game, Sorry for the Incovenience.",0;
set getvariableofnpc(.Level,"Stage Game 3"),0;
delwaitingroom "Stage Game 3";
next;
break;
}
}
close;
OnInit:
OnWhisperGlobal:
set .Level,255;
set .Zeny,50000000;
set .PartyMember,1;
set .Map$,"lava_pvp";
while( 1 ){
delwaitingroom;
waitingroom ( getmapusers(.Map$) > 0 ? " NOT":" " )+" Available",0;
sleep 1000;
}
end;
}
Link to comment
Share on other sites
2 answers 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.