Here is my current .protrg file
Code
def hyper(x, y):
HyperTrig = Trigger(x, add=False)
Always()
for Timer in range(63):
Wait(0)
PreserveTrigger()
for i in range(y):
HyperTrig.addTrigger()
HyperTrig = Trigger(x, add=False)
Always()
for Timer in range(63):
Wait(0)
PreserveTrigger()
for i in range(y):
HyperTrig.addTrigger()
Now I try using @include to import the Hyper function into another .protrg file
Code
@include ProTrigFunctions.protrg
hyper(8,3)
hyper(8,3)
And this is the resulting file
Code
//------------------------------------------------------\\
// Generated by ProTRG v1.1 on Tue Aug 10 00:53:18 2010 \\
//------------------------------------------------------\\
Traceback (most recent call last):
File "ProTRG.py", line 1571, in <module>
File "ProTRG.py", line 1531, in main
IndexError: list index out of range
// Generated by ProTRG v1.1 on Tue Aug 10 00:53:18 2010 \\
//------------------------------------------------------\\
Traceback (most recent call last):
File "ProTRG.py", line 1571, in <module>
File "ProTRG.py", line 1531, in main
IndexError: list index out of range
I've tried saving ProTrigFunctions.protrg in the Notepad++ directory, and also tried listing the full file extension in @include, but this didn't work either.
There's got to be something more to life than being really, really, ridiculously good looking...