Because i had troubles with one of my auto with typing the correct nick that SCAr will regonise, is there a way i can test if the nick is correct in SCAR (i only have this problem with 1 auto but i need the auto to run properly)?![]()
Because i had troubles with one of my auto with typing the correct nick that SCAr will regonise, is there a way i can test if the nick is correct in SCAR (i only have this problem with 1 auto but i need the auto to run properly)?![]()
Well first of all
1. r u running vista?
2. How many letters are in your nick?
3. is it a part of ur nick? (ex. Deadman=eadm or ead, dman, dma, ect.)
4. are u useing ur fist letter in your name?
5. does the script that u are running have randoms?
p.s. i like ur sig.![]()
![]()
![]()
SCAR Code:program ParseNick
var
name, nick: string;
limit: Integer;
begin
name:='Your Username'; //Change this to form input or whatever
nick:=readln('What is your nickname?'); //Change this to form input or whatever
limit=4; //Change this to the length limit for the nickname
//Making not case sensitive
name:= lowercase(name);
nick:= lowercase(nick);
//If the nickname is not in string
if (pos(nick,name))=0 then
begin
writeln('Error: Nickname doesnt match name.');
exit;
end;
//If the nickname includes the first letter of the name
if (pos(nick,name))=1 then
begin
writeln('Error: Nickname includes first letter of name.');
exit;
end;
//If the nickname exceeds the length limit
if (length(nick)>limit) then
begin
writeln('Error: Nickname exceeds '+IntToStr(limit)+' characters.');
end;
//No errors. Put other code here.
end.
Hope that helps
Edit: I just realised you can use this for the same result:
SCAR Code:CheckUserNicks
In DeclarePlayers, in the last line above end, put CheckNick;![]()
Send SMS messages using Simba
Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!
There are currently 1 users browsing this thread. (0 members and 1 guests)