In the 2.1 beta thread, we decided that LAST should take a script number as a parameter so that scripts can check on other scripts, perhaps as a watchdog-type event.
Because of this change, it was decided to add a THIS operator to facilitate checking the current script number.
It was noted:
I found myself commonly using SCRIPT with mods, making for long commands. I think SCRIPT should have a shortened alias because it’s a common place to use THIS, which pushes the text length up quite a bit for a common use case (SCRIPT THIS is recursion).
Maybe a special operator for SCRIPT THIS?
Here’s an idea I had while I was falling asleep, and was wondered if anyone would make use of it:
Based on the concept from LOGO, a turtle is a 2D index that crawls around the patterns as laid out in the tracker. I’m going to use improvised syntax here, but the idea is simple:
@ <--- that's a turtle, it tells you what it's standing on
@.LEFT 1 <--- move turtle left one column
@.DOWN 2 <--- move turtle down two rows
@.WRAP <--- set wrap mode, walk around the edges
@.BUMP <--- set bump mode, stopping at the walls
@.BOUNCE <--- set bounce mode, reversing direction and continuing
@.DIR 90 <--- set the direction to 90 degrees
@.FWD 3 <--- move 3 units forward in the current direction
@.TURN 45 <--- turn 45 degrees clockwise
@.X 1 <--- jump to column 1
@.Y -10 <--- jump to the tenth to last row
@.POS 1 1 <--- jump to position 1,1 and set as home
@.HOME <--- jump home
@.SHOW <--- show the turtle on the tracker screen
Even if nobody likes it, I’m doing this for my private branch to make arpeggiators.