Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 11-29-2005, 10:19 PM   #1 (permalink)
 
Join Date: Nov 2002
Posts: 72
Send a message via ICQ to BondDLegion
Default Old MOTD system

I see my old script posting is gone so i repost my old MOTD system.
Created many new MOTD scripts bazed on it, but maybe someone needed it's version.

Script nisely work with russian language, i think it's work with any language.

Instalation:
1. Place motd.cs in you custrom script directory.
2. Restart you RunUO.
3. Create you motd, save it as motd.txt and place it in Data subdirektory RunUo folder.
4. As admin type [motd. Press key "Add MOTD" and, after press key "Update News".

Note: Restarting needed only after installing script. Adding new MOTD not force you to restart RunUO
Attached Files
File Type: cs Motd.cs (5.8 KB, 179 views)
__________________
Pereat mundus et fiat justitia
Forgotten Legend
BondDLegion is offline  
Old 12-27-2005, 08:12 PM   #2 (permalink)
Newbie
 
Join Date: Jul 2004
Location: Ont. Canada
Age: 27
Posts: 79
Send a message via MSN to titan0051
Default

Im getting "No News" in the Gump at login. i tried update news, but nothing ..

Isnt there supposed to be a News.txt as well?
titan0051 is offline  
Old 12-27-2005, 09:20 PM   #3 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

well what you have to do is make your messgae and save it as motd.txt, then put in in yr data folder. and in game put in [motd. the click add motd the update it will say it wont show up till you log out sort of. so sign out and sign in. if u get any other probs let us no. thanks
__________________
*+ MW Admin Naturescorpse +*
WonderlandADnc is offline  
Old 12-30-2005, 03:58 PM   #4 (permalink)
Forum Novice
 
Join Date: Jul 2005
Posts: 163
Send a message via AIM to mkiplm Send a message via MSN to mkiplm Send a message via Yahoo to mkiplm
Default help

yea i did the motd.txt in data and put but i ant geting no news
mkiplm is offline  
Old 12-30-2005, 04:04 PM   #5 (permalink)
Forum Expert
 
BeneathTheStars's Avatar
 
Join Date: Jul 2005
Location: (South)Tip o' Texas
Posts: 1,294
Send a message via AIM to BeneathTheStars Send a message via MSN to BeneathTheStars
Default

make sure you have the ------------------------ at the top of the txt file..
BeneathTheStars is offline  
Old 12-31-2005, 12:00 PM   #6 (permalink)
 
Join Date: Nov 2002
Posts: 72
Send a message via ICQ to BondDLegion
Default

First line of motd.txt - it's a subject of motd.
__________________
Pereat mundus et fiat justitia
Forgotten Legend
BondDLegion is offline  
Old 12-31-2005, 02:12 PM   #7 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

i you looked around you could have had it done by now. this is what you do.

If you would like for it to pop up on login goto the script in /scripts/misc/ and open loginstats. find this:
Code:
m.SendMessage( "There {1} currently {2} user{3} online,  and {6} NPC{7}.",
args.Mobile.Name,
userCount == 1 ? "is" : "are",
userCount, userCount == 1 ? "" : "s",
itemCount, itemCount == 1 ? "" : "s",
mobileCount, mobileCount == 1 ? "" : "s" );
And right below it add this:

Code:
m.SendGump ( new motdg() );
at the verry top of the script add this:
Code:
using Server.Gumps;
Gave thanks to them who showed me. thanks
__________________
*+ MW Admin Naturescorpse +*
WonderlandADnc is offline  
Old 01-18-2006, 11:39 AM   #8 (permalink)
 
Join Date: Nov 2002
Posts: 72
Send a message via ICQ to BondDLegion
Thumbs down

Quote:
Originally Posted by WonderlandADnc
i you looked around you could have had it done by now. this is what you do.

If you would like for it to pop up on login goto the script in /scripts/misc/ and open loginstats. find this:
Code:
m.SendMessage( "There {1} currently {2} user{3} online,  and {6} NPC{7}.",
args.Mobile.Name,
userCount == 1 ? "is" : "are",
userCount, userCount == 1 ? "" : "s",
itemCount, itemCount == 1 ? "" : "s",
mobileCount, mobileCount == 1 ? "" : "s" );
And right below it add this:

Code:
m.SendGump ( new motdg() );
at the verry top of the script add this:
Code:
using Server.Gumps;
Gave thanks to them who showed me. thanks
I'm don't understand why you add this to stock script? Realy simply in Initialize add one string:
Code:
EventSink.Login += new LoginEventHandler( MOTD_Login );
and every user on login get something writed in MOTD_Login function.
__________________
Pereat mundus et fiat justitia
Forgotten Legend
BondDLegion is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5