Bill D Cat wrote:but it prints the comment on the next line, which is what I had hoped to avoid
True but it would still be effective and can be done without adding to the bots code complexity.
Bill D Cat wrote:And if I want to turn it back off later I'd have to edit all those lines again which would make toggling the output a bit difficult.
Wouldn't you also have to edit all those lines again to remove
note="Enter Inferno Gardens"? Or are you talking about disabling the option? Well you could do something like this.
Code: Select all
<onload>
printNoteEnabled = true
function printnote(text)
if printNoteEnable then
print(text)
end
end
</onload>
Then you can use
Code: Select all
<!-- # 2 --><waypoint x="6315" z="4995" y="168"> printnote("Enter Inferno Gardens") </waypoint>
And you can easily enable/disable it by changing
printNoteEnabled . You don't even need to open another file like you would if you were using a profile option.
Bill D Cat wrote: I guess I'm just one of those people who likes options upon options
I would guess there are a lot more noobs using the bot than advanced users who know what they are doing. So one of our main objectives is to keep thing simple and not add complexity if not necessary. I think this is one of those times.