gmhouse,186,136,5 script Faction Controller 55,{
if(getgmlevel()>98) { goto GMEmpMenu; end; }
GMEmpMenu:
mes "[GM Menu]";
mes "From this menu you can set event times, Zeny prize, and item prizes.";
switch(prompt("Add New Faction Event:Clear All Faction Events:View Faction Events:Stop Current Faction Event:Change Zeny Prize:Change Item Prize 1:Change Item Prize 2:Change Item Prize 3:Change Item Prize 4:Change Item Prize 5:Return To Non-GM Menu")) {
case 1:
next;
mes "[GM Menu]";
mes "From here you can add new Faction events.";
set .Faction,0;
set @FactionAddMenu$,0;
AddCountCheck:
if($FactionStartDay[.Faction]==0&&$FactionEndDay[.Faction]==0&&$FactionStartTime[.Faction]==0&&$FactionEndTime[.Faction]==0) { goto AddCountCheck2; }
set .Faction,.Faction+1;
goto AddCountCheck;
AddCountCheck2:
for( set .@i,1; .@i<=7; set .@i,.@i+1 ) { set @FactionAddMenu$,@FactionAddMenu$+((getd("FactionEvent_"+.@i+"$")=="")?"No Event Set":getd("FactionEvent_"+.@i+"$"))+":"; }
set .Faction,select(@FactionAddMenu$);
next;
mes "[GM Menu]";
mes "Which day do you want Faction to ^00FF00start^000000?";
switch(select("Sunday:Monday:Tuesday:Wednesday:Thursday:Friday:Saturday")) {
case 1: set $FactionStartDay[.Faction],0; break;
case 2: set $FactionStartDay[.Faction],1; break;
case 3: set $FactionStartDay[.Faction],2; break;
case 4: set $FactionStartDay[.Faction],3; break;
case 5: set $FactionStartDay[.Faction],4; break;
case 6: set $FactionStartDay[.Faction],5; break;
case 7: set $FactionStartDay[.Faction],6; break;
}
next;
mes "[GM Menu]";
mes "When do you want Faction to ^00FF00start^000000?";
switch(select("1AM:2AM:3AM:4AM:5AM:6AM:7AM:8AM:9AM:10AM:11AM:Noon:1PM:2PM:3PM:4PM:5PM:6PM:7PM:8PM:9PM:10PM:11PM:Midnight")) {
case 1: set $FactionStartTime[.Faction],"01"; break;
case 2: set $FactionStartTime[.Faction],"02"; break;
case 3: set $FactionStartTime[.Faction],"03"; break;
case 4: set $FactionStartTime[.Faction],"04"; break;
case 5: set $FactionStartTime[.Faction],"05"; break;
case 6: set $FactionStartTime[.Faction],"06"; break;
case 7: set $FactionStartTime[.Faction],"07"; break;
case 8: set $FactionStartTime[.Faction],"08"; break;
case 9: set $FactionStartTime[.Faction],"09"; break;
case 10: set $FactionStartTime[.Faction],"10"; break;
case 11: set $FactionStartTime[.Faction],"11"; break;
case 12: set $FactionStartTime[.Faction],"12"; break;
case 13: set $FactionStartTime[.Faction],"13"; break;
case 14: set $FactionStartTime[.Faction],"14"; break;
case 15: set $FactionStartTime[.Faction],"15"; break;
case 16: set $FactionStartTime[.Faction],"16"; break;
case 17: set $FactionStartTime[.Faction],"17"; break;
case 18: set $FactionStartTime[.Faction],"18"; break;
case 19: set $FactionStartTime[.Faction],"19"; break;
case 20: set $FactionStartTime[.Faction],"20"; break;
case 21: set $FactionStartTime[.Faction],"21"; break;
case 22: set $FactionStartTime[.Faction],"22"; break;
case 23: set $FactionStartTime[.Faction],"23"; break;
case 24: set $FactionStartTime[.Faction],"00"; break;
}
next;
mes "[GM Menu]";
mes "Which day do you want Faction to ^00FF00finish^000000?";
next;
switch(select("Same Day:Sunday:Monday:Tuesday:Wednesday:Thursday:Friday:Saturday")) {
case 1: set $FactionEndDay[.Faction],$FactionStartDay[.Faction]; break;
case 2: set $FactionEndDay[.Faction],0; break;
case 3: set $FactionEndDay[.Faction],1; break;
case 4: set $FactionEndDay[.Faction],2; break;
case 5: set $FactionEndDay[.Faction],3; break;
case 6: set $FactionEndDay[.Faction],4; break;
case 7: set $FactionEndDay[.Faction],5; break;
case 8: set $FactionEndDay[.Faction],6; break;
}
next;
mes "[GM Menu]";
mes "When do you want Faction to ^00FF00finish^000000?";
switch(select("1AM:2AM:3AM:4AM:5AM:6AM:7AM:8AM:9AM:10AM:11AM:Noon:1PM:2PM:3PM:4PM:5PM:6PM:7PM:8PM:9PM:10PM:11PM:Midnight")) {
case 1: set $FactionEndTime[.Faction],"01"; break;
case 2: set $FactionEndTime[.Faction],"02"; break;
case 3: set $FactionEndTime[.Faction],"03"; break;
case 4: set $FactionEndTime[.Faction],"04"; break;
case 5: set $FactionEndTime[.Faction],"05"; break;
case 6: set $FactionEndTime[.Faction],"06"; break;
case 7: set $FactionEndTime[.Faction],"07"; break;
case 8: set $FactionEndTime[.Faction],"08"; break;
case 9: set $FactionEndTime[.Faction],"09"; break;
case 10: set $FactionEndTime[.Faction],"10"; break;
case 11: set $FactionEndTime[.Faction],"11"; break;
case 12: set $FactionEndTime[.Faction],"12"; break;
case 13: set $FactionEndTime[.Faction],"13"; break;
case 14: set $FactionEndTime[.Faction],"14"; break;
case 15: set $FactionEndTime[.Faction],"15"; break;
case 16: set $FactionEndTime[.Faction],"16"; break;
case 17: set $FactionEndTime[.Faction],"17"; break;
case 18: set $FactionEndTime[.Faction],"18"; break;
case 19: set $FactionEndTime[.Faction],"19"; break;
case 20: set $FactionEndTime[.Faction],"20"; break;
case 21: set $FactionEndTime[.Faction],"21"; break;
case 22: set $FactionEndTime[.Faction],"22"; break;
case 23: set $FactionEndTime[.Faction],"23"; break;
case 24: set $FactionEndTime[.Faction],"00"; break;
}
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to set a new Faction event? To finalize the new Faction event? If your 100% sure type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust Faction event times!"; close2; goto GMEmpMenu; end; }
if($FactionStartDay[.Faction]==0&&$FactionEndDay[.Faction]==0&&$FactionTime[.Faction]==0&&$FactionEndTime[.Faction]==0) { close2; goto GMEmpMenu; end; }
if($FactionStartDay[.Faction]==0) { set $@FactionStartDayName$,"Sunday"; }
if($FactionStartDay[.Faction]==1) { set $@FactionStartDayName$,"Monday"; }
if($FactionStartDay[.Faction]==2) { set $@FactionStartDayName$,"Tuesday"; }
if($FactionStartDay[.Faction]==3) { set $@FactionStartDayName$,"Wednesday"; }
if($FactionStartDay[.Faction]==4) { set $@FactionStartDayName$,"Thursday"; }
if($FactionStartDay[.Faction]==5) { set $@FactionStartDayName$,"Friday"; }
if($FactionStartDay[.Faction]==6) { set $@FactionStartDayName$,"Saturday"; }
if($FactionEndDay[.Faction]==0) { set $@FactionEndDayName$,"Sunday"; }
if($FactionEndDay[.Faction]==1) { set $@FactionEndDayName$,"Monday"; }
if($FactionEndDay[.Faction]==2) { set $@FactionEndDayName$,"Tuesday"; }
if($FactionEndDay[.Faction]==3) { set $@FactionEndDayName$,"Wednesday"; }
if($FactionEndDay[.Faction]==4) { set $@FactionEndDayName$,"Thursday"; }
if($FactionEndDay[.Faction]==5) { set $@FactionEndDayName$,"Friday"; }
if($FactionEndDay[.Faction]==6) { set $@FactionEndDayName$,"Saturday"; }
next;
mes "[GM Menu]";
mes ""+$@FactionStartDayName$+" from "+$FactionStartTime[.Faction]+":00 till "+$@FactionStartDayName$+" at "+$FactionEndTime[.Faction]+":00";
setd("FactionEvent_"+.Faction+"$"),"Event "+.Faction+" Set";
close2; goto GMEmpMenu; end;
case 2:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes "Faction events cannot be cleared at this time. You must stop the current Faction event first."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "You are about to clear all the set Faction events and prizes set for them. If your 100% sure type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't clear Faction events!"; close2; goto GMEmpMenu; end; }
set $FactionZenyPrize,0;
set $FactionItemPrize1,0;
set $FactionItemAmount1,0;
set $FactionItemPrize2,0;
set $FactionItemAmount2,0;
set $FactionItemPrize3,0;
set $FactionItemAmount3,0;
set $FactionItemPrize4,0;
set $FactionItemAmount4,0;
set $FactionItemPrize5,0;
set $FactionItemAmount5,0;
set .Faction,0;
ResetLoop:
set $FactionStartDay[.Faction],0;
set $FactionEndDay[.Faction],0;
set $FactionStartTime[.Faction],0;
set $FactionEndTime[.Faction],0;
setd("FactionEvent_"+.Faction+"$"),"No Event Set";
set .Faction,.Faction+1;
if(.Faction>7) { next; mes "[GM Menu]"; mes "All Faction events have been cleared."; close2; goto GMEmpMenu; end; }
goto ResetLoop;
end;
case 3:
next;
mes "Current Faction Event Times:";
mes " ";
set .Faction,1;
FactionDayCheck:
if($FactionStartDay[.Faction]==0) { set $@FactionStartDayName$,"Sunday"; }
if($FactionStartDay[.Faction]==1) { set $@FactionStartDayName$,"Monday"; }
if($FactionStartDay[.Faction]==2) { set $@FactionStartDayName$,"Tuesday"; }
if($FactionStartDay[.Faction]==3) { set $@FactionStartDayName$,"Wednesday"; }
if($FactionStartDay[.Faction]==4) { set $@FactionStartDayName$,"Thursday"; }
if($FactionStartDay[.Faction]==5) { set $@FactionStartDayName$,"Friday"; }
if($FactionStartDay[.Faction]==6) { set $@FactionStartDayName$,"Saturday"; }
if($FactionEndDay[.Faction]==0) { set $@FactionEndDayName$,"Sunday"; }
if($FactionEndDay[.Faction]==1) { set $@FactionEndDayName$,"Monday"; }
if($FactionEndDay[.Faction]==2) { set $@FactionEndDayName$,"Tuesday"; }
if($FactionEndDay[.Faction]==3) { set $@FactionEndDayName$,"Wednesday"; }
if($FactionEndDay[.Faction]==4) { set $@FactionEndDayName$,"Thursday"; }
if($FactionEndDay[.Faction]==5) { set $@FactionEndDayName$,"Friday"; }
if($FactionEndDay[.Faction]==6) { set $@FactionEndDayName$,"Saturday"; }
mes "^FF0000Event "+.Faction+"^000000";
if($FactionStartDay[.Faction]==0&&$FactionEndDay[.Faction]==0&&$FactionStartTime[.Faction]==0&&$FactionEndTime[.Faction]==0) { mes "No Event Set"; } else { mes ""+$@FactionStartDayName$+" at "+$FactionStartTime[.Faction]+":00 till "+$@FactionEndDayName$+" at "+$FactionEndTime[.Faction]+":00"; }
set .Faction,.Faction+1;
if(.Faction>7) { close2; goto GMEmpMenu; end; }
goto FactionDayCheck;
end;
case 4:
next;
if($FactionStatus==0) { mes "[GM Menu]"; mes "There is currently no Faction event running."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "You are about to stop the current Faction event. If your 100% sure type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't stop Faction events while there going!"; close2; goto GMEmpMenu; end; }
set $FactionStatus,0;
gvgoff "guild_vs1";
if(getmapusers("guild_vs1")>0) { maprespawnguildid "guild_vs1",$FactionGUILD,7; }
killmonsterall "guild_vs1",0;
set .@name$,getguildmaster($FactionGUILD);
if($FactionGUILD!=0) { announce "The King of Emperium Hill has ended! The King Of Emperium Hill is the ["+getguildname($FactionGUILD)+"] guild.",bc_all|bc_woe; } else { announce "The King of Emperium Hill has ended! No guild has proven themselves King Of Emperium Hill!",bc_all|bc_woe; }
close2;
goto GMEmpMenu;
end;
case 5:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Zeny Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "The current Zeny Prize amount is ^ff0000"+$FactionZenyPrize+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Zeny Prize to be.";
input .@GMAdjust;
if(.@GMAdjust<0) { next; mes "[GM Menu]"; mes "The Zeny Prize cannot be less than 0."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Zeny Prize to ^ff0000"+.@GMAdjust+"^000000? To finalize the change in Zeny Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize==.@RandomFinalize) { next; set $FactionZenyPrize,.@GMAdjust; mes "[GM Menu]"; mes "The Zeny Prize amount has been changed to ^ff0000"+$FactionZenyPrize+"^000000."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
mes "It is probably for the best that you don't adjust the Zeny Prize!";
close2;
goto GMEmpMenu;
end;
case 6:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Item Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "From this menu you can adjust the item prize. The current Reward is: ^ff0000"+$FactionItemAmount1+"^000000 ^ff0000"+getitemname($FactionItemPrize1)+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Item Prize to be. WARNING: If you input an invalid itemID it will error everytime a player tries to recieve it!";
input .@GMAdjust;
next;
set $FactionItemPrize1,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+getitemname($FactionItemPrize1)+"^000000[^ff0000"+$FactionItemPrize1+"^000000].";
next;
mes "[GM Menu]";
mes "The current Item Prize Amount is ^ff0000"+$FactionItemAmount1+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes "Enter what you want the new Item Prize Amount to be.";
input .@GMAdjust;
if(.@GMAdjust<1) { next; mes "[GM Menu]"; mes "The Item Prize Amount cannot be less than 1."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Item Prize Amount to ^ff0000"+.@GMAdjust+"^000000 "+getitemname($FactionItemPrize1)+"? To finalize the change in Item Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust the Item Prize!"; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set $FactionItemAmount1,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+$FactionItemAmount1+"^000000 ^ff0000"+getitemname($FactionItemPrize1)+"^000000.";
close2;
goto GMEmpMenu;
end;
case 7:
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Item Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "From this menu you can adjust the item prize. The current Reward is: ^ff0000"+$FactionItemAmount2+"^000000 ^ff0000"+getitemname($FactionItemPrize2)+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Item Prize to be. WARNING: If you input an invalid itemID it will error everytime a player tries to recieve it!";
input .@GMAdjust;
next;
set $FactionItemPrize2,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+getitemname($FactionItemPrize2)+"^000000[^ff0000"+$FactionItemPrize2+"^000000].";
next;
mes "[GM Menu]";
mes "The current Item Prize Amount is ^ff0000"+$FactionItemAmount2+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes "Enter what you want the new Item Prize Amount to be.";
input .@GMAdjust;
if(.@GMAdjust<1) { next; mes "[GM Menu]"; mes "The Item Prize Amount cannot be less than 1."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Item Prize Amount to ^ff0000"+.@GMAdjust+"^000000 "+getitemname($FactionItemPrize2)+"? To finalize the change in Item Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust the Item Prize!"; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set $FactionItemAmount2,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+$FactionItemAmount2+"^000000 ^ff0000"+getitemname($FactionItemPrize2)+"^000000.";
close2;
goto GMEmpMenu;
end;
case 8:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Item Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "From this menu you can adjust the item prize. The current Reward is: ^ff0000"+$FactionItemAmount3+"^000000 ^ff0000"+getitemname($FactionItemPrize3)+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Item Prize to be. WARNING: If you input an invalid itemID it will error everytime a player tries to recieve it!";
input .@GMAdjust;
next;
set $FactionItemPrize3,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+getitemname($FactionItemPrize3)+"^000000[^ff0000"+$FactionItemPrize3+"^000000].";
next;
mes "[GM Menu]";
mes "The current Item Prize Amount is ^ff0000"+$FactionItemAmount3+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes "Enter what you want the new Item Prize Amount to be.";
input .@GMAdjust;
if(.@GMAdjust<1) { next; mes "[GM Menu]"; mes "The Item Prize Amount cannot be less than 1."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Item Prize Amount to ^ff0000"+.@GMAdjust+"^000000 "+getitemname($FactionItemPrize3)+"? To finalize the change in Item Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust the Item Prize!"; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set $FactionItemAmount3,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+$FactionItemAmount3+"^000000 ^ff0000"+getitemname($FactionItemPrize3)+"^000000.";
close2;
goto GMEmpMenu;
end;
case 9:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Item Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "From this menu you can adjust the item prize. The current Reward is: ^ff0000"+$FactionItemAmount4+"^000000 ^ff0000"+getitemname($FactionItemPrize4)+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Item Prize to be. WARNING: If you input an invalid itemID it will error everytime a player tries to recieve it!";
input .@GMAdjust;
next;
set $FactionItemPrize4,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+getitemname($FactionItemPrize4)+"^000000[^ff0000"+$FactionItemPrize4+"^000000].";
next;
mes "[GM Menu]";
mes "The current Item Prize Amount is ^ff0000"+$FactionItemAmount4+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes "Enter what you want the new Item Prize Amount to be.";
input .@GMAdjust;
if(.@GMAdjust<1) { next; mes "[GM Menu]"; mes "The Item Prize Amount cannot be less than 1."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Item Prize Amount to ^ff0000"+.@GMAdjust+"^000000 "+getitemname($FactionItemPrize4)+"? To finalize the change in Item Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust the Item Prize!"; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set $FactionItemAmount4,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+$FactionItemAmount4+"^000000 ^ff0000"+getitemname($FactionItemPrize4)+"^000000.";
close2;
goto GMEmpMenu;
end;
case 10:
next;
if($FactionStatus==1) { mes "[GM Menu]"; mes " "; mes " "; mes " "; mes " "; mes "You cannot adjust the Item Prize at this time."; close2; goto GMEmpMenu; end; }
mes "[GM Menu]";
mes "From this menu you can adjust the item prize. The current Reward is: ^ff0000"+$FactionItemAmount5+"^000000 ^ff0000"+getitemname($FactionItemPrize5)+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes " ";
mes "Enter what you want the new Item Prize to be. WARNING: If you input an invalid itemID it will error everytime a player tries to recieve it!";
input .@GMAdjust;
next;
set $FactionItemPrize5,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+getitemname($FactionItemPrize5)+"^000000[^ff0000"+$FactionItemPrize5+"^000000].";
next;
mes "[GM Menu]";
mes "The current Item Prize Amount is ^ff0000"+$FactionItemAmount5+"^000000.";
mes "NOTE: If it says 'NULL' or '0' then that value has not been set.";
mes "Enter what you want the new Item Prize Amount to be.";
input .@GMAdjust;
if(.@GMAdjust<1) { next; mes "[GM Menu]"; mes "The Item Prize Amount cannot be less than 1."; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set .@RandomFinalize,rand(100,999);
mes "Are you sure you want to modify the Item Prize Amount to ^ff0000"+.@GMAdjust+"^000000 "+getitemname($FactionItemPrize5)+"? To finalize the change in Item Prize type the number ^0000FF"+.@RandomFinalize+"^000000.";
input .@Finalize;
if(.@Finalize!=.@RandomFinalize) { next; mes "[GM Menu]"; mes "It is probably for the best that you don't adjust the Item Prize!"; next; goto GMEmpMenu; end; }
next;
mes "[GM Menu]";
set $FactionItemAmount5,.@GMAdjust;
mes "The Item Prize amount has been changed to ^ff0000"+$FactionItemAmount5+"^000000 ^ff0000"+getitemname($FactionItemPrize5)+"^000000.";
close2;
goto GMEmpMenu;
end;
case 11:
close;
end;
}
}