llbranco 0 Posted August 11, 2013 hi, my doubt is:how to send more then 1 line using the new MOTD.txt (npc/MOTD.txt)? thanks Quote Share this post Link to post Share on other sites
0 frenzmu06 5 Posted August 12, 2013 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;} 1 llbranco reacted to this Quote Share this post Link to post Share on other sites
0 Mikado 4 Posted August 11, 2013 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. 2 llbranco and Mumbles reacted to this Quote Share this post Link to post Share on other sites
0 llbranco 0 Posted August 17, 2013 Thanks Guys Quote Share this post Link to post Share on other sites
hi,
my doubt is:
how to send more then 1 line using the new MOTD.txt (npc/MOTD.txt)?
thanks
Share this post
Link to post
Share on other sites