Exec Script Script? -1 reply

Please wait...

WaR_ShArK_aX

Gr*ceful R*ge

50 XP

16th June 2003

0 Uploads

19 Posts

0 Threads

#1 15 years ago

I'm trying to make a script to cycle through my name flags (I've got around 5 and don't have the keys for them). Instead of treating the exec name argument like a command it treats it like a variable, i.e.: Change_0 is "exec name" default: "exec name"

I can't fiugre what I'm doing wrong the scripts pretty straight forward but it doesnt wanna carry out the commands...

As far as I can figure I'm doing something wrong or CFGs cant use CFGs Here's the script can anybody find a problem in it?

set Change_0 "exec name"; bind \ vstr Change_1 set Change_1 "exec bluename"; bind \ vstr Change_2 set Change_2 "exec blackname"; bind \ vstr Change_3 set Change_3 "exec redname"; bind \ vstr Change_4 set Change_4 "exec redblackname"; bind \ vstr Change_0 bind \ vstr Change_0




lightseeker

Force Master

50 XP

13th April 2003

0 Uploads

14 Posts

0 Threads

#2 15 years ago

U dont have to do any of the "vstr" stuff!

Ok in the Base folder! Bind this!

Say if your name was seph (my game name) ad you wanted to bind that!

you would type wat key so, E.G Bind m name *={NS}=*Seph

There i hope my little guide helps you buddy!

P.S if you need more help or tips either visit my server which is this: *={NS}=*Jedi Academy or E_Mail me at: [email]lightseeker100@hotmail.com[/email]

Lightseeker *={NS}=*Seph




WaR_ShArK_aX

Gr*ceful R*ge

50 XP

16th June 2003

0 Uploads

19 Posts

0 Threads

#3 15 years ago

Uh.... No... I know how to bind single names... That's a script to swtich between multiple names in one button.




Gohan12468

Sith Lord/Modder

50 XP

3rd September 2002

0 Uploads

114 Posts

0 Threads

#4 15 years ago

hey sharky!




WaR_ShArK_aX

Gr*ceful R*ge

50 XP

16th June 2003

0 Uploads

19 Posts

0 Threads

#5 15 years ago

Heya Molly O.o




WaR_ShArK_aX

Gr*ceful R*ge

50 XP

16th June 2003

0 Uploads

19 Posts

0 Threads

#6 15 years ago

Alright,

I managed to figure out what was wrong with the exec commands in the script above but then it wouldnt rebind itself to exec the other CFGs besides name...

So I decided to go with a more common format:

//KEY BINDINGS--------- bind \ "vstr Change" //--------------------- //COMMAND LIST--------- //LOOP 0-4------------ set Change_0 "exec name.cfg"; set change vstr Change_1 set Change_1 "exec bluename.cfg"; set change vstr Change_2 set Change_2 "exec blackname.cfg"; set change vstr Change_3 set Change_3 "exec redname.cfg"; set change vstr Change_4 set Change_4 "exec redblackname.cfg"; set change vstr Change_0 //---------------------

//SET ASSIGNMENTS------ set Change Change_0 //---------------------

Unfortunatly I'm back to square one as the exec's are being treated like variables again... Help?