mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-22 11:31:44 +01:00
Normalize case in many TBA script commands.
Since circle/tba is not case-sensitive, this should be a non-change. I confirmed this by verifying that `diff -i` shows zero changes. So, to tba, this is just a cosmetic cleanup. However, to others that use this data, the case might be important. ...this includes my own separate MUD codebase. :)
This commit is contained in:
@@ -12,12 +12,12 @@ Calculator By Mordecai~
|
||||
*~
|
||||
* By Mordecai
|
||||
if %actor.is_pc%
|
||||
Return 0
|
||||
Eval sum %speech%
|
||||
Eval test1 "%speech%"
|
||||
Eval test %test1.strlen%
|
||||
Eval che %sum%/1
|
||||
If %che% == %sum%
|
||||
return 0
|
||||
eval sum %speech%
|
||||
eval test1 "%speech%"
|
||||
eval test %test1.strlen%
|
||||
eval che %sum%/1
|
||||
if %che% == %sum%
|
||||
%echo% @WComputing results...@n
|
||||
if (%speech%/===)
|
||||
if (%sum%==1)
|
||||
@@ -26,19 +26,19 @@ if %actor.is_pc%
|
||||
set sum No
|
||||
end
|
||||
end
|
||||
Eval st 2+%test%
|
||||
Eval o .
|
||||
Eval sumslen "%sum%
|
||||
Eval len %st% - (%sumslen.strlen%-2)
|
||||
If %len% > 0
|
||||
Eval dif (%len%/2)
|
||||
While %y.strlen% < %st%
|
||||
Eval o .%o%
|
||||
Eval y %o%
|
||||
Eval m ?%m%
|
||||
Eval p %m%
|
||||
If %dif% == %y.strlen%
|
||||
Eval wid1 %p%
|
||||
eval st 2+%test%
|
||||
eval o .
|
||||
eval sumslen "%sum%
|
||||
eval len %st% - (%sumslen.strlen%-2)
|
||||
if %len% > 0
|
||||
eval dif (%len%/2)
|
||||
while %y.strlen% < %st%
|
||||
eval o .%o%
|
||||
eval y %o%
|
||||
eval m ?%m%
|
||||
eval p %m%
|
||||
if %dif% == %y.strlen%
|
||||
eval wid1 %p%
|
||||
end
|
||||
done
|
||||
end
|
||||
@@ -1545,7 +1545,7 @@ actor.eq(*) test~
|
||||
0 g 100
|
||||
~
|
||||
if !%actor.eq(*)%
|
||||
Say you are wearing nothing!
|
||||
say you are wearing nothing!
|
||||
else
|
||||
say you are wearing something.
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user