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 07-29-2005, 02:37 PM   #1 (permalink)
Forum Newbie
 
Join Date: Jan 2005
Location: canada eh
Age: 19
Posts: 58
Send a message via MSN to stevend
Lightbulb Simple but handy MOTD script

Installation:
Throw is in your customs folder, Then make a file in your /data/ dir called motd.html and put your message of the day in that file.

They can use [motd to bring up the MOTD now. If you would like for it to pop up on login goto the script in /scripts/misc/ and open loginstats.

Making it open motd on login:
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;
Attached Images
File Type: jpg screenie.JPG (63.7 KB, 828 views)
Attached Files
File Type: rar motd.rar (1.3 KB, 323 views)

Last edited by stevend; 12-28-2005 at 09:01 PM.
stevend is offline  
Old 08-02-2005, 08:41 AM   #2 (permalink)
 
Join Date: Aug 2004
Age: 20
Posts: 26
Send a message via ICQ to Zeus19601 Send a message via AIM to Zeus19601 Send a message via Yahoo to Zeus19601
Default

Cool, nice script.
Zeus19601 is offline  
Old 09-13-2005, 06:26 PM   #3 (permalink)
 
Join Date: Aug 2005
Age: 41
Posts: 47
Default Got an Error

Hi When i type [motd it opens up and it says ERROR: could not find MOTD file. could you lend me a hand ? I made a file in my data file named motd.html am i not doing something right ?
mcifaldi is offline  
Old 09-14-2005, 04:25 AM   #4 (permalink)
Forum Novice
 
Join Date: Apr 2005
Location: Holland, AMSTERDAM
Posts: 134
Send a message via AIM to Xplozive Send a message via MSN to Xplozive
Default Sending gump

Hi,
Is it posible to send this gump to all players on line.
Xplozive is offline  
Old 09-14-2005, 01:17 PM   #5 (permalink)
Forum Newbie
 
Join Date: Apr 2005
Age: 29
Posts: 67
Default

What does "MOTD" stands for? I am not sure what this script does.
Dawn is offline  
Old 09-14-2005, 01:20 PM   #6 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Quote:
Originally Posted by Dawn
What does "MOTD" stands for? I am not sure what this script does.
Message of the day.
Didn't test it, but I know from another motd script, that it crashed on button response Razor macros. Can you confirm, that this one won't crash in that case?
Kamuflaro is offline  
Old 12-11-2005, 03:50 AM   #7 (permalink)
Newbie
 
Join Date: Jul 2004
Location: Ont. Canada
Age: 27
Posts: 79
Send a message via MSN to titan0051
Default

I try to add this script and edit the loginstats.cs as you directed, and i get an error:

Code:
The type or namespace name "motdg" could not be found
I can not have the motd pop up upon login until this problem is fixed or directions are given on how to fix it.

Looks like im not the only one with this problem.

Thx.
titan0051 is offline  
Old 12-11-2005, 04:33 PM   #8 (permalink)
Account Terminated
 
Join Date: Dec 2005
Posts: 10
Default

man theres alot of these motd scripts but this ones pretty good i like that other one with archives though but this is definitaly better then the one with months of the year
teh_pwnerer is offline  
Old 12-28-2005, 08:04 PM   #9 (permalink)
Forum Newbie
 
Join Date: Jan 2005
Location: canada eh
Age: 19
Posts: 58
Send a message via MSN to stevend
Default

sorry guys, forgot the using statement, i added it now, itll work fine.
stevend is offline  
Old 12-29-2005, 04:28 PM   #10 (permalink)
Newbie
 
Join Date: Jul 2004
Location: Ont. Canada
Age: 27
Posts: 79
Send a message via MSN to titan0051
Default

Now the MOTD works, but when it comes up it says MOTD.html not found or something along those lines..

I put a text file in my Data Dir, called motd.html , and wrote my motd in that file, and its not working.

How do i create a filetype .html? Do you mean, type the motd using html tags?

Thx again.
titan0051 is offline  
Old 01-11-2006, 07:04 PM   #11 (permalink)
Forum Newbie
 
Join Date: Jan 2005
Location: canada eh
Age: 19
Posts: 58
Send a message via MSN to stevend
Default

if you do not have hide extensions off then set it off makes everything on windows easier...its in folder options...or just save as in notepad and changes extension to * and add .html to the end...
stevend is offline  
Old 01-11-2006, 10:52 PM   #12 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

hi there, what you have to do is, open notepad and put your message and save as motd.txt thanks
__________________
*+ MW Admin Naturescorpse +*
WonderlandADnc is offline  
Old 01-19-2006, 12:00 AM   #13 (permalink)
Forum Newbie
 
Join Date: Jan 2005
Location: canada eh
Age: 19
Posts: 58
Send a message via MSN to stevend
Default

just save as then change the save as file type att al files and save as motd.html
stevend 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