Jump to content

catanata

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

catanata's Achievements

Poring

Poring (1/15)

  • One Month Later
  • First Post
  • Conversation Starter
  • Week One Done
  • Dedicated

Recent Badges

0

Reputation

  1. Thank you so much for you correction , my problem was solved now. have a great day
  2. I am encountering a script error while trying to use the atcommand function in my summon_monsters.txt script. The script is intended to summon monsters using a custom command. However, I receive the following error after reloading the script: function script summon_monsters { .@mob_id = getarg(0); .@qty = getarg(1); if (.@mob_id > 0 && .@qty > 0) { .@command$ = "@summony " + .@mob_id + " " + .@qty; atcommand(.@command$, getcharid(3)); } } and error after reload script error on npc/custom/summonmonsters.txt line 7 parse_callfunc: expected ')' to close argument list 2 : .@mob_id = getarg(0); 3 : .@qty = getarg(1); 4 : 5 : if (.@mob_id > 0 && .@qty > 0) { 6 : .@command$ = "@summony " + .@mob_id + " " + .@qty; * 7 : atcommand(.@command$, getcharid(3)); 8 : } 9 : } Could someone please help me identify what might be causing this error and how to resolve it? Any suggestions or insights would be greatly appreciated! Thank you in advance!
×
×
  • Create New...