12 Jul 12, 09:33PM
(This post was last modified: 12 Jul 12, 09:36PM by Ronald_Reagan.)
iirc convertcase is one of the new SVN idents. You will probably have to add another condition like this:
[cubescript]
if (|| (strstr (curmap 1) "gema") (strstr (curmap 1) "GEMA"))[say "true";][say "false";]
[/cubescript]
But here is how you would use convertcase:
[cubescript]
(strstr (convertcase 0 (curmap 1)) "gema")
//Add back into the script
if (strstr (convertcase 0 (curmap 1)) "gema")[say "true";][say "false";]
[/cubescript]
Sorry if there is a bug or two in the code, I didn't decide to bugtest it :3
[cubescript]
if (|| (strstr (curmap 1) "gema") (strstr (curmap 1) "GEMA"))[say "true";][say "false";]
[/cubescript]
But here is how you would use convertcase:
[cubescript]
(strstr (convertcase 0 (curmap 1)) "gema")
//Add back into the script
if (strstr (convertcase 0 (curmap 1)) "gema")[say "true";][say "false";]
[/cubescript]
Sorry if there is a bug or two in the code, I didn't decide to bugtest it :3