Jump to content

[LUA]create Big Letter


Tockra

Recommended Posts

local typesofletter = "te" or "tE" or "Te" or "TE"

what is this?

afaik this will be true ;)

you mean table maybe?

anyway 'te' was an example.. wanna do the same for:

iamveryluckyman

? ;p

Did I just fail that bad? xD

Fuck tables I haven't done that shit yet. :(

iamverysillyman <-- You wanna do that one? :D

Link to comment
Did I just fail that bad? xD

i think so..

good idea is not to giving random advices when you dont know how to solve problem :P

My understanding of it is vague, I just assumed that used in the right way that one could easily check if any of it's values exist. You've enlightened me :idea:

iamverysillyman <-- You wanna do that one? :D

nope, but i can write a generator for it :P

Get writing then :P

Link to comment
Get writing then :P

i dont think anybody really needs it :P

better way than checking all of possibilities it to do something like:

local mystring = "IamGOD"
local yourstring = "IAmgOd"
 
local result = compareNonCaseSensitive(mystring, yourstring)
if (result) then
outputChatBox("yes, strings are the same!")
else
outputChatBox("no, strings are different")
end
 
function compareNonCaseSensetive(str1, str2)
if (str1==nil or str2==nil) then return false end
if (string.lower(tostring(str1)) == string.lower(tostring(str2))) then
return true
else
return false
end
end

this will output yes, strings are the same!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...