equal
deleted
inserted
replaced
526 begin |
526 begin |
527 liveLua:= (not liveLua); |
527 liveLua:= (not liveLua); |
528 if liveLua then |
528 if liveLua then |
529 begin |
529 begin |
530 AddFileLog('[Lua] chat input string parsing enabled'); |
530 AddFileLog('[Lua] chat input string parsing enabled'); |
531 AddChatString(#3 + 'Lua parsing: ON'); |
531 AddChatString(#3 + trmsg[sidLuaParsingOn]); |
532 end |
532 end |
533 else |
533 else |
534 begin |
534 begin |
535 AddFileLog('[Lua] chat input string parsing disabled'); |
535 AddFileLog('[Lua] chat input string parsing disabled'); |
536 AddChatString(#3 + 'Lua parsing: OFF'); |
536 AddChatString(#3 + trmsg[sidLuaParsingOff]); |
537 end; |
537 end; |
538 UpdateInputLinePrefix(); |
538 UpdateInputLinePrefix(); |
539 end; |
539 end |
|
540 else |
|
541 AddChatString(#5 + trmsg[sidLuaParsingDenied]); |
540 exit |
542 exit |
541 end; |
543 end; |
542 |
544 |
543 // Help commands |
545 // Help commands |
544 if (copy(s, 2, 11) = 'help taunts') then |
546 if (copy(s, 2, 11) = 'help taunts') then |