noob needs help script wont load
3 posts
• Page 1 of 1
noob needs help script wont load
hi there thankyou for reading im new to programming I enjoy eso but due to accident have less fingers then most and cant do a proper dps rotation even with light weave pack. so am trying to get a basic rotation on to one button.
I keep getting ERROR line 0: syntax error near unexpected token ''. when i try to run it, please could someone have a look at my code so far and show me whats wrong . thankyou for reading
I keep getting ERROR line 0: syntax error near unexpected token ''. when i try to run it, please could someone have a look at my code so far and show me whats wrong . thankyou for reading
- Code: Select all
int combo_toggle = FALSE;
main {
if(event_press(XB1_RS)) {
combo_toggle = !combo_toggle;
}
if(combo_toggle) {
combo_run(sorkdps);
}
}
combo sorkdps {
//back bar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press X
set_val(XB1_X, 100);
wait(40);
wait(40);
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press Y
set_val(XB1_Y, 100);
wait(40);
wait(40);
// press Left Dpad swap to bar 1
set_val(XB1_LEFT, 100);
wait(40);
wait(40);
//front bar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
// press X
set_val(XB1_X, 100);
wait(40);
wait(40);
//press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press Y
set_val(XB1_Y, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Light attack weave 5 rt and rb
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press RB
set_val(XB1_RB, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press RB
set_val(XB1_RB, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press RB
set_val(XB1_RB, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press RB
set_val(XB1_RB, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press RT
set_val(XB1_RT, 100);
wait(40);
wait(40);
//press RB
set_val(XB1_RB, 100);
wait(40);
wait(40);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~END~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// press Left Dpad swap to bar 2 restart
set_val(XB1_LEFT, 100);
wait(40);
wait(40);
-
asilver - Sergeant
- Posts: 6
- Joined: Wed Jul 10, 2019 10:13 am
Re: noob needs help script wont load
You are missing a } to close the combo section.
To close the combo add } to the line after the last wait(40); of your script.
To close the combo add } to the line after the last wait(40); of your script.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: noob needs help script wont load
thankyou for the help very much appreciated
-
asilver - Sergeant
- Posts: 6
- Joined: Wed Jul 10, 2019 10:13 am
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 131 guests