Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Killmonster in the map


Robbeen

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  04/27/13
  • Last Seen:  

Hi, I've made a script who's supposed killing all the monsters in the map (it's a Bloody Branch Room). But it seems that it's not working... I'm wondering why. So, can someone please help me ?

Here's the script :

 

-    script    Cleaner DB    -1,{

    mes "[Cleaner]";
    mes "Are you sure you want to clean the map ?";
    mes "Monsters won't drop items.";
    next;
    menu "Yes",-, "No",L_leave;
    killmonsterall strcharinfo(3);
    mes "[Cleaner]";
    mes "The map was cleaned !";
    close;

L_leave:
    close;
}

I apologize, finally, instead of using "killmonsterall strcharinfo(3);" (seems that it doesn't work with mobs spawned using Bloody Branch), I decided to use "atcommand "@killmonster2";". I'm really sorry for this post totally useless :/.

 

Edited by Robbeen
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

your script doesn't have auto-event

Edited by goddameit
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...