Advertisement
Madi_Perth

Untitled

May 2nd, 2023
2,056
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Linden Scripting 0.28 KB | Source Code | 0 0
  1. integer checkCase(string msg)
  2. {
  3.    
  4.     string mseg = " " + msg;
  5.     integer i = llStringLength(mseg);
  6.  
  7.     while(i > 0 && ~llSubStringIndex("abcdefghijklmnopqrstuvwxyz", llGetSubString(mseg, i,i))) --i;
  8.    if(i > 0)
  9.         return TRUE;
  10.     else
  11.         return FALSE;
  12.    
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement