Jump to content
  • 0

Help how to enable Beaker announce?


RN1986

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

Help how to enable Beaker announce? not only the guild name i want also the CharName..to be announce thanks

http://pastebin.com/QYYUz2fQ

Edited by RN1986
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

    set .@breaker$, strcharinfo(0);    
   // Respawn the Emperium, and display new owners.
   if (agitcheck()) {
       sleep2 500; // Slow down script execution slightly.
       donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena";
       announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by [ "+.@breaker$+" ] of the [" + getguildName(.@GID) + "] guild.",bc_all;
       end;
   }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

where to put this code? thanks :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

replace this

    // Respawn the Emperium, and display new owners.
   if (agitcheck()) {
       sleep2 500; // Slow down script execution slightly.
       donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena";
   }

to this

       set .@breaker$, strcharinfo(0); 
       // Respawn the Emperium, and display new owners.
       if (agitcheck()) {
               sleep2 500; // Slow down script execution slightly.
               donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena";
               announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by [ "+.@breaker$+" ] of the [" + getguildName(.@GID) + "] guild.",bc_all;
               end;
       }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

NVM solve thank you very much for the help :)

Edited by RN1986
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...