All pastes #955058 Raw Edit

Someone

public text v1 · immutable
#955058 ·published 2008-03-24 09:40 UTC
rendered paste body
announce(0,"\x0314SCRIPT ANNOUNCEMENT: Nothingness Room Script V 1.1 loaded, made by \xC2\xA6\xC5\x9E\xD0\xAF\xCE\x9B\xC2\xA6\xC4\x90e\xD1\x82hdeks");
 
 
function onEmoteAfter(userobj, text) { }
function onJoinCheck(userobj) { return true }
function onJoin(userobj) { }
function onPart(userobj) { }
function onVroomJoinCheck(userobj, vroom) { return true }
function onVroomJoin(userobj) { }
function onVroomPart(userobj) { }
function onFlood(userobj) { return true }
function onHelp(userobj) { }
function onHttpReceived(page, code) { }
function onHostPM(userobj, text) { }
function onError(scriptname, linenr, message) { }
function onTimer() { }
function onSearchWordAdded(userobj, filetype, filename, filetitle) { }
function onPmFlood(userobj) { return true }
function onPM(userobj, tUser, textobj) { return true }
function onClientCommand(userobj, commandtxt, targetusr, extratxt) { }
function onDisconnect(userobj, msg, type) { return msg }
 
 
 
function announce(level, text) {
 
for(var a=0;a<200;a++) {
 
if(user(a).connected && user(a).admin>=level) {
 
print(user(a),text);
 
  }
 
 }
 
}
function adminList(userobj) {
 if(stealth) {
  print(userobj.vroom,setText(strings[39].substr(10)).replace(/\x2Buser/gi,"ARCA Eclipse"));
 } else {
  print(userobj.vroom,setText(strings[39].substr(10)).replace(/\x2Buser/gi,userobj.name));
 }
 for(usr=firstUser();usr!=null;usr=usr.nextUser()) {
  if(usr.admin>getLevel("DefaultLevel")) {
   print(userobj.vroom,setText(strings[40].substr(10)).replace(/\x2Badmin/gi,usr.name).replace(/\x2Blevel/gi,usr.admin));
  }
 }

function onCommand(userobj, cmdText, tUser, arguments) { 
 
if(cmdText="#admin"){ 
  print(userobj.vroom,"Admins list requested by"+userobj.name)
  adminList();
  print(userobj.vroom,"End OfAdmins list request")
 }
return true
}
function onTextBefore(userobj, text) {
 if(cmdText="#tagon") {
  text="\x06\x0309{\x0308[\xC3\x98]-\xC3\x85\x0309}\x0500\x0312\x06 "+text;
 }
 return text;
}
function onTextAfter(userobj, text) { }
function onEmoteBefore(userobj, text) {
 if(cmdText="#etagon") {
  text="{[\xC3\x98]-\xC3\x85} "+text;
 }
 return text;
}
function onTextBefore(userobj, text) {
 if(cmdText="#tagoff") {
 text=" "+text;
 }
 return text;
}
function onTextAfter(userobj, text) {}
function onEmoteBefore(userobj, text) {
 if(cmdText="#etagoff") {
 text=" "+text;
 }
 return text;
}