I have an old script from L2net longtime ago and want to convert it to work with l2helper.
The script is simple. In channel (Public/Party/Clan) if I type "1" my char will automatic do all skill of dagger I want. Please look at these code below
"
DEFINE_GLOBAL STRING COV "Cov"
FUNCTION ParseChat
DEFINE STRING MSG_COV "1"
IF MESSAGETYPE == CHANNEL_ALL // If I type 1 to Public Channel it will call function Scov...
IF MESSAGE == MSG_COV
CALLSUB Scov
ENDIF
ENDIF
RETURN VOID
SUB Scov //...... and function Scov will do a set of dagger skill for me, depends what skill I list in this function
SKILL_GET_ID SKIL "shadow step"
USE_SKILL "<&SKIL&>"
sLeep 700
SKILL_GET_ID SKIL "backstab"
USE_SKILL "<&SKIL&>"
sleep 800
SKILL_GET_ID SKIL "Bluff"
USE_SKILL "<&SKIL&>"
sleep 1000
SKILL_GET_ID SKIL "blinding blow"
USE_SKILL "<&SKIL&>"
SAY_TEXT "<&CHANNEL_ALL&>" "done 4skill for you" // this is to tell me all my skill I want has been done
RETURNSUB
"
My main goal is for example I'm playing healer in 1 computer but I can control my dagger to atttack anyone in other computer (which is running l2helper). When I type "1" to party channel, my dagger will Target Me --> Assist --> Attack the target with all skill Im listing in the function till the target die
Im looking forward for your reply and really need your help. Thanks