home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
zb
/
Notepad-1
/
code.js
< prev
next >
Wrap
Text File
|
2004-12-09
|
11KB
|
451 lines
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
if (swtch == 1){
basic = false;
stprompt = false;
helpstat = true;
} else if (swtch == 0) {
helpstat = false;
stprompt = false;
basic = true;
} else if (swtch == 2) {
helpstat = false;
basic = false;
stprompt = true;
}
}
function AddText(NewCode) {
document.form1.nei.value+=NewCode;
}
function emails() {
if (helpstat) {
alert("Email ▒Ω╝╟\n▓σ╚δ Email │¼╝╢┴┤╜╙\n╙├╖¿1: [email]nobody@domain.com[/email]\n╙├╖¿2: [email=nobody@domain.com]╪²├√[/email]");
} else if (basic) {
AddTxt="[email][/email]";
AddText(AddTxt);
} else {
txt2=prompt("┴┤╜╙╧╘╩╛╡─╬─╫╓.\n╚τ╣√╬¬┐╒ú¼─╟├┤╜½╓╗╧╘╩╛─π╡─ Email ╡╪╓╖","");
if (txt2!=null) {
txt=prompt("Email ╡╪╓╖.","name@domain.com");
if (txt!=null) {
if (txt2=="") {
AddTxt="[email]"+txt+"[/email]";
} else {
AddTxt="[email="+txt+"]"+txt2;
AddText(AddTxt);
AddTxt="[/email]";
}
AddText(AddTxt);
}
}
}
}
function flash() {
if (helpstat){
alert("Flash ╢»╗¡\n▓σ╚δ Flash ╢»╗¡.\n╙├╖¿: [flash]Flash ╬─╝■╡─╡╪╓╖[/flash]");
} else if (basic) {
AddTxt="[flash][/flash]";
AddText(AddTxt);
} else {
txt=prompt("Flash ╬─╝■╡─╡╪╓╖","http://");
if (txt!=null) {
AddTxt="[flash]"+txt;
AddText(AddTxt);
AddTxt="[/flash]";
AddText(AddTxt);
}
}
}
function Cdir() {
if (helpstat){
alert("Shockwave ╢»╗¡\n▓σ╚δ Shockwave ╢»╗¡.\n╙├╖¿: [dir=500,350]Shockwave ╬─╝■╡─╡╪╓╖[/dir]");
} else if (basic) {
AddTxt="[dir][/dir]";
AddText(AddTxt);
} else {
txt=prompt("Shockwave ╬─╝■╡─╡╪╓╖","");
if (txt!=null) {
AddTxt="[dir=500,350]"+txt;
AddText(AddTxt);
AddTxt="[/dir]";
AddText(AddTxt);
}
}
}
function Crm() {
if (helpstat){
alert("real player ╬─╝■\n▓σ╚δ real player ╬─╝■.\n╙├╖¿: [rm=500,350]real player ╬─╝■╡─╡╪╓╖[/rm]");
} else if (basic) {
AddTxt="[rm][/rm]";
AddText(AddTxt);
} else {
txt=prompt("real player ╬─╝■╡─╡╪╓╖","");
if (txt!=null) {
AddTxt="[rm=500,350]"+txt;
AddText(AddTxt);
AddTxt="[/rm]";
AddText(AddTxt);
}
}
}
function Cwmv() {
if (helpstat){
alert("media player ╬─╝■\n▓σ╚δ wmv ╬─╝■.\n╙├╖¿: [mp=500,350]media player ╬─╝■╡─╡╪╓╖[/mp]");
} else if (basic) {
AddTxt="[mp][/mp]";
AddText(AddTxt);
} else {
txt=prompt("media player ╬─╝■╡─╡╪╓╖","");
if (txt!=null) {
AddTxt="[mp=500,350]"+txt;
AddText(AddTxt);
AddTxt="[/mp]";
AddText(AddTxt);
}
}
}
function Cmov() {
if (helpstat){
alert("quick time ╬─╝■\n▓σ╚δ quick time ╬─╝■.\n╙├╖¿: [qt=500,350]quick time ╬─╝■╡─╡╪╓╖[/qt]");
} else if (basic) {
AddTxt="[qt][/qt]";
AddText(AddTxt);
} else {
txt=prompt("quick time ╬─╝■╡─╡╪╓╖","");
if (txt!=null) {
AddTxt="[qt=500,350]"+txt;
AddText(AddTxt);
AddTxt="[/qt]";
AddText(AddTxt);
}
}
}
function showsize(size) {
if (helpstat) {
alert("╬─╫╓┤≤╨í▒Ω╝╟\n╔Φ╓├╬─╫╓┤≤╨í.\n┐╔▒Σ╖╢╬º 1 - 6.\n 1 ╬¬╫ε╨í 6 ╬¬╫ε┤≤.\n╙├╖¿: [size="+size+"]╒Γ╩╟ "+size+" ╬─╫╓[/size]");
} else if (basic) {
AddTxt="[size="+size+"][/size]";
AddText(AddTxt);
} else {
txt=prompt("┤≤╨í "+size,"╬─╫╓");
if (txt!=null) {
AddTxt="[size="+size+"]"+txt;
AddText(AddTxt);
AddTxt="[/size]";
AddText(AddTxt);
}
}
}
function bold() {
if (helpstat) {
alert("╝╙┤╓▒Ω╝╟\n╩╣╬─▒╛╝╙┤╓.\n╙├╖¿: [b]╒Γ╩╟╝╙┤╓╡─╬─╫╓[/b]");
} else if (basic) {
AddTxt="[b][/b]";
AddText(AddTxt);
} else {
txt=prompt("╬─╫╓╜½▒╗▒Σ┤╓.","╬─╫╓");
if (txt!=null) {
AddTxt="[b]"+txt;
AddText(AddTxt);
AddTxt="[/b]";
AddText(AddTxt);
}
}
}
function italicize() {
if (helpstat) {
alert("╨▒╠σ▒Ω╝╟\n╩╣╬─▒╛╫╓╠σ▒Σ╬¬╨▒╠σ.\n╙├╖¿: [i]╒Γ╩╟╨▒╠σ╫╓[/i]");
} else if (basic) {
AddTxt="[i][/i]";
AddText(AddTxt);
} else {
txt=prompt("╬─╫╓╜½▒Σ╨▒╠σ","╬─╫╓");
if (txt!=null) {
AddTxt="[i]"+txt;
AddText(AddTxt);
AddTxt="[/i]";
AddText(AddTxt);
}
}
}
function quote() {
if (helpstat){
alert("╥²╙├▒Ω╝╟\n╥²╙├╥╗╨⌐╬─╫╓.\n╙├╖¿: [quote]╥²╙├─┌╚▌[/quote]");
} else if (basic) {
AddTxt="[quote][/quote]";
AddText(AddTxt);
} else {
txt=prompt("▒╗╥²╙├╡─╬─╫╓","╬─╫╓");
if(txt!=null) {
AddTxt="[quote]"+txt;
AddText(AddTxt);
AddTxt="[/quote]";
AddText(AddTxt);
}
}
}
function showcolor(color) {
if (helpstat) {
alert("╤╒╔½▒Ω╝╟\n╔Φ╓├╬─▒╛╤╒╔½. ╚╬║╬╤╒╔½├√╢╝┐╔╥╘▒╗╩╣╙├.\n╙├╖¿: [color="+color+"]╤╒╔½╥¬╕─▒Σ╬¬"+color+"╡─╬─╫╓[/color]");
} else if (basic) {
AddTxt="[color="+color+"][/color]";
AddText(AddTxt);
} else {
txt=prompt("╤í╘±╡─╤╒╔½╩╟: "+color,"╬─╫╓");
if(txt!=null) {
AddTxt="[color="+color+"]"+txt;
AddText(AddTxt);
AddTxt="[/color]";
AddText(AddTxt);
}
}
}
function center() {
if (helpstat) {
alert("╢╘╞δ▒Ω╝╟\n╩╣╙├╒Γ╕÷▒Ω╝╟, ┐╔╥╘╩╣╬─▒╛╫≤╢╘╞δíó╛╙╓╨íó╙╥╢╘╞δ.\n╙├╖¿: [align=center|left|right]╥¬╢╘╞δ╡─╬─▒╛[/align]");
} else if (basic) {
AddTxt="[align=center|left|right][/align]";
AddText(AddTxt);
} else {
txt2=prompt("╢╘╞δ╤∙╩╜\n╩Σ╚δ 'center' ▒φ╩╛╛╙╓╨, 'left' ▒φ╩╛╫≤╢╘╞δ, 'right' ▒φ╩╛╙╥╢╘╞δ.","center");
while ((txt2!="") && (txt2!="center") && (txt2!="left") && (txt2!="right") && (txt2!=null)) {
txt2=prompt("┤φ╬≤!\n└α╨═╓╗─▄╩Σ╚δ 'center' íó 'left' ╗≥╒▀ 'right'.","");
}
txt=prompt("╥¬╢╘╞δ╡─╬─▒╛","╬─▒╛");
if (txt!=null) {
AddTxt="\r[align="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/align]";
AddText(AddTxt);
}
}
}
function hyperlink() {
if (helpstat) {
alert("│¼╝╢┴┤╜╙▒Ω╝╟\n▓σ╚δ╥╗╕÷│¼╝╢┴┤╜╙▒Ω╝╟\n╩╣╙├╖╜╖¿: [url]http://www.aspsky.net[/url]\nUSE: [url=http://www.aspsky.net]┴┤╜╙╬─╫╓[/url]");
} else if (basic) {
AddTxt="[url][/url]";
AddText(AddTxt);
} else {
txt2=prompt("┴┤╜╙╬─▒╛╧╘╩╛.\n╚τ╣√▓╗╧δ╩╣╙├, ┐╔╥╘╬¬┐╒, ╜½╓╗╧╘╩╛│¼╝╢┴┤╜╙╡╪╓╖. ","");
if (txt2!=null) {
txt=prompt("│¼╝╢┴┤╜╙.","http://");
if (txt!=null) {
if (txt2=="") {
AddTxt="[url]"+txt;
AddText(AddTxt);
AddTxt="[/url]";
AddText(AddTxt);
} else {
AddTxt="[url="+txt+"]"+txt2;
AddText(AddTxt);
AddTxt="[/url]";
AddText(AddTxt);
}
}
}
}
}
function image() {
if (helpstat){
alert("═╝╞¼▒Ω╝╟\n▓σ╚δ═╝╞¼\n╙├╖¿ú║ [img]http://www.aspsky.net/logo.gif[/img]");
} else if (basic) {
AddTxt="[img][/img]";
AddText(AddTxt);
} else {
txt=prompt("═╝╞¼╡─ URL","http://");
if(txt!=null) {
AddTxt="\r[img]"+txt;
AddText(AddTxt);
AddTxt="[/img]";
AddText(AddTxt);
}
}
}
function showcode() {
if (helpstat) {
alert("┤·┬δ▒Ω╝╟\n╩╣╙├┤·┬δ▒Ω╝╟ú¼┐╔╥╘╩╣─π╡─│╠╨≥┤·┬δ└∩├µ╡─ html ╡╚▒Ω╓╛▓╗╗ß▒╗╞╞╗╡.\n╩╣╙├╖╜╖¿:\n [code]╒Γ└∩╩╟┤·┬δ╬─╫╓[/code]");
} else if (basic) {
AddTxt="\r[code]\r[/code]";
AddText(AddTxt);
} else {
txt=prompt("╩Σ╚δ┤·┬δ","");
if (txt!=null) {
AddTxt="\r[code]"+txt;
AddText(AddTxt);
AddTxt="[/code]";
AddText(AddTxt);
}
}
}
function list() {
if (helpstat) {
alert("┴╨▒φ▒Ω╝╟\n╜¿╘∞╥╗╕÷╬─╫╓╗≥╘≥╩²╫╓┴╨▒φ.\n\nUSE: [list] [*]╧ε─┐╥╗[/*] [*]╧ε─┐╢■[/*] [*]╧ε─┐╚²[/*] [/list]");
} else if (basic) {
AddTxt=" [list][*] [/*][*] [/*][*] [/*][/list]";
AddText(AddTxt);
} else {
txt=prompt("┴╨▒φ└α╨═\n╩Σ╚δ 'A' ▒φ╩╛╙╨╨≥┴╨▒φ, '1' ▒φ╩╛╬▐╨≥┴╨▒φ, ┴⌠┐╒▒φ╩╛╬▐╨≥┴╨▒φ.","");
while ((txt!="") && (txt!="A") && (txt!="a") && (txt!="1") && (txt!=null)) {
txt=prompt("┤φ╬≤!\n└α╨═╓╗─▄╩Σ╚δ 'A' íó '1' ╗≥╒▀┴⌠┐╒.","");
}
if (txt!=null) {
if (txt=="") {
AddTxt="[list]";
} else {
AddTxt="[list="+txt+"]";
}
txt="1";
while ((txt!="") && (txt!=null)) {
txt=prompt("┴╨▒φ╧ε\n┐╒░╫▒φ╩╛╜ß╩°┴╨▒φ","");
if (txt!="") {
AddTxt+="[*]"+txt+"[/*]";
}
}
AddTxt+="[/list] ";
AddText(AddTxt);
}
}
}
function showfont(font) {
if (helpstat){
alert("╫╓╠σ▒Ω╝╟\n╕°╬─╫╓╔Φ╓├╫╓╠σ.\n╙├╖¿: [face="+font+"]╕─▒Σ╬─╫╓╫╓╠σ╬¬"+font+"[/face]");
} else if (basic) {
AddTxt="[face="+font+"][/face]";
AddText(AddTxt);
} else {
txt=prompt("╥¬╔Φ╓├╫╓╠σ╡─╬─╫╓"+font,"╬─╫╓");
if (txt!=null) {
AddTxt="[face="+font+"]"+txt;
AddText(AddTxt);
AddTxt="[/face]";
AddText(AddTxt);
}
}
}
function underline() {
if (helpstat) {
alert("╧┬╗«╧▀▒Ω╝╟\n╕°╬─╫╓╝╙╧┬╗«╧▀.\n╙├╖¿: [u]╥¬╝╙╧┬╗«╧▀╡─╬─╫╓[/u]");
} else if (basic) {
AddTxt="[u][/u]";
AddText(AddTxt);
} else {
txt=prompt("╧┬╗«╧▀╬─╫╓.","╬─╫╓");
if (txt!=null) {
AddTxt="[u]"+txt;
AddText(AddTxt);
AddTxt="[/u]";
AddText(AddTxt);
}
}
}
function setfly() {
if (helpstat){
alert("╖╔╧Φ▒Ω╝╟\n╩╣╬─╫╓╖╔╨╨.\n╙├╖¿: [fly]╬─╫╓╬¬╒Γ╤∙╬─╫╓[/fly]");
} else if (basic) {
AddTxt="[fly][/fly]";
AddText(AddTxt);
} else {
txt=prompt("╖╔╧Φ╬─╫╓","╬─╫╓");
if (txt!=null) {
AddTxt="[fly]"+txt;
AddText(AddTxt);
AddTxt="[/fly]";
AddText(AddTxt);
}
}
}
function move() {
if (helpstat) {
alert("╥╞╢»▒Ω╝╟\n╩╣╬─╫╓▓·╔·╥╞╢»╨º╣√.\n╙├╖¿: [move]╥¬▓·╔·╥╞╢»╨º╣√╡─╬─╫╓[/move]");
} else if (basic) {
AddTxt="[move][/move]";
AddText(AddTxt);
} else {
txt=prompt("╥¬▓·╔·╥╞╢»╨º╣√╡─╬─╫╓","╬─╫╓");
if (txt!=null) {
AddTxt="[move]"+txt;
AddText(AddTxt);
AddTxt="[/move]";
AddText(AddTxt);
}
}
}
function shadow() {
if (helpstat) {
alert("╥⌡╙░▒Ω╝╟\n╩╣╬─╫╓▓·╔·╥⌡╙░╨º╣√.\n╙├╖¿: [SHADOW=┐φ╢╚, ╤╒╔½, ▒▀╜τ]╥¬▓·╔·╥⌡╙░╨º╣√╡─╬─╫╓[/SHADOW]");
} else if (basic) {
AddTxt="[SHADOW=255,blue,1][/SHADOW]";
AddText(AddTxt);
} else {
txt2=prompt("╬─╫╓╡─│ñ╢╚íó╤╒╔½║═▒▀╜τ┤≤╨í","255,blue,1");
if (txt2!=null) {
txt=prompt("╥¬▓·╔·╥⌡╙░╨º╣√╡─╬─╫╓","╬─╫╓");
if (txt!=null) {
if (txt2=="") {
AddTxt="[SHADOW=255, blue, 1]"+txt;
AddText(AddTxt);
AddTxt="[/SHADOW]";
AddText(AddTxt);
} else {
AddTxt="[SHADOW="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/SHADOW]";
AddText(AddTxt);
}
}
}
}
}
function glow() {
if (helpstat) {
alert("╣Γ╘╬▒Ω╝╟\n╩╣╬─╫╓▓·╔·╣Γ╘╬╨º╣√.\n╙├╖¿: [GLOW=┐φ╢╚, ╤╒╔½, ▒▀╜τ]╥¬▓·╔·╣Γ╘╬╨º╣√╡─╬─╫╓[/GLOW]");
} else if (basic) {
AddTxt="[glow=255,red,2][/glow]";
AddText(AddTxt);
} else {
txt2=prompt("╬─╫╓╡─│ñ╢╚íó╤╒╔½║═▒▀╜τ┤≤╨í","255,red,2");
if (txt2!=null) {
txt=prompt("╥¬▓·╔·╣Γ╘╬╨º╣√╡─╬─╫╓.","╬─╫╓");
if (txt!=null) {
if (txt2=="") {
AddTxt="[glow=255,red,2]"+txt;
AddText(AddTxt);
AddTxt="[/glow]";
AddText(AddTxt);
} else {
AddTxt="[glow="+txt2+"]"+txt;
AddText(AddTxt);
AddTxt="[/glow]";
AddText(AddTxt);
}
}
}
}
}