if (actionplayeronline){ } if (rcchat) { if (hasright(rw,NPCS/Control-NPC)) { if (strequals(#p(0),rcnews)) { thiso.rcbotfound=0; with(getnpc(RC Bot)){ setstring this.rcnews,#a: #p(1); thiso.rcbotfound=1; } if (thiso.rcbotfound==1){ sendtonc RC Bot: #a has set the news!; } else { sendtonc RC Bot not found!; } } if (strequals(#p(0),pm)) { //Need the new script engine to work. (BC) setstring this.base,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,9,""; setstring this.new,; setstring this.new2,; for (u = 0; u < strlen(#p(1)); u++){ addstring this.new,#v(lindexof(#e(u,1,#p(1)),this.base)); } sendtonc Encrypted: #s(this.new); for (w = 0; w < sarraylen(this.new);w++){ this.code = strtofloat(#I(this.new,w)); if (strequals(#v(this.code),62)){setstring this.new2,#s(this.new2) #; } else {setstring this.new2,#s(this.new2)#I(this.base,this.code)#; } } sendtonc Before : #s(this.new2); setstring this.newtemp,; for (f = 0; f < strlen(#s(this.new2));f+=2){ //this should copy the spaces too!!! Graal script sux! setstring this.newtemp,#s(this.newtemp)#e(f,1,#s(this.new2)); } sendtonc Decrypted: #s(this.newtemp); for (r = 0; r < allplayerscount; r++) with (allplayers[r]) if (strlen(#F)<=0){ if (strequals(#a,BinaryCrash)){ // sendpm #v(sarraylen(this.new)) #b #s(this.new) #b #s(this.new2); } } } if (strequals(#p(0),shownews)){ thiso.rcbotfound=0; with(getnpc(RC Bot)){ sendtonc RC Bot: #s(this.rcnews); thiso.rcbotfound=1; } //this s... dont suppot else or except if (thiso.rcbotfound==0){ sendtonc RC Bot not found!; } } //Close if(shownews) } //Close if(hasrights) } //Close if(rcchat)