ok trying to get this damn thing working to help DS a friend while i'm sleeping and hes PLing.. but it keeps saying the sub event chat string blah blah flow ran into another subroutine... any help?
Rich (BB code):
|omg this is the suck
#turbo 20
#chat tell
#include Spell_Routines.inc
Sub Main
Sub Event_Chat(string ChatType,string Sender,string ChatText)
/mqlog ${ChatType}: ${Sender} tells you: ${ChatText}
}
/goto :loopstart
/return
/if (${ChatText.Equal["ds"]}) {
/delay 1s
/target ${Sender}
/delay 1s
/cast 1
}
/if (${ChatText.Equal["heal"]}) {
/delay 1s
/target ${Sender}
/delay 1s
/cast 7
}
/if (${ChatText.Equal["regen"]}) {
/delay 1s
/target ${Sender}
/delay 1s
/cast 5
}
/if (${ChatText.Equal["follow"]}) {
/delay 1s
/target ${Sender}
/delay 1s
/stick
}
/if (${ChatText.Equal["camp"]}) {
/cast 8
}
/if (${ChatText.Equal["port"]}) {
/delay 1s
/target ${Sender}
/invite
/delay 10s
/target ${Sender}
/makelead
/cast 8
}
/return