i want to make a code like this
if (cmd=="comand") and (nick=nick) then
--do function
end
how do i make a nickcheck??
if (cmd=="comand") and (user.sName="nick") then
--do function
end
Maybe
Thanks man
im working on a script and all i want to is to UNDERSTAND lua, and so i do. but i need some help.
QuoteOriginally posted by VidFamne
if (cmd=="comand") and (user.sName="nick") then
--do function
end
Maybe
:O
==
Sorry, I made a little typo.
It should be;if (cmd=="comand") and (user.sName=="nick") then --<--it should be == instead of =
--do function
end
ok.
some1 got eny idea how i do a repeat until code??
in php the code locks like this
$times = 100;
$i = 0;
$user = user.sName;
while($i < $times)
{
echo $user " has flooded you" $i "times";
$i ++;
}
i hope this is possible in LUA
/Agent Smith
Start = 0
Stop = 100
repeat Start + 1
untill Start == Stop
I think, not so sure
Yepp,look >>here<< (http://lua-users.org/wiki/ControlStructureTutorial)