Post: I good idea
02-06-2011, 07:29 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); UPDATE (bottom of page)
You know the motd?

I wonder if there is a way to change the motd by day!!

like add onPlayerSpawn(){
self thread motd();(then input or something)

so then like

if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }

THis is just an idea and I dont even know if this is possible but here are some ideas

im not a great c++ coder but yeah maybe you can do it by

* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)

this just an idea so yeah. . .



we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!


Also if you want it to change everytime your in a lobby


add this this to init
----------------------
motd.mod == 0
------------------------------


Add to onPlayerSpawned();
--------------------------------
self thread motdmodz();
------------------------------


then the actuall code
(I dont know how to set up but . . .)
---------------------------------------------------

motdmodz(){
if motd.mod == 0{
self setDvar("motd", "a motd here");
self notify("motd.mod == 1");
}else{
if motd.mod == 1{
self setDvar("motd", "a motd here");
self notify("motd.mod == 2");
}else{
if motd.mod == 2{
self setDvar("motd", "a motd here");
self notify("motd.mod == 0");
} }
----------------------------------------------


Honestly im kind of newby at coding so if that worked I would shit my pants!
(adsbygoogle = window.adsbygoogle || []).push({});
02-06-2011, 07:36 AM #2
Da Only OG
Trollin Since '09
Wouldn't that be in the EBOOT.BIN file?
02-06-2011, 07:38 AM #3
Mr. Aimbot
¯\_(ツWinky Winky_/¯
Originally posted by Sn1PaXx View Post
You know the motd?

I wonder if there is a way to change the motd by day!!

like add onPlayerSpawn(){
self thread motd();(then input or something)

so then like

if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }

THis is just an idea and I dont even know if this is possible but here are some ideas

im not a great c++ coder but yeah maybe you can do it by

* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)

this just an idea so yeah. . .



we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!


Good idea, but doubt it is possible.
02-06-2011, 07:49 AM #4
xScreamo!
Trading Kids For Angel Dust
Originally posted by Sn1PaXx View Post
You know the motd?

I wonder if there is a way to change the motd by day!!

like add onPlayerSpawn(){
self thread motd();(then input or something)

so then like

if (self isMonday()){
self setClientDvar("motd", "Today is monday!");
if (self isTuesday()){
self setClientDvar("motd", "Today is tuesday!");
} }

THis is just an idea and I dont even know if this is possible but here are some ideas

im not a great c++ coder but yeah maybe you can do it by

* a wait time of 24 hours (while)
*A way to tell what day it is. Like an update
*Set it up on the init like day.monday == 1
( How kills update, or score, or it updates what your friends are playing. These could all be ways to get this to work and would be very cool)

this just an idea so yeah. . .



we will probly need help from mossy, DT, blackstorm, homer, mecaj, and all these great coders!!


Do mean everyone's motd around the world?
02-06-2011, 07:54 AM #5
Originally posted by ScreamoV2 View Post
Do mean everyone's motd around the world?


well no . . .

just when you get spawned in your lobby.

if you set the motd to

self setDvar("motd", "Today is monday");

^^^^^that would just be for you
02-06-2011, 08:01 AM #6
xScreamo!
Trading Kids For Angel Dust
Originally posted by Sn1PaXx View Post
well no . . .

just when you get spawned in your lobby.

if you set the motd to

self setDvar("motd", "Today is monday");

^^^^^that would just be for you


Oh, you edit a patch for me :rolleyes:
02-06-2011, 08:17 AM #7
woofdawg233
Tokin' on Dat GreenStuff
Well in java you can use a calender I'm still new with this language. If this was possible, your lobby would have to have some timer and the lobby would have to be 24/7 or the thread would reset. unless like I said, there is something similar to the Java calender function.
02-06-2011, 09:16 AM #8
yeah if we get someone good at that language than we might get it (mossy) (fourzerotwo, maybe?)

XD jk about that last part

---------- Post added at 05:16 AM ---------- Previous post was at 04:26 AM ----------

ooh I think I know how maybe!

how does IW and 3arc keep track of playing time?

well can you make it change on everylike 30min playing or something or even 5 seconds so everytime you out of a match your motd changes!!

but we definatly got to be working on that calender in java
02-06-2011, 09:25 AM #9
Default Avatar
Gizmo
Guest
Not possible, the moment you turn your PS3 off, thhe script will stop, reseting you back to monday.
02-06-2011, 03:19 PM #10
xNiicademus
Bounty hunter
I think the best thing you could do is set the motd to random. But keep in mind, that is only each time they spawn in your game, or each time you call it from the menu. There is no way to have it change at all if they aren't in your game.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo