ImJohnMclane Posted January 3, 2007 Posted January 3, 2007 i don't know whats wrong there, please fix it , scripters. on *:SIGNAL:mta.command:{ if ($3 == !race) { if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { !.timer 1 1 mta.say $1 //Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 //All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 //Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 //30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 //5 Seconds Left!!// !.timer 1 56 mta.say $1 //4 Seconds Left!!// !.timer 1 57 mta.say $1 //3 Seconds Left!!// !.timer 1 58 mta.say $1 //2 Seconds Left!!// !.timer 1 59 mta.say $1 //1 Second Left!!// !.timer 1 60 mta.say $1 //Time Over!// !.timer 1 61 mta.say $1 //Ready..// !.timer 1 62 mta.say $1 //Set..// !.timer 1 63 mta.say $1 //GOOOOOOOOOOOOOOOOOOOOOOOO!// } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } Thanks, Deemon
damnet007 Posted January 3, 2007 Posted January 3, 2007 on *:SIGNAL:mta.command:{ if ($3 == !race) { if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { !.timer 1 1 mta.say $1 //Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 //All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 //Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 //30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 //5 Seconds Left!!// !.timer 1 56 mta.say $1 //4 Seconds Left!!// !.timer 1 57 mta.say $1 //3 Seconds Left!!// !.timer 1 58 mta.say $1 //2 Seconds Left!!// !.timer 1 59 mta.say $1 //1 Second Left!!// !.timer 1 60 mta.say $1 //Time Over!// !.timer 1 61 mta.say $1 //Ready..// !.timer 1 62 mta.say $1 //Set..// !.timer 1 63 mta.say $1 //GOOOOOOOOOOOOOOOOOOOOOOOO!// } else mta.msg $1 $2 Get to Sunshine Autos! } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } else mta.msg $1 $2 You are not at Starfish Island! } } i just skimmed through it and saw a few brackets missing, try this.
ImJohnMclane Posted January 4, 2007 Author Posted January 4, 2007 on *:SIGNAL:mta.command:{ if ($3 == !race) { if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { !.timer 1 1 mta.say $1 //Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 //All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 //Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 //30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 //5 Seconds Left!!// !.timer 1 56 mta.say $1 //4 Seconds Left!!// !.timer 1 57 mta.say $1 //3 Seconds Left!!// !.timer 1 58 mta.say $1 //2 Seconds Left!!// !.timer 1 59 mta.say $1 //1 Second Left!!// !.timer 1 60 mta.say $1 //Time Over!// !.timer 1 61 mta.say $1 //Ready..// !.timer 1 62 mta.say $1 //Set..// !.timer 1 63 mta.say $1 //GOOOOOOOOOOOOOOOOOOOOOOOO!// } else mta.msg $1 $2 Get to Sunshine Autos! } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } else mta.msg $1 $2 You are not at Starfish Island! } } i just skimmed through it and saw a few brackets missing, try this. Nothing . ill typing: !race and nothing happens.
lil Toady Posted January 4, 2007 Posted January 4, 2007 ......... of course it doesn't work, coz of those damn // mta thinks its a command like /slap or /msg etc. Just get rid of them and i suggest u changing if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { to if (Sunshine-Autos isin $mta.area($1,$2)) {
ImJohnMclane Posted January 4, 2007 Author Posted January 4, 2007 .........of course it doesn't work, coz of those damn // mta thinks its a command like /slap or /msg etc. Just get rid of them and i suggest u changing if ($mta.area($1,$2) == Sunshine-Autos Viceport Vice-City-Mainland) { to if (Sunshine-Autos isin $mta.area($1,$2)) { still not working Cya, Deemon
damnet007 Posted January 4, 2007 Posted January 4, 2007 if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char.
lil Toady Posted January 4, 2007 Posted January 4, 2007 if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char. dont you read what i write? w/e mirc will change the $chr(47) to '/' when it sends text, but when mta client see's a / sign in front of text it thinks that it's a function and does not print it. You Just need to cut off all those / in front of text, you can leave it in the end tho
damnet007 Posted January 4, 2007 Posted January 4, 2007 if you want to keep those /'s i'd advise you to use $chr(47) which afaik is the code for the '/' char. dont you read what i write? w/e mirc will change the $chr(47) to '/' when it sends text, but when mta client see's a / sign in front of text it thinks that it's a function and does not print it. You Just need to cut off all those / in front of text, you can leave it in the end tho argh i wasnt aware of that
ImJohnMclane Posted January 5, 2007 Author Posted January 5, 2007 So what is the working script then??????
damnet007 Posted January 5, 2007 Posted January 5, 2007 on *:SIGNAL:mta.command:{ if ($3 == !race) { if (Sunshine-Autos isin $mta.area($1,$2)) { !.timer 1 1 mta.say $1 Race Script 0.1 BETA by: *TLR*Deemon Started!// !.timer 1 2 mta.say $1 All Players Go To Sunshine-Autos To Race!// 60 Seconds Left!!!// !.timer 1 3 mta.say $1 Race: From Sunshine-Autos to StarFish Island! !.timer 1 30 mta.say $1 30 Seconds Left, Hurry UP!!!// !.timer 1 55 mta.say $1 5 Seconds Left!!// !.timer 1 56 mta.say $1 4 Seconds Left!!// !.timer 1 57 mta.say $1 3 Seconds Left!!// !.timer 1 58 mta.say $1 2 Seconds Left!!// !.timer 1 59 mta.say $1 1 Second Left!!// !.timer 1 60 mta.say $1 Time Over!// !.timer 1 61 mta.say $1 Ready..// !.timer 1 62 mta.say $1 Set..// !.timer 1 63 mta.say $1 GOOOOOOOOOOOOOOOOOOOOOOOO!// } else mta.msg $1 $2 Get to Sunshine Autos! } if ($3 == !finish) { if (Starfish-Island isin $mta.area($1,$2)) { mta.say $1 $mta.name($1,$2) Finished! } else mta.msg $1 $2 You are not at Starfish Island! } }
Aeron Posted January 5, 2007 Posted January 5, 2007 You must load it in the Remote section of mIRC: ALT+R ALT+R (Yes twice...) CTRL+L
Recommended Posts