I would like to get rid of the
<write_to_logbook category="general" title="$title" faction="$inspector.owner" text="$text + '\n' + {1001, 9322} + {1001, 120} + ' ' + $responsename"/>
line in aiscripts/lib.respond.inspected.xml.
How do I do that with a diff?
I assume it has to look something like this
<?xml version='1.0' encoding='utf-8'?>
<diff>
<replace sel="/aiscript/attention[@min='unknown']/actions/ ????? ">
</replace>
</diff>
but I don't quite understand how I specify the command and with what I replace it with. Just leave it empty and it is gone?
[Help] Remove write_to_logbook from aiscript
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 39
- Joined: Sun, 9. Jan 05, 18:53
[Help] Remove write_to_logbook from aiscript
Iucundi acti labores
-
- Posts: 237
- Joined: Mon, 27. Jun 11, 05:58
Re: [Help] Remove write_to_logbook from aiscript
Use the 'code display' BBCode format to insert your code, this way it will be more readable by anyone reading your post.
There is a guide on how to patch in the Tutorials and Resource section: viewtopic.php?f=181&t=402382#:~:text=%5 ... 20theqmann
If you want to remove, I would use 'remove'. This removes the content:
In this case '//' can be used since it is the first match as well as the only one.
There is a guide on how to patch in the Tutorials and Resource section: viewtopic.php?f=181&t=402382#:~:text=%5 ... 20theqmann
If you want to remove, I would use 'remove'. This removes the content:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<remove sel="//write_to_logbook"/>
</diff>
"All my contributions to the Technical Support and Public Beta Feedback sections will be concise and to the point, no diatribes, that's what the other sections are for".
Thank you for your efforts.
Thank you for your efforts.
-
- Posts: 39
- Joined: Sun, 9. Jan 05, 18:53
Re: [Help] Remove write_to_logbook from aiscript
Thanks, didn't format as it was only a few lines and all except for one were boilerplate. Will use it in the future.
Iucundi acti labores