This script doesnt want to work after one of the ISX updates.
I am not sure which update.
This is what i get in the console window:
Code: Select all
TELL RECEIVED!
The APICall command is deprecated and will be removed. Use System:APICall instead.
Dumping script stack
--------------------
-->C:/Program Files/InnerSpace/Scripts/tell.iss:14 PlaySound() APICall ${System.GetProcAddress["WinMM.dll","PlaySound"].Hex} Filename 0 Math.Dec[22001]
C:/Program Files/InnerSpace/Scripts/tell.iss:31 ReceivedTell() call PlaySound "C:\\Program files\\Innerspace\\Sounds\\PHASER.wav"
C:/Program Files/InnerSpace/Scripts/tell.iss:22 main() ExecuteQueued
Code: Select all
#macro ProcessTriggers()
if "${QueuedCommands}"
{
do
{
ExecuteQueued
}
while "${QueuedCommands}"
}
#endmac
function PlaySound(string Filename)
{
APICall ${System.GetProcAddress["WinMM.dll","PlaySound"].Hex} Filename 0 Math.Dec[22001]
}
function main()
{
AddTrigger ReceivedTell "\\aPC @*@ @*@:@sender@\\/a tells you,@text@"
do
{
ProcessTriggers()
waitframe
}
while 1
}
function ReceivedTell(string Line)
{
echo TELL RECEIVED!
call PlaySound "C:\\Program files\\Innerspace\\Sounds\\PHASER.wav"
}
Code: Select all
System:APICall ${System.GetProcAddress["WinMM.dll","PlaySound"].Hex} Filename 0 Math.Dec[22001]
Code: Select all
No such 'system' method 'APICall 76b5a8f7 Filename 0 Math'
Error parsing data sequence '.Dec[22001]'
Dumping script stack
--------------------
-->C:/Program Files/InnerSpace/Scripts/tell.iss:14 PlaySound() System:APICall ${System.GetProcAddress["WinMM.dll","PlaySound"].Hex} Filename 0 Math.Dec[22001
C:/Program Files/InnerSpace/Scripts/tell.iss:31 ReceivedTell() call PlaySound "C:\\Program files\\Innerspace\\Sounds\\PHASER.wav"
C:/Program Files/InnerSpace/Scripts/tell.iss:22 main() ExecuteQueued