Jump to content
  • 0

New Commands


Jzz

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   0
  • Joined:  02/29/12
  • Last Seen:  

how to add @join commands?

Example :

1. Player use @join he will be warp to place like :

moc_castle 99 99

2. Player use @mall he will be warp to mall

star_mall 99 99

Kindly help thank you.

bump ... need help thanks.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

@join?.. You're basically restarting the @warp command there.

Also, why don't you use @go for the mall one?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

You could implement '@go mall' in '@go' command

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can easily make it @go 36 <Mall>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   0
  • Joined:  02/29/12
  • Last Seen:  

hmm i want a command like @mall @join

Im going to use this commands for special reasons.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

you can do it like this also if you dunno much in src related stuffs...

// Add this in your Command SRC file.
ACMD_FUNC(Mall){
   npc_event(sd,"Warp::OnType",0);
   return 0;
}

// Add this NPC Script.
- script Warp -1,{
OnType:
warp "mall",0,0;
end;
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...