Jump to content
  • 0

Castle Owner Prize Giver


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

anybody can give me this script?

 

 

- When WOE is finish Guild Leader can get the prize for the castle 

- and Announce that The Guild rAthena Conquered and then "Name of the Castle"

 

 

 

:) thanks in advance rAthena!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  


prontera,137,176,5 script WoE Prize Giver 1002,{

if ( agitcheck() ) {

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;

}

if ( getcastledata( .castlename$,1 ) == getcharid(2) ) {

if ( $castle_claimed ) {

mes "your guild already received the reward";

close;

}else if ( getguildmasterid( getcharid(2) ) == getcharid(0) ) {

mes "receiving the reward for "+ .castlename$[.@menu];

getitem 7227,100; // some mathematics ...

getitem 674,10;

getitem 14232,10;

set $castle_claimed,1;

close;

}else {

mes "ask your guild master to see me";

close;

}

}

mes "your guild failed to take reward";

mes "if your guild owned a castle ask your guild master to claim reward from me";

close;

OnAgitEnd:

set $castle_claimed, 0; // everytime woe ends the variable resets

end;

OnInit:

set .castlename$, "prtg_cas01";

waitingroom "Woe Prize",0;

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

Have you tried my script? o:

trunk/npc/custom/woe_controller.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@Anakid i will try your scrit <3



Have you tried my script? o:
trunk/npc/custom/woe_controller.txt

Euphy can you add a Breaker Announcer on your script?

Edited by Yoona
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

Euphy can you add a Breaker Announcer on your script?

I've posted this a lot already, but no, that label is executed in the guild files themselves.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Euphy can you add a Breaker Announcer on your script?

I've posted this a lot already, but no, that label is executed in the guild files themselves.

so there's no other way to add an announcer?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Euphy controller does not have anything to do with the breaker announcer. You can add that through agit_main.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Euphy controller does not have anything to do with the breaker announcer. You can add that through agit_main.txt

how? im new with this type of problem ^_^ can you help me. 

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

×
×
  • Create New...