View Single Post
Fearts
ferts of daeth
Join Date: Oct 2008
Old 03-15-2012 , 23:38   Re: [SM] Notices v1.0.1 (Updated: 3/15)
Reply With Quote #3

Very nice. Here is some bacon for your troubles

I am not sure what the timer does though. I did:

sm_addnotice 0 .2 "Test Notice" "Let see what this does"

Then I used: sm_loadnotices

Then I typed !news and it shows the notice.

I waited 30 seconds and changed the map. I typed !news and the notice is still there. Shouldn't it have been deleted?

EDIT:

Oh I see it wont let me use .2 only whole numbers.

EDIT2:

] sm_addnotice 0 1 "Test Notice" "Let see what this does"
News: Notice successfully entered into database under index 6!
] sm_getnotice 6
News: The requested notice has been printed to your console.
News: Server: 0, Issued: 03/15/12, Admin: Admin, Duration: 60 minutes.

Shouldn't this be 1 minute not 60 minutes?

EDIT3:

sm_delnotice removes the notice from the menu but not the database as stated.
__________________

Last edited by Fearts; 03-15-2012 at 23:50.
Fearts is offline