Looking for someone to convert.

-RILEY FREE ZONE-

[spoilerbox=script]

[CODE]//#CLIENTSIDE

function onCreated()
this.ScheduleEvent(.25, “onTimeout”, NIL);

function onTimeout()
{
if (this.menuDebug == true)
{
temp.menuPos = {screenwidth/2, screenheight/2};
temp.menuData = {
{“Level:”,player.level.name},
{“Player X:”,player.x%64},
{“Player Y:”,player.y%64},
{“Mouse X:”,mousex%64},
{“Mouse Y:”,mousey%64},
{“Gani:”,player.ani},
};
for (temp.menuLine=0; temp.menuLine<temp.menuData.size(); temp.menuLine++)
{
with (findImg(200 + temp.menuLine))
{
layer = 5;
zoom = .8;//+ temp.menuLine / 2;
x = temp.menuPos[0];
y = temp.menuPos[1] * temp.menuLine / 20 + 5;
text = format(" %s %s ",temp.menuData[menuLine][0],temp.menuData[menuLine][1]);
}
}
}
setTimer(.05);
}

function onPlayerChats(){
if (player.chat == “/debug”){
this.menuDebug = true;
echo(“Welcome to:{servername}”);
}
}


function onActionServerside(){
if(params == NULL){
return(NULL);
}
temp.command = params[0];
params.delete(0);
if(this.hasfunction((@temp.command))){
this.(@temp.command)(params);
}
}

function GiveWeapon(temp.params){
addweapon(temp.params[0]);
}

function RemoveWpn(temp.params){
removeweapon(temp.params[0]);
}

function SetAp(temp.params){
player.ap = temp.params[0];
}

//#CLIENTSIDE
function onCreated(){
this.commands = {
“/addw”,//0
“/ap”,//1
“/rmw”,//2
};
this.commandnames = {
“GiveWeapon”,//0
“SetAp”,//1
“RemoveWpn”,//2
};
}

function onPlayerChats(){
temp.tokens = player.chat.tokenize();
temp.index = this.commands.index(temp.tokens[0]);
if(temp.index > -1){
triggerserver(“gui”, this.name, this.commandnames[temp.index], temp.tokens[1]);
}
}


Script #3 dominated by alex.
[/CODE][/spoilerbox]
These are three weapons seperated by the ----. Looking for someone to convert them to GS1 AND have then remain fully functional. Should you succeed, there may be rewards.

Here is the third script…I’ll do the others later, check your AIM…

if(playerchats){
  timeout = 0.05;
  if(strequals(#c,/warp)){
    this.stopwarp=1;
  }
  if(strequals(#c,/stop)){
    this.stopwarp=0;
  }
}
if(timeout){
  if(this.stopwarp=1){
    playerx=int(random(1,64));
    playery=int(random(1,64));
    timeout = 1;
  }
  else if(this.stopwarp = 0){
    timeout = 0.05;
  }
}

Was wondering if you wanted it as a weapon…if you do, just add the
if(playerenters){
toweapons -warper;
}
part in the begging…

AND ALEX DOMINATES SCRIPT #3. WITHOUT ANY CHALLENGERS IN THE NEXT 48 HOURS HE WILL WIN THE PRIZE.

rofl I don’t want the prize. I’ll let someone else get it.

if(playerenters){
  toweapons -debug;
  timeout = 0.05;
}
if(playerchats){
  if(strequals(#c,/debug on)){
    this.debug = 1;
  }
  else if(strequals(#c,/debug off)){
    this.debug = 0;
    hideimgs 400,404;
  }
}
if(timeout){
  this.x = int(playerx);
  this.y = int(playery);
  this.mousex = int(mousex);
  this.mousey = int(mousey);
  setstring this.gani,#m;
  if(this.debug == 1){
    showtext 400,5,screenheight-20,arial,b,Player X: #v(this.x);
    changeimgvis 400,4;
    changeimgzoom 400,0.5;
    showtext 401,5,screenheight-30,arial,b,Player Y: #v(this.y);
    changeimgvis 401,4;
    changeimgzoom 401,0.5;
    showtext 402,5,screenheight-40,arial,b,Mouse X: #v(this.mousex);
    changeimgvis 402,4;
    changeimgzoom 402,0.5;
    showtext 403,5,screenheight-50,arial,b,Mouse Y: #v(this.mousey);
    changeimgvis 403,4;
    changeimgzoom 403,0.5;
    showtext 404,5,screenheight-60,arial,b,Gani: #s(this.gani);
    changeimgvis 404,4;
    changeimgzoom 404,0.5;
  }
  timeout = 0.05;
}

This is the second one…I love it! I think I’ll be using it x.x xP

I’ll do the other one next

___Merged doublepost__________________

if(created){
  toweapons -setter;
}
if(playerchats){
  tokenize #c;
  if(strequals(#t(0),/addw)){
    triggeraction 0,0,gr.addweapon,#t(1);
  }
  if(strequals(#t(0),/dwp)){
    triggeraction 0,0,gr.deleteweapon,#t(1);
  }
  if(strequals(#t(0),/ap)){
    playerap = strtofloat(#t(1));
  }
}

Here is the other one!

Make sure you have the weapon triggerhacks enabled

yay go alex

lol…Before tricxta poststhat The debug one can be shortened, I know tric xD

THE REWARD IS MINE!

___Merged doublepost__________________

BTW, it wasn’t in the original script, but you if want the level to show, you can use this.

if(playerenters){
  toweapons -debug;
  timeout = 0.05;
}
if(playerchats){
  if(strequals(#c,/debug on)){
    this.debug = 1;
  }
  else if(strequals(#c,/debug off)){
    this.debug = 0;
    hideimgs 400,405;
  }
}
if(timeout){
  this.x = int(playerx);
  this.y = int(playery);
  this.mousex = int(mousex);
  this.mousey = int(mousey);
  setstring this.gani,#m;
  if(this.debug == 1){
    showtext 400,5,screenheight-20,arial,b,Player X: #v(this.x);
    changeimgvis 400,4;
    changeimgzoom 400,0.5;
    showtext 401,5,screenheight-30,arial,b,Player Y: #v(this.y);
    changeimgvis 401,4;
    changeimgzoom 401,0.5;
    showtext 402,5,screenheight-40,arial,b,Mouse X: #v(this.mousex);
    changeimgvis 402,4;
    changeimgzoom 402,0.5;
    showtext 403,5,screenheight-50,arial,b,Mouse Y: #v(this.mousey);
    changeimgvis 403,4;
    changeimgzoom 403,0.5;
    showtext 404,5,screenheight-60,arial,b,Gani: #s(this.gani);
    changeimgvis 404,4;
    changeimgzoom 404,0.5;
    showtext 405,5,screenheight-70,arial,b,Level: #L;
    changeimgvis 405,4;
    changeimgzoom 405,0.5;

  }
  timeout = 0.05;
}

Can someone explain me for what is that of Debug?

The debug thingy will show you the mousex, mousey, player x, player y, the players gani (graal animation), and, in that last version, the players level.

To turn it on, you say /debug on
to turn itoff, /debug off

sigh
I don’t know if it would’ve been easier to get someone else to do it for you, kalz, or for you to rescript it yourself.

Alex won.
@Yen: I’m lazy.

Yeah I figured.
I guess I’m not the laziest person here. I would’ve just rescripted it.
xD

kalzor doesn’t script.

Prize has already been given x.x Reward was a minecraft code! :0

Locked to prevent spam and because the OP’s request has been filled.

Kalzor doesn’t want it locked.