Jump to content

Recommended Posts

Posted

 

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

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...