Jump to content
  • 0

Guild every 30mins announcement


maynard

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Sir I would like to request a NPC that announce in every 30 minutes.It will announce random messages.the castle is kriemhild.

[winningguild]=color red

[announcement]=color yellow or Blue

sample: [owner of kriemhild] + [announcement blah blah blah blah]

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you cant....

either a separate announcement..or get use to it...

- script Sample -1,{
OnMinute30:
set .Map$,"prtg_cas03";
announce "[ "+getguildname( getcastledata( .Map$,1 ) )+" ]",0,0x0000FF;
announce "Owned the Castle of [ "+getcastlename( .Map$ )+" ].",0,0xFF0000;
end;
}

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

like this ??

- script Sample -1,{
OnMinute30:
set .Map$,"prtg_cas03";
announce "[ "+getguildname( getcastledata( .Map$,1 ) )+" ] Owned the Castle of [ "+getcastlename( .Map$ )+" ].",bc_blue;
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

its seems it doesn't work with me, no error in mapserv, it doesnt broadcast. will this work if i have another npc with - script Sample -1,{ ? I got npc with -1 sprite.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

the script will only announce at 30th Minutes every hours...

if you have the same NPC named with Sample...then just rename it..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

how to change color this part only? [ "+getguildname( getcastledata( .Map$,1 ) )+" ]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

tnx sir emistry, DONE

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...