I recently had cause to change one of my worlds scripting from vb to python, which I'm not terribly familiar with.
I've reworked all my triggers and much to my suprise got them working <g>
Oddly enough I'm having trouble with an alias. This particular alias provides clearscreen functionality by sending a bunch of newlines via send to output. I've pasted it at the end of this post.
For some reason what I get now is a Huh?
Clearly now that I've moved to python it's NOT sending the \n's in the same way it did when I was using vb ... but I can't for the life of me figure out what it SHOULD be sending to achieve my goal?
Any pointers?
<aliases>
<alias
match="clearscreen"
enabled="y"
omit_from_log="y"
send_to="2"
sequence="80"
>
<send>
</send>
</alias>
</aliases>
I've reworked all my triggers and much to my suprise got them working <g>
Oddly enough I'm having trouble with an alias. This particular alias provides clearscreen functionality by sending a bunch of newlines via send to output. I've pasted it at the end of this post.
For some reason what I get now is a Huh?
Clearly now that I've moved to python it's NOT sending the \n's in the same way it did when I was using vb ... but I can't for the life of me figure out what it SHOULD be sending to achieve my goal?
Any pointers?
<aliases>
<alias
match="clearscreen"
enabled="y"
omit_from_log="y"
send_to="2"
sequence="80"
>
<send>
</send>
</alias>
</aliases>