Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
25
_module/nss/_c_check_title.nss
Normal file
25
_module/nss/_c_check_title.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//><><><><><><><><><><><><><><><><><><><><><><><><>*
|
||||
//:: Name: _c_check_title
|
||||
//:: Function: StartingConditional
|
||||
//><><><><><><><><><><><><><><><><><><><><><><><><>*
|
||||
/*
|
||||
Check the length of the Title being spoken if
|
||||
it's to longer than 30 letter's or empty
|
||||
return FALSE;
|
||||
*/
|
||||
//><><><><><><><><><><><><><><><><><><><><><><><><>*
|
||||
//:: Created By: RagE aka Napalm-uk-RTW
|
||||
//:: Created On: 25/9/05
|
||||
//:: Copyright (c) 2002 *RTW* corp.
|
||||
//><><><><><><><><><><><><><><><><><><><><><><><><>*
|
||||
int StartingConditional()
|
||||
{
|
||||
string sMatch = GetMatchedSubstring(0);
|
||||
int nLength = GetStringLength(sMatch);
|
||||
|
||||
if(nLength < 1 || nLength > 30) {
|
||||
PlaySound("gui_error");
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user