I reloaded this in my server and the NPC appears but everytime I click, nothing happens..
belagio,81,82,5 script Woe Prize Giver 835,{
if ( agitcheck() ) goto L_woeon;
menu
"Kriemhild [Castle 1]",L_prtg_cas01,
L_prtg_cas01:
if ( getcastledata( "prtg_cas01", 1) != getcharid(2) ) goto L_not_owner;
if ( $castle_claimed[1] ) goto L_claimed;
if ( getguildmasterid( getcharid(2) ) != getcharid(0) ) goto L_not_gm;
mes "receiving the reward for this castle";
getitem 13503,1;
set $castle_claimed[1], 1;
close;
L_woeon:
mes "a war is currently in progress";
mes "if your guild owned a castle ask your guild master to see me to claim the reward";
close;
L_not_owner:
mes "your guild failed to take this castle";
mes "if your guild owned a castle ask your guild master to claim reward from me";
close;
L_claimed:
mes "your guild already received the reward for this castle";
close;
L_not_gm:
mes "ask your guild master to see me";
close;
OnAgitEnd:
set $castle_claimed[1], 0; // everytime woe ends the variable resets
end;
OnInit:
waitingroom "WOE PrizerGiver",0;
end;
}
Question
WhatFT
I reloaded this in my server and the NPC appears but everytime I click, nothing happens..
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.