Jump to content

  •  

Photo

About the new MOTD.txt


Best Answer frenzmu06, 12 August 2013 - 12:01 AM

i use something like this

 

//====================================================//=       _   _                     _           //=      | | | |                   | |          //=      | |_| | ___ _ __ ___ _   _| | ___  ___ //=      |  _  |/ _  '__/ __| | | | |/ _ / __|//=      | | | |  __/ | | (__| |_| | |  __/__ //=      _| |_/___|_|  ___|__,_|_|___||___///=                                                  //=            http://herc.ws/board/                        //====================================================// run when any character logs in, attached to them.-	script	HerculesMOTD	-1,{//=================================================================// Put you Server Name//=================================================================set @server_name$,"screamRO";//=================================================================// Put you Website and Forum //=================================================================set @server_forum$,"www.screamRO.ragnarok.so";//=================================================================// Put you WOE Times//=================================================================set @server_woe$,"Everyday 6-7 PM (WoE Classic)";//=================================================================// Put you GMT Times//=================================================================set @server_gmt$,"GMT +8";//=================================================================// STOP EDIT BELOW HERE, IF YOU DON'T KNOW//=================================================================if (getgmlevel() >=90) goto admin;if (getgmlevel() >=60) goto master;	dispbottom "[ "+@server_name$+" ]";	if (sex == 1) {dispbottom "Hello!" + strcharinfo(0) + ", Welcome to "+@server_name$+"";} else {dispbottom "Hello!" + strcharinfo(0) + ", Welcome to "+@server_name$+""; };	dispbottom "The GM Team wish you a lot of fun on our server and meet new friends.";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ Reminder ]-------------------------------------------------------------------------";	dispbottom "-PLEASE TAKE CARE OF YOUR ACCOUNTS !!";	dispbottom "-Do not give your ID and password to Anyone including GM.";	dispbottom "-Do not use any third party programs.";	dispbottom "-Do not scam.";	dispbottom "-Please report any bugs you find.";	dispbottom "[ War Of Emperium ]-----------------------------------------------------------------";	dispbottom	@server_woe$;	dispbottom "[ Server Status ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player/s Online";	close;master:	dispbottom "[ "+@server_name$+" ]";	dispbottom "Welcome to "+@server_name$+", Game Master " + strcharinfo(0) + " [ GM LV " +getgmlevel()+ " ]";	dispbottom "Read Here Ever Time You Login";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ :+: Warning :+: ]-------------------------------------------------------------------------";	dispbottom "-Do not Give any items to the player without My Permission.";	dispbottom "-Do not Start PVP/GVG at town without My Permission.";	dispbottom "-Do not Start Guild war without my permission.";	dispbottom "-Do not Spam the Mobs in the game without My Permission.";	dispbottom "-Do not Ask Any player Id,Password and Item.";	dispbottom "-Do Not Scam Player.";	dispbottom "-Do Not abuse your @commands.";	dispbottom "-Please make sure you follow all the Rules and don't break any Rule.";	dispbottom "If you Break Any Rule, Administrator will take Action.";	dispbottom "[ :+: Server Status :+: ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player/s Online";	close;admin:	dispbottom "[ "+@server_name$+" ]";	dispbottom "Welcome to "+@server_name$+", Administrator " + strcharinfo(0) + " [ GM LV " +getgmlevel()+ " ]";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ War Of Emperium ]--------------------------------------------------------------";	dispbottom	@server_woe$;	dispbottom "[ Server Status ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player Online";	close;}
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 llbranco

llbranco

    Member

  • Members
  • PipPip
  • 11 posts

Posted 11 August 2013 - 09:45 PM

hi,

my doubt is:

how to send more then 1 line using the new MOTD.txt (npc/MOTD.txt)?

 

thanks



#2 Mikado

Mikado

    Member

  • Members
  • PipPip
  • 26 posts

Posted 11 August 2013 - 11:06 PM

If you use the message command two times, it will display two different lines.

message strcharinfo(0),"First line.";message strcharinfo(0),"Second Line.";

I don't know if it's the finest way of doing it, but works.



#3 frenzmu06

