Jump to content
  • 0

question about @gmotd


harhar

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

hello guyz..it is posible??that @gmotd can make it auto announce every time a player login?or to be broadcast every time a player login??? thanks guyz..

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


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

You want the motd file announced every time a player logs in...?

-    script    gmotd    -1,{ OnPCLoginEvent: atcommand "@gmotd"; end; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

hello guyz..it is posible??that @gmotd can make it auto announce every time a player login?or to be broadcast every time a player login??? thanks guyz..

You mean just add an announcement when a player logs in?

Because @gmotd would broadcast the MOTD to every player.

-    script    more_MOTD    -1,{
OnPCLoginEvent:
   announce strcharinfo(0) + " has just logged in.",0;
   end;
}

Edited by Euphy
(added announce flag)
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:  

announce "Message",0;

announce

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

You want the motd file announced every time a player logs in...?

-	script	gmotd	-1,{ OnPCLoginEvent: atcommand "@gmotd"; end; }

where i found this line??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

announce "Message",0;

announce

where i can found this scrip??tnx

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:  

read post#3 ???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

You have to add it. Adding_a_Script

sorry but can you give me a sample??or what...

Link to comment
Share on other sites


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

Have you read the article? o.o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

im going to make a npc ,,,a error..wew

- npc_parsesrcfile: Unknown syntax in file 'npc/custom/motd.txt', line

Have you read the article? o.o

yahh i read it

its working but i receive error =)

how about to broadcast motd messge??evry loging of a player

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:  

hmm ....

why you want to broadcast the message again ?

by default...the motd message is displayed in player's chat window everytime player login...

if you want it to broadcast to every player when a player online...

use the method post by euphy in above post....

if you want to broadcast to the character that just logged in...

use the method posted by Brian above..and use this announce flag

announce "MOTD MESSAGE",bc_self;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  09/18/12
  • Last Seen:  

hmm ....

why you want to broadcast the message again ?

by default...the motd message is displayed in player's chat window everytime player login...

announce "MOTD MESSAGE",bc_self;

yah by default the motd msg shown in chat window..it posible motd msg automatic broadcast??

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:  

if you want it to braodcast...just follow what we told you in above post.....

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