generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
26
_module/nss/app2.nss
Normal file
26
_module/nss/app2.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
void main()
|
||||
{
|
||||
object oH = GetPCSpeaker();
|
||||
if (GetLocalString(oH, "HUNDRED") == "")
|
||||
{
|
||||
SetLocalString(oH, "HUNDRED", "2");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetLocalString(oH, "TEN") == "")
|
||||
{
|
||||
SetLocalString(oH, "TEN", "2");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetLocalString(oH, "ONE") == "")
|
||||
{
|
||||
SetLocalString(oH, "ONE", "2");
|
||||
SetCustomToken(420, GetLocalString(oH, "THOUSAND") + GetLocalString(oH, "HUNDRED") + GetLocalString(oH, "TEN") + GetLocalString(oH, "ONE"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user