frenzmu06

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 12 August 2013 - 12:01 AM   Best Answer

i use something like this

 

//====================================================//=       _   _                     _           //=      | | | |                   | |          //=      | |_| | ___ _ __ ___ _   _| | ___  ___ //=      |  _  |/ _  '__/ __| | | | |/ _ / __|//=      | | | |  __/ | | (__| |_| | |  __/__ //=      _| |_/___|_|  ___|__,_|_|___||___///=                                                  //=            http://herc.ws/board/                        //====================================================// run when any character logs in, attached to them.-	script	HerculesMOTD	-1,{//=================================================================// Put you Server Name//=================================================================set @server_name$,"screamRO";//=================================================================// Put you Website and Forum //=================================================================set @server_forum$,"www.screamRO.ragnarok.so";//=================================================================// Put you WOE Times//=================================================================set @server_woe$,"Everyday 6-7 PM (WoE Classic)";//=================================================================// Put you GMT Times//=================================================================set @server_gmt$,"GMT +8";//=================================================================// STOP EDIT BELOW HERE, IF YOU DON'T KNOW//=================================================================if (getgmlevel() >=90) goto admin;if (getgmlevel() >=60) goto master;	dispbottom "[ "+@server_name$+" ]";	if (sex == 1) {dispbottom "Hello!" + strcharinfo(0) + ", Welcome to "+@server_name$+"";} else {dispbottom "Hello!" + strcharinfo(0) + ", Welcome to "+@server_name$+""; };	dispbottom "The GM Team wish you a lot of fun on our server and meet new friends.";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ Reminder ]-------------------------------------------------------------------------";	dispbottom "-PLEASE TAKE CARE OF YOUR ACCOUNTS !!";	dispbottom "-Do not give your ID and password to Anyone including GM.";	dispbottom "-Do not use any third party programs.";	dispbottom "-Do not scam.";	dispbottom "-Please report any bugs you find.";	dispbottom "[ War Of Emperium ]-----------------------------------------------------------------";	dispbottom	@server_woe$;	dispbottom "[ Server Status ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player/s Online";	close;master:	dispbottom "[ "+@server_name$+" ]";	dispbottom "Welcome to "+@server_name$+", Game Master " + strcharinfo(0) + " [ GM LV " +getgmlevel()+ " ]";	dispbottom "Read Here Ever Time You Login";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ :+: Warning :+: ]-------------------------------------------------------------------------";	dispbottom "-Do not Give any items to the player without My Permission.";	dispbottom "-Do not Start PVP/GVG at town without My Permission.";	dispbottom "-Do not Start Guild war without my permission.";	dispbottom "-Do not Spam the Mobs in the game without My Permission.";	dispbottom "-Do not Ask Any player Id,Password and Item.";	dispbottom "-Do Not Scam Player.";	dispbottom "-Do Not abuse your @commands.";	dispbottom "-Please make sure you follow all the Rules and don't break any Rule.";	dispbottom "If you Break Any Rule, Administrator will take Action.";	dispbottom "[ :+: Server Status :+: ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player/s Online";	close;admin:	dispbottom "[ "+@server_name$+" ]";	dispbottom "Welcome to "+@server_name$+", Administrator " + strcharinfo(0) + " [ GM LV " +getgmlevel()+ " ]";	dispbottom "[ Information ]---------------------------------------------------------------------";	dispbottom "Website : "+@server_forum$+"";	dispbottom "[ War Of Emperium ]--------------------------------------------------------------";	dispbottom	@server_woe$;	dispbottom "[ Server Status ]-------------------------------------------------------------------";	dispbottom "Time: [" + gettime(3) + " : " + gettime(2) + " : " + gettime(1) + "] Date: [" + gettime(5) + " / " + gettime(6) + " / " + gettime(7) + "] [ "+@server_gmt$+" ]";	dispbottom "There are currently [ "+ getusers(1) +" ] Player Online";	close;}


#4 llbranco

llbranco

    Member

  • Members
  • PipPip
  • 11 posts

Posted 17 August 2013 - 05:42 PM

Thanks Guys






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 128 user(s)