Jump to content
  • 0

question about @gmotd


Question

13 answers to this question

Recommended Posts

Posted (edited)
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)
Posted

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

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

where i found this line??

Posted

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

Posted

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;

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...