Community Central
Register
Community Central
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
importScriptPage('User:Monchoman45/ChatHacks.js', 'c');
 
importScriptPage('User:Monchoman45/ChatHacks.js', 'c');
  +
var ItemsToAdd = [
 
  +
{
/* My Birthday script. Feel free to copy and modify. */
 
  +
'Name': 'Sample Page',
 
  +
'Page': '',
var date = new Date();
 
  +
'Description': 'You should edit this'
var dd = today.getDate();
 
  +
},
var mm = today.getMonth()+1;
 
  +
];
 
var birthmonth = 02;
+
var AffectsSidebar = true;
  +
var birthday = 02;
 
  +
importArticles({
 
  +
type: 'script',
alert(dd+'/'+mm);
 
  +
articles: [
  +
'u:dev:AddInsights/Source',
  +
]
  +
});

Latest revision as of 01:36, 12 October 2015

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');
var ItemsToAdd = [
  {
    'Name': 'Sample Page',
    'Page': '',
    'Description': 'You should edit this'
  },
];
var AffectsSidebar = true;
 
importArticles({
    type: 'script',
    articles: [
        'u:dev:AddInsights/Source',
    ]
});