Guild MoTD

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Giddemore
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Nov 22, 2004 8:22 am

Guild MoTD

Post by Giddemore » Thu Dec 02, 2004 11:39 am

Been searching for this haven't found it yet. Looking for a macro where the guild can have a toon that is tagged as a guild officer can watch a specified channel and update the MOTD for the guild from text placed in that channel. This way I can give people rights to update the MOTD without giving them the officer tag.

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Thu Dec 02, 2004 4:44 pm

I suck at events but this seems kinda simple to do.. I've seen this type of event code before, should look something like

Code: Select all

#event MOTD "#*#tells you, '|${password}|-#1#'"
And in your declares...

Code: Select all

/declare password string outer password
Then a sub something like..

Code: Select all

Sub Event_MOTD(TellText,MessageOfTheDay)

   /guildmotd ${MessageOfTheDay}

/return
I have no idea if that would work but I think that's somewhere in neighborhood.

JJ
a hill giant
a hill giant
Posts: 227
Joined: Thu Nov 11, 2004 5:50 am

Post by JJ » Sun Dec 05, 2004 1:14 pm

Neolesh wrote:And in your declares...

Code: Select all

/declare password string outer password
Just a note: that will set the password to whatever the player has /told your bot. So right or wrong it will change the MOTD.