Jump to content
  • 0

help Disable Commands @mail in 1 map only


dikapramantya

Question


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

hi guys, can you help me to disable commands @mail in 1 map only,

example : i can't use commands @mail in map prtg_cas03 but i can use in another map ?? thanks for your answer :D

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

disable your @mail commands in your group.conf setting..and load this script.

- script Sample -1,{
OnInit:
bindatcmd("mail","Sample::OnAtcommand");
end;
OnAtcommand:
if( strcharinfo(3) == "mapname" ){
 message strcharinfo(0),"Mail Disabled here.";
}else
 openmail;
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

disable your @mail commands in your group.conf setting..and load this script.

- script Sample -1,{
OnInit:
bindatcmd("mail","Sample::OnAtcommand");
end;
OnAtcommand:
if( strcharinfo(3) == "mapname" ){
 message strcharinfo(0),"Mail Disabled here.";
}else
 openmail;
end;
}

umm where can i find the

group.conf setting

Link to comment
Share on other sites


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

you didnt know how to add a @mail command ? then how come this will work on your normal player in game ?

hi guys, can you help me to disable commands @mail in 1 map only,

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/groups.conf

 main: true

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