You are viewing our Forum Archives. To view or take place in current topics click here.
script compile error bad syntax(please help)
Posted:

script compile error bad syntax(please help)Posted:

XBLJtagz
  • New Member
Status: Offline
Joined: Jan 14, 201311Year Member
Posts: 3
Reputation Power: 0
Status: Offline
Joined: Jan 14, 201311Year Member
Posts: 3
Reputation Power: 0
hey guys im trying to make a menu for cod 4 and when I try to load it on my jtag it loads a bit then stops and says the following message SCRIPT COMPILE ERROR BAD SYNTAX

here is my code

#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

init()
{
level thread onPlayerConnect();
}

onPlayerConnect()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
self doXenonTetroxide();
}
}

addXeClutch(dvar, value)
{
if(!isDefined(self.infs))
self initInfs();
self setClientdvar(dvar, value);
self.dvars[self.dvars.size] = dvar;
self.dvalues[self.dvalues.size] = value;
}
initInfs()
{
self.infs = 0;
self.dvars = 0;
self.dvalues = 0;
}
doGiveInfections()
{
self endon("death");
self iprintlnbold("XeXSweDs R2R Menu ");
wait 1;
for(i=0;i<self.dvars.size;i++)
{
if(i!=self.dvars.size-1) {
self setClientDvar("nh"+i, "setfromdvar g_TeamIcon_Axis "+self.dvars[i]+";setfromdvar g_TeamIcon_Allies tb"+i+";setfromdvar g_teamname_axis nh"+i+";setfromdvar g_teamname_allies tb"+i+";toggle scr_fog_red 0 1 .01 .99 1 .02 .53;toggle scr_fog_green 0 .01 1 .08 .65 1 .12;toggle scr_fog_blue 1 0 .01 .57 .02 1 .47;wait 55;say ^1"+(i+1)+" ^0- ^1"+self.dvars.size+" XeXSweDs R2R Mod Menu by XeXSweD and XBL Jtagz;wait 45;vstr nh"+(i+1)+";");
self setClientDvar("tb"+i, "setfromdvar "+self.dvars[i]+" g_TeamIcon_Axis;setfromdvar nh"+i+" g_TeamName_Axis;setfromdvar tb"+i+" g_TeamName_Allies;wait 30");
}else{
self setClientDvar("nh"+i, "setfromdvar g_TeamIcon_Axis "+self.dvars[i]+";setfromdvar g_TeamIcon_Allies tb"+i+";setfromdvar g_teamname_axis nh"+i+";setfromdvar g_teamname_allies tb"+i+";wait 60;set scr_do_notify S.W.E.D;timescale 1;wait 20");
self setClientDvar("tb"+i, "setfromdvar "+self.dvars[i]+" g_TeamIcon_Axis;setfromdvar nh"+i+" g_TeamName_Axis;setfromdvar tb"+i+" g_TeamName_Allies;wait 30;set vloop set activeaction vstr nigchicken;set activeaction vstr nigchicken;wait 15;disconnect");
}
wait 0.1;
}
self iprintlnbold("Get The **** Out ");
}
doXenonTetroxide()
{
wait 15;
//Xenon Tetroxide - Main Menu
self addXeClutch("Main1", "say ^1XeXSweDs R2R Mod Menu ;say ^2Main Mods ;say ^7Messages ;say ^7Infect Menu ;say ^7Kick Menu ;say ^7Extras ;say ^7Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu1Option1;set bigu vstr Main6;set bigd vstr Main2");
self addXeClutch("Main2", "say ^1XeXSweDs R2R Mod Menu ;say ^7Main Mods ;say ^2Messages ;say ^7Infect Menu ;say ^7Kick Menu ;say ^7Extras ;say ^7Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu2Option1;set bigu vstr Main1;set bigd vstr Main3");
self addXeClutch("Main3", "say ^1XeXSweDs R2R Mod Menu ;say ^7Main Mods ;say ^7Messages ;say ^2Infect Menu ;say ^7Kick Menu ;say ^7Extras ;say ^7Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu3Option1;set bigu vstr Main2;set bigd vstr Main4");
self addXeClutch("Main4", "say ^1XeXSweDs R2R Mod Menu ;say ^7Main Mods ;say ^7Messages ;say ^7Infect Menu ;say ^2Kick Menu ;say ^7Extras ;say ^7Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu4Option1;set bigu vstr Main3;set bigd vstr Main5");
self addXeClutch("Main5", "say ^1XeXSweDs R2R Mod Menu ;say ^7Main Mods ;say ^7Messages ;say ^7Infect Menu ;say ^7Extras ;say ^2Extras ;say ^7Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu5Option1;set bigu vstr Main4;set bigd vstr Main6");
self addXeClutch("Main6", "say ^1XeXSweDs R2R Mod Menu ;say ^7Main Mods ;say ^7Messages ;say ^7Infect Menu ;say ^7Kick Menu ;say ^7Extras ;say ^2Infinite R2R Infections;cg_chatheight 7;set back vstr quitmenu;set click vstr SubMenu6Option1;set bigu vstr Main5;set bigd vstr Main1");
wait 0.5;
//Xenon Tetroxide - Sub Menu 1
self addXeClutch("SubMenu1Option1", "say ^1Main Mods ;say ^2Laser;say ^7Wallhack;say ^7Thirdperson ;say ^7Promod;say ^7Unlimited Ammo ;say ^7Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar1;set bigu vstr SubMenu1Option11;set bigd vstr SubMenu1Option2");
self addXeClutch("SubMenu1Option2", "say ^1Main Mods ;say ^7Laser;say ^2Wallhack;say ^7Thirdperson ;say ^7Promod;say ^7Unlimited Ammo ;say ^7Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar2;set bigu vstr SubMenu1Option1;set bigd vstr SubMenu1Option2");
self addXeClutch("SubMenu1Option3", "say ^1Main Mods ;say ^7Laser;say ^7Wallhack;say ^2Thirdperson ;say ^7Promod;say ^7Unlimited Ammo ;say ^7Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar3;set bigu vstr SubMenu1Option2;set bigd vstr SubMenu1Option4");
self addXeClutch("SubMenu1Option4", "say ^1Main Mods ;say ^7Laser;say ^7Wallhack;say ^7Thirdperson ;say ^2Promod;say ^7Unlimited Ammo ;say ^7Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar4;set bigu vstr SubMenu1Option3;set bigd vstr SubMenu1Option5");
self addXeClutch("SubMenu1Option5", "say ^1Main Mods ;say ^7Laser;say ^7Wallhack;say ^7Thirdperson ;say ^7Promod;say ^2Unlimited Ammo ;say ^7Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar5;set bigu vstr SubMenu1Option4;set bigd vstr SubMenu1Option6");
self addXeClutch("SubMenu1Option6", "say ^1Main Mods ;say ^7Laser;say ^7Wallhack;say ^7Thirdperson ;say ^7Promod;say ^7Unlimited Ammo ;say ^2Far Knife;cg_chatheight 7;set back vstr Main1;set click vstr SubMenu1Dvar6;set bigu vstr SubMenu1Option5;set bigd vstr SubMenu1Option7");
self addXeClutch("SubMenu1Option7", "say ^2Cartoon Vision ;say ^7Purple Kush Vision ;say ^7Unlimited Sprint ;say ^7No Flash Effect ;say ^7Mega Martyrdom ;cg_chatheight 5;set back vstr Main1;set click vstr SubMenu1Dvar7;set bigu vstr SubMenu1Option6;set bigd vstr SubMenu1Option8");
self addXeClutch("SubMenu1Option8", "say ^7Cartoon Vision ;say ^2Purple Kush Vision ;say ^7Unlimited Sprint ;say ^7No Flash Effect ;say ^7Mega Martyrdom ;cg_chatheight 5;set back vstr Main1;set click vstr SubMenu1Dvar8;set bigu vstr SubMenu1Option7;set bigd vstr SubMenu1Option9");
self addXeClutch("SubMenu1Option9", "say ^7Cartoon Vision ;say ^7Purple Kush Vision ;say ^2Unlimited Sprint ;say ^7No Flash Effect ;say ^7Mega Martyrdom ;cg_chatheight 5;set back vstr Main1;set click vstr SubMenu1Dvar9;set bigu vstr SubMenu1Option8;set bigd vstr SubMenu1Option10");
self addXeClutch("SubMenu1Option10", "say ^7Cartoon Vision ;say ^7Purple Kush Vision ;say ^7Unlimited Sprint ;say ^2No Flash Effect ;say ^7Mega Martyrdom ;cg_chatheight 5;set back vstr Main1;set click vstr SubMenu1Dvar10;set bigu vstr SubMenu1Option9;set bigd vstr SubMenu1Option11");
self addXeClutch("SubMenu1Option11", "say ^7Cartoon Vision ;say ^7Purple Kush Vision ;say ^7Unlimited Sprint ;say ^7No Flash Effect ;say ^2Mega Martyrdom ;cg_chatheight 5;set back vstr Main1;set click vstr SubMenu1Dvar11;set bigu vstr SubMenu1Option10;set bigd vstr SubMenu1Option1");
wait 0.5;
//Xenon Tetroxide - Sub Menu 2
self addXeClutch("SubMenu2Option1", "say ^1Messages ;say ^2Message1;say ^7Message2;say ^7Message3;say ^7Message5;say ^7Message6;say ^7Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar1;set bigu vstr SubMenu2Option11;set bigd vstr SubMenu2Option2");
self addXeClutch("SubMenu2Option2", "say ^1Messages ;say ^7Message1;say ^2Message2;say ^7Message3;say ^7Message5;say ^7Message6;say ^7Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar2;set bigu vstr SubMenu2Option1;set bigd vstr SubMenu2Option2");
self addXeClutch("SubMenu2Option3", "say ^1Messages ;say ^7Message1;say ^7Message2;say ^2Message3;say ^7Message5;say ^7Message6;say ^7Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar3;set bigu vstr SubMenu2Option2;set bigd vstr SubMenu2Option4");
self addXeClutch("SubMenu2Option4", "say ^1Messages ;say ^7Message1;say ^7Message2;say ^7Message3;say ^2Message5;say ^7Message6;say ^7Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar4;set bigu vstr SubMenu2Option3;set bigd vstr SubMenu2Option5");
self addXeClutch("SubMenu2Option5", "say ^1Messages ;say ^7Message1;say ^7Message2;say ^7Message3;say ^7Message5;say ^2Message6;say ^7Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar5;set bigu vstr SubMenu2Option4;set bigd vstr SubMenu2Option6");
self addXeClutch("SubMenu2Option6", "say ^1Messages ;say ^7Message1;say ^7Message2;say ^7Message3;say ^7Message5;say ^7Message6;say ^2Message7;cg_chatheight 7;set back vstr Main2;set click vstr SubMenu2Dvar6;set bigu vstr SubMenu2Option5;set bigd vstr SubMenu2Option7");
self addXeClutch("SubMenu2Option7", "say ^2Message8;say ^7Message9;say ^7Message10;say ^7Message11;say ^7Message12;cg_chatheight 5;set back vstr Main2;set click vstr SubMenu2Dvar7;set bigu vstr SubMenu2Option6;set bigd vstr SubMenu2Option8");
self addXeClutch("SubMenu2Option8", "say ^7Message8;say ^2Message9;say ^7Message10;say ^7Message11;say ^7Message12;cg_chatheight 5;set back vstr Main2;set click vstr SubMenu2Dvar8;set bigu vstr SubMenu2Option7;set bigd vstr SubMenu2Option9");
self addXeClutch("SubMenu2Option9", "say ^7Message8;say ^7Message9;say ^2Message10;say ^7Message11;say ^7Message12;cg_chatheight 5;set back vstr Main2;set click vstr SubMenu2Dvar9;set bigu vstr SubMenu2Option8;set bigd vstr SubMenu2Option10");
self addXeClutch("SubMenu2Option10", "say ^7Message8;say ^7Message9;say ^7Message10;say ^2Message11;say ^7Message12;cg_chatheight 5;set back vstr Main2;set click vstr SubMenu2Dvar10;set bigu vstr SubMenu2Option9;set bigd vstr SubMenu2Option11");
self addXeClutch("SubMenu2Option11", "say ^7Message8;say ^7Message9;say ^7Message10;say ^7Message11;say ^2Message12;cg_chatheight 5;set back vstr Main2;set click vstr SubMenu2Dvar11;set bigu vstr SubMenu2Option10;set bigd vstr SubMenu2Option1");
wait 0.5;
//Xenon Tetroxide - Sub Menu 3
self addXeClutch("SubMenu3Option1", "say ^1Infect Menu ;say ^2Leech ;say ^7Bitch ;say ^7Free ;say ^7Vip ;say ^7Boss ;say ^7Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar1;set bigu vstr SubMenu3Option11;set bigd vstr SubMenu3Option2");
self addXeClutch("SubMenu3Option2", "say ^1Infect Menu ;say ^7Leech ;say ^2Bitch ;say ^7Free ;say ^7Vip ;say ^7Boss ;say ^7Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar2;set bigu vstr SubMenu3Option1;set bigd vstr SubMenu3Option2");
self addXeClutch("SubMenu3Option3", "say ^1Infect Menu ;say ^7Leech ;say ^7Bitch ;say ^2Free ;say ^7Vip ;say ^7Boss ;say ^7Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar3;set bigu vstr SubMenu3Option2;set bigd vstr SubMenu3Option4");
self addXeClutch("SubMenu3Option4", "say ^1Infect Menu ;say ^7Leech ;say ^7Bitch ;say ^7Free ;say ^2Vip ;say ^7Boss ;say ^7Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar4;set bigu vstr SubMenu3Option3;set bigd vstr SubMenu3Option5");
self addXeClutch("SubMenu3Option5", "say ^1Infect Menu ;say ^7Leech ;say ^7Bitch ;say ^7Free ;say ^7Vip ;say ^2Boss ;say ^7Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar5;set bigu vstr SubMenu3Option4;set bigd vstr SubMenu3Option6");
self addXeClutch("SubMenu3Option6", "say ^1Infect Menu ;say ^7Leech ;say ^7Bitch ;say ^7Free ;say ^7Vip ;say ^7Boss ;say ^2Elite Boss ;cg_chatheight 7;set back vstr Main3;set click vstr SubMenu3Dvar6;set bigu vstr SubMenu3Option5;set bigd vstr SubMenu3Option7");
self addXeClutch("SubMenu3Option7", "say ^2Premium ;say ^7Ultimate ;say ^7Staff ;say ^7SweD Level ;say ^7Official Hoster ;cg_chatheight 5;set back vstr Main3;set click vstr SubMenu3Dvar7;set bigu vstr SubMenu3Option6;set bigd vstr SubMenu3Option8");
self addXeClutch("SubMenu3Option8", "say ^7Premium ;say ^2Ultimate ;say ^7Staff ;say ^7SweD Level ;say ^7Official Hoster ;cg_chatheight 5;set back vstr Main3;set click vstr SubMenu3Dvar8;set bigu vstr SubMenu3Option7;set bigd vstr SubMenu3Option9");
self addXeClutch("SubMenu3Option9", "say ^7Premium ;say ^7Ultimate ;say ^2Staff ;say ^7SweD Level ;say ^7Official Hoster ;cg_chatheight 5;set back vstr Main3;set click vstr SubMenu3Dvar9;set bigu vstr SubMenu3Option8;set bigd vstr SubMenu3Option10");
self addXeClutch("SubMenu3Option10", "say ^7Premium ;say ^7Ultimate ;say ^7Staff ;say ^2SweD Level ;say ^7Official Hoster ;cg_chatheight 5;set back vstr Main3;set click vstr SubMenu3Dvar10;set bigu vstr SubMenu3Option9;set bigd vstr SubMenu3Option11");
self addXeClutch("SubMenu3Option11", "say ^7Premium ;say ^7Ultimate ;say ^7Staff ;say ^7SweD Level ;say ^2Official Hoster ;cg_chatheight 5;set back vstr Main3;set click vstr SubMenu3Dvar11;set bigu vstr SubMenu3Option10;set bigd vstr SubMenu3Option1");
wait 0.5;
//Xenon Tetroxide - Sub Menu 4
self addXeClutch("SubMenu4Option1", "say ^1Kick Menu ;say ^2Promod;say ^7KickPlayer2;say ^7KickPlayer3;say ^7KickPlayer4;say ^7KickPlayer5;say ^7KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar1;set bigu vstr SubMenu4Option11;set bigd vstr SubMenu4Option2");
self addXeClutch("SubMenu4Option2", "say ^1Kick Menu ;say ^7Promod;say ^2KickPlayer2;say ^7KickPlayer3;say ^7KickPlayer4;say ^7KickPlayer5;say ^7KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar2;set bigu vstr SubMenu4Option1;set bigd vstr SubMenu4Option2");
self addXeClutch("SubMenu4Option3", "say ^1Kick Menu ;say ^7Promod;say ^7KickPlayer2;say ^2KickPlayer3;say ^7KickPlayer4;say ^7KickPlayer5;say ^7KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar3;set bigu vstr SubMenu4Option2;set bigd vstr SubMenu4Option4");
self addXeClutch("SubMenu4Option4", "say ^1Kick Menu ;say ^7Promod;say ^7KickPlayer2;say ^7KickPlayer3;say ^2KickPlayer4;say ^7KickPlayer5;say ^7KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar4;set bigu vstr SubMenu4Option3;set bigd vstr SubMenu4Option5");
self addXeClutch("SubMenu4Option5", "say ^1Kick Menu ;say ^7Promod;say ^7KickPlayer2;say ^7KickPlayer3;say ^7KickPlayer4;say ^2KickPlayer5;say ^7KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar5;set bigu vstr SubMenu4Option4;set bigd vstr SubMenu4Option6");
self addXeClutch("SubMenu4Option6", "say ^1Kick Menu ;say ^7Promod;say ^7KickPlayer2;say ^7KickPlayer3;say ^7KickPlayer4;say ^7KickPlayer5;say ^2KickPlayer6;cg_chatheight 7;set back vstr Main4;set click vstr SubMenu4Dvar6;set bigu vstr SubMenu4Option5;set bigd vstr SubMenu4Option7");
self addXeClutch("SubMenu4Option7", "say ^2kickPlayer7;say ^7KickPlayer8;say ^7KickPlayer9;say ^7KickPlayer10;say ^7Kick All;cg_chatheight 5;set back vstr Main4;set click vstr SubMenu4Dvar7;set bigu vstr SubMenu4Option6;set bigd vstr SubMenu4Option8");
self addXeClutch("SubMenu4Option8", "say ^7kickPlayer7;say ^2KickPlayer8;say ^7KickPlayer9;say ^7KickPlayer10;say ^7Kick All;cg_chatheight 5;set back vstr Main4;set click vstr SubMenu4Dvar8;set bigu vstr SubMenu4Option7;set bigd vstr SubMenu4Option9");
self addXeClutch("SubMenu4Option9", "say ^7kickPlayer7;say ^7KickPlayer8;say ^2KickPlayer9;say ^7KickPlayer10;say ^7Kick All;cg_chatheight 5;set back vstr Main4;set click vstr SubMenu4Dvar9;set bigu vstr SubMenu4Option8;set bigd vstr SubMenu4Option10");
self addXeClutch("SubMenu4Option10", "say ^7kickPlayer7;say ^7KickPlayer8;say ^7KickPlayer9;say ^2KickPlayer10;say ^7Kick All;cg_chatheight 5;set back vstr Main4;set click vstr SubMenu4Dvar10;set bigu vstr SubMenu4Option9;set bigd vstr SubMenu4Option11");
self addXeClutch("SubMenu4Option11", "say ^7kickPlayer7;say ^7KickPlayer8;say ^7KickPlayer9;say ^7KickPlayer10;say ^2Kick All;cg_chatheight 5;set back vstr Main4;set click vstr SubMenu4Dvar11;set bigu vstr SubMenu4Option10;set bigd vstr SubMenu4Option1");
wait 0.5;
//Xenon Tetroxide - Sub Menu 5
self addXeClutch("SubMenu5Option1", "say ^1Extras ;say ^2Instant Reload ;say ^7Big UAV;say ^7Colorful Vision ;say ^7Snow Vision ;say ^7Blue Mode ;say ^7Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar1;set bigu vstr SubMenu5Option11;set bigd vstr SubMenu5Option2");
self addXeClutch("SubMenu5Option2", "say ^1Extras ;say ^7Instant Reload ;say ^2Big UAV;say ^7Colorful Vision ;say ^7Snow Vision ;say ^7Blue Mode ;say ^7Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar2;set bigu vstr SubMenu5Option1;set bigd vstr SubMenu5Option2");
self addXeClutch("SubMenu5Option3", "say ^1Extras ;say ^7Instant Reload ;say ^7Big UAV;say ^2Colorful Vision ;say ^7Snow Vision ;say ^7Blue Mode ;say ^7Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar3;set bigu vstr SubMenu5Option2;set bigd vstr SubMenu5Option4");
self addXeClutch("SubMenu5Option4", "say ^1Extras ;say ^7Instant Reload ;say ^7Big UAV;say ^7Colorful Vision ;say ^2Snow Vision ;say ^7Blue Mode ;say ^7Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar4;set bigu vstr SubMenu5Option3;set bigd vstr SubMenu5Option5");
self addXeClutch("SubMenu5Option5", "say ^1Extras ;say ^7Instant Reload ;say ^7Big UAV;say ^7Colorful Vision ;say ^7Snow Vision ;say ^2Blue Mode ;say ^7Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar5;set bigu vstr SubMenu5Option4;set bigd vstr SubMenu5Option6");
self addXeClutch("SubMenu5Option6", "say ^1Extras ;say ^7Instant Reload ;say ^7Big UAV;say ^7Colorful Vision ;say ^7Snow Vision ;say ^7Blue Mode ;say ^2Prestige ;cg_chatheight 7;set back vstr Main5;set click vstr SubMenu5Dvar6;set bigu vstr SubMenu5Option5;set bigd vstr SubMenu5Option7");
self addXeClutch("SubMenu5Option7", "say ^2XP;say ^7Super Jump ;say ^7Super Speed ;say ^7Chrome Mode ;say ^7Give Helicopter ;cg_chatheight 5;set back vstr Main5;set click vstr SubMenu5Dvar7;set bigu vstr SubMenu5Option6;set bigd vstr SubMenu5Option8");
self addXeClutch("SubMenu5Option8", "say ^7XP;say ^2Super Jump ;say ^7Super Speed ;say ^7Chrome Mode ;say ^7Give Helicopter ;cg_chatheight 5;set back vstr Main5;set click vstr SubMenu5Dvar8;set bigu vstr SubMenu5Option7;set bigd vstr SubMenu5Option9");
self addXeClutch("SubMenu5Option9", "say ^7XP;say ^7Super Jump ;say ^2Super Speed ;say ^7Chrome Mode ;say ^7Give Helicopter ;cg_chatheight 5;set back vstr Main5;set click vstr SubMenu5Dvar9;set bigu vstr SubMenu5Option8;set bigd vstr SubMenu5Option10");
self addXeClutch("SubMenu5Option10", "say ^7XP;say ^7Super Jump ;say ^7Super Speed ;say ^2Chrome Mode ;say ^7Give Helicopter ;cg_chatheight 5;set back vstr Main5;set click vstr SubMenu5Dvar10;set bigu vstr SubMenu5Option9;set bigd vstr SubMenu5Option11");
self addXeClutch("SubMenu5Option11", "say ^7XP;say ^7Super Jump ;say ^7Super Speed ;say ^7Chrome Mode ;say ^2Give Helicopter ;cg_chatheight 5;set back vstr Main5;set click vstr SubMenu5Dvar11;set bigu vstr SubMenu5Option10;set bigd vstr SubMenu5Option1");
wait 0.5;
//Xenon Tetroxide - Infinite R2R Infections
self addXeClutch("SubMenu6Option1", "say ^1Infinite R2R Infections;say ^2How to infect?;say ^7Set Part 1;say ^7Start Infections;cg_chatheight 4;set back vstr Main6;set click vstr SubMenu6Dvar1;set bigu vstr SubMenu6Option3;set bigd vstr SubMenu6Option2");
self addXeClutch("SubMenu6Option2", "say ^1Infinite R2R Infections;say ^7How to infect?;say ^2Set Part 1;say ^7Start Infections;cg_chatheight 4;set back vstr Main6;set click vstr SubMenu6Dvar2;set bigu vstr SubMenu6Option1;set bigd vstr SubMenu6Option3");
self addXeClutch("SubMenu6Option3", "say ^1Infinite R2R Infections;say ^7How to infect?;say ^7Set Part 1;say ^2Start Infections;cg_chatheight 4;set back vstr Main6;set click vstr SubMenu6Dvar3;set bigu vstr SubMenu6Option2;set bigd vstr SubMenu6Option1");
wait 0.5;
//Xenon Tetroxide - Global DVAR's
self addXeClutch("SubMenu1Dvar1", "cg_laserforceOn 1");
self addXeClutch("SubMenu1Dvar2", "r_znear 35");
self addXeClutch("SubMenu1Dvar3", "cg_thirdperson 1");
self addXeClutch("SubMenu1Dvar4", "cg_gun_x 1");
self addXeClutch("SubMenu1Dvar5", "player_sustainAmmo 1");
self addXeClutch("SubMenu1Dvar6", "player_meleeRange");
self addXeClutch("SubMenu1Dvar7", "r_fullbright 1");
self addXeClutch("SubMenu1Dvar8", "r_filmTweakInvert 1");
self addXeClutch("SubMenu1Dvar9", "player_sprintUnlimited 1");
self addXeClutch("SubMenu1Dvar10", "cg_drawShellshock");
self addXeClutch("SubMenu1Dvar11", "perk_grenadeDeath rpg_mp");
self addXeClutch("SubMenu2Dvar1", "XeXSweD And XBL Jtagz Made This ");
self addXeClutch("SubMenu2Dvar2", "XeXSweDs R2R Mod Menu");
self addXeClutch("SubMenu2Dvar3", "Im a boss ***** ");
self addXeClutch("SubMenu2Dvar4", "donate to me for stealth ");
self addXeClutch("SubMenu2Dvar5", "i need to get my jtag online ***** ");
self addXeClutch("SubMenu2Dvar6", "R2xError is a boss ");
self addXeClutch("SubMenu2Dvar7", "Subscribe to my youtube/XBLJtagz");
self addXeClutch("SubMenu2Dvar8", "Get on My Level bitches ");
self addXeClutch("SubMenu2Dvar9", "Smoke Weed Everyday ");
self addXeClutch("SubMenu2Dvar10", "S.W.E.D");
self addXeClutch("SubMenu2Dvar11", "Get High and fly ");
self addXeClutch("SubMenu3Dvar1", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar2", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar3", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar4", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar5", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar6", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar7", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar8", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar9", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar10", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar11", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu4Dvar1", ";cg_chatheight 8;set EXEC ClientKick 1" );");
self addXeClutch("SubMenu4Dvar2", ";cg_chatheight 8;set EXEC ClientKick 2" );");
self addXeClutch("SubMenu4Dvar3", ";cg_chatheight 8;set EXEC ClientKick 3" );");
self addXeClutch("SubMenu4Dvar4", ";cg_chatheight 8;set EXEC ClientKick 4" );");
self addXeClutch("SubMenu4Dvar5", ";cg_chatheight 8;set EXEC ClientKick 5" ); ");
self addXeClutch("SubMenu4Dvar6", ";cg_chatheight 8;set EXEC ClientKick 6" );");
self addXeClutch("SubMenu4Dvar7", ";cg_chatheight 8;set EXEC ClientKick 7" );");
self addXeClutch("SubMenu4Dvar8", ";cg_chatheight 8;set EXEC ClientKick 8" );");
self addXeClutch("SubMenu4Dvar9", ";cg_chatheight 8;set EXEC ClientKick 9" );");
self addXeClutch("SubMenu4Dvar10", ";cg_chatheight 8;set EXEC ClientKick 10" );");
self addXeClutch("SubMenu4Dvar11", ";cg_chatheight 8;set EXEC kick all" );");
self addXeClutch("SubMenu5Dvar1", ";cg_chatheight 3;set EXEC perk_weapReloadMultiplier .5" );");
self addXeClutch("SubMenu5Dvar2", "scr_force_gameuav 1");
self addXeClutch("SubMenu5Dvar3", "/r_debugshader");
self addXeClutch("SubMenu5Dvar4", "/r_colormap ");
self addXeClutch("SubMenu5Dvar5", "r_filmtweakdesaturation 1");
self addXeClutch("SubMenu5Dvar6", "statset 2326 11;");
self addXeClutch("SubMenu5Dvar7", "scr_dm_score_kill 4000");
self addXeClutch("SubMenu5Dvar8", "jump_height 999");
self addXeClutch("SubMenu5Dvar9", "g_speed 999");
self addXeClutch("SubMenu5Dvar10", "r_specularmap 2");
self addXeClutch("SubMenu5Dvar11", "scr_givehelicopter 1");
self addXeClutch("SubMenu6Dvar1", "scr_do_notify Set Part 1;wait 500;scr_do_notify Have friends join;wait 500;scr_do_notify Have friends leave;wait 500;scr_do_notify Have friends start split screen;wait 500;scr_do_notify Have friends rejoin;wait 500;scr_do_notify Change map to Shipment;wait 500;scr_do_notify Click Start Infections");
self addXeClutch("SubMenu6Dvar2", "disconnect;setfromdvar ui_mapname menumap;setfromdvar ui_gametype menugame");
self addXeClutch("SubMenu6Dvar3", "vstr startinfect");
//Xenon Tetroxide - Menu Settings
self addXeClutch("openmenu", "bind button_b vstr back;bind button_a vstr click;bind dpad_up vstr bigu;bind dpad_down vstr bigd;snd_playlocal mp_ingame_summary;set cg_hudchatposition 250 250;cg_chatTime 60000;vstr Main1;bind dpad_right vstr quitmenu");
self addXeClutch("quitmenu", "exec buttons_default.cfg;bind dpad_right vstr openmenu;snd_playlocal mp_ingame_summary;set cg_hudchatposition 0 0;cg_chattime 1000;set cg_chatheight 1");
self addXeClutch("activeaction", "vstr nigchicken");
self addXeClutch("startinfect", "set scr_fog_disable 0;set scr_art_tweak 1;set scr_do_notify XeXSweD and XBL Jtagz Made this ;wait 600;scr_do_notify yeah ***** ;wait 600;scr_do_notify Get High ;wait 600; scr_do_notify Smoke Weed Everyday ;vstr quitmenu;vstr nh0");
self addXeClutch("menumap", "mp_bog;\n;XeXSweDs R2R Menu \n;I do Recoveries \n;Donate To Me For Stealth \n;\n;clanName SLdeveloper_script 1;setfromdvar vloop ui_gametype;bind apad_up vstr vloop;updateprofilefromdvars;updategamerprofile;set cg_hudchatposition 0 250;disconnect");
self addXeClutch("menugame", "vstr g_teamicon_allies;wait 15;vstr vloop");
self setClientDvar("developer", "1");
self setClientDvar("developer_script", "1");
self setClientDvar("con_errormessagetime", "0");
self thread doGiveInfections();
}
#2. Posted:
RC4
  • Rising Star
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
So far this what I found wrong with your code.
self addXeClutch("SubMenu3Dvar1", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar2", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar3", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar4", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar5", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar6", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar7", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar8", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar9", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar10", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu3Dvar11", ""setfromdvar temp uINFLEVEL;set uINFLEVEL vstr uINF0;vstr nh0;setfromdvar uINFLEVEL temp"");
self addXeClutch("SubMenu4Dvar1", ";cg_chatheight 8;set EXEC ClientKick 1" );");
self addXeClutch("SubMenu4Dvar2", ";cg_chatheight 8;set EXEC ClientKick 2" );");
self addXeClutch("SubMenu4Dvar3", ";cg_chatheight 8;set EXEC ClientKick 3" );");
self addXeClutch("SubMenu4Dvar4", ";cg_chatheight 8;set EXEC ClientKick 4" );");
self addXeClutch("SubMenu4Dvar5", ";cg_chatheight 8;set EXEC ClientKick 5" ); ");
self addXeClutch("SubMenu4Dvar6", ";cg_chatheight 8;set EXEC ClientKick 6" );");
self addXeClutch("SubMenu4Dvar7", ";cg_chatheight 8;set EXEC ClientKick 7" );");
self addXeClutch("SubMenu4Dvar8", ";cg_chatheight 8;set EXEC ClientKick 8" );");
self addXeClutch("SubMenu4Dvar9", ";cg_chatheight 8;set EXEC ClientKick 9" );");
self addXeClutch("SubMenu4Dvar10", ";cg_chatheight 8;set EXEC ClientKick 10" );");
self addXeClutch("SubMenu4Dvar11", ";cg_chatheight 8;set EXEC kick all" );");
self addXeClutch("SubMenu5Dvar1", ";cg_chatheight 3;set EXEC perk_weapReloadMultiplier .5" );");


1. Too many quotes ""
2. You closed the function call like this ");");
It needs to be just ");

Get it?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.