karazu Posted October 15, 2013 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Share Posted October 15, 2013 (edited) What is the error in my script?I added this Script in the Custom Battle ground of Goddammit if(.point[1]>.point[2]) { Announce "[Battle Ground]:Team A Win!",0; getitem $@bg_id_a,<item id>,<qty>; }else if(.point[2]>.point[1]) { Announce "[Battle Ground]:Team B Win!",0; getitem $@bg_id_b,<item id>,<qty>; }else { Announce "[Battle Ground]:Draw!",0; getitem $@bg_id_a,<item id>,<qty>; getitem $@bg_id_b,<item id>,<qty>; } what is exaclty the error?This is in the MAP DB [Error]: script error on npc/custom/MYNPC/CustomBattle.txt line 109 parse_simpleexpr: unexpected character 104 : end; 105 : OnTimer190000: 106 : if(.point[1]>.point[2]) 107 : { 108 : Announce "[Battle Ground]:Team A Win!",0; * 109 : getitem $@bg_id_a,'<'item id>,<qty>; 110 : }else if(.point[2]>.point[1]) 111 : { 112 : Announce "[Battle Ground]:Team B Win!",0; 113 : getitem $@bg_id_b,<item id>,<qty>; 114 : }else [Info]: Done loading '14800' NPCs: ops i forgot to put an item sorry! still exist [Error]: script error on npc/custom/MYNPC/CustomBattle.txt line 85 parse_simpleexpr: unexpected character 80 : end; 81 : OnTimer60000: 82 : if(.point[1]>.point[2]) 83 : { 84 : Announce "[Battle Ground]:Team A Win!",0; * 85 : getitem $@bg_id_a,'<'605>,<1>; 86 : }else if(.point[2]>.point[1]) 87 : { 88 : Announce "[Battle Ground]:Team B Win!",0; 89 : getitem $@bg_id_b,<605>,<1>; 90 : }else for got to remove < > NO more error! HURAY New topic http://rathena.org/board/topic/88645-custom-battle-ground-by-goddammit-not-properly-working/ Edited October 15, 2013 by karazu Quote Link to comment Share on other sites More sharing options...
Question
karazu
What is the error in my script?
I added this Script in the Custom Battle ground of Goddammit
what is exaclty the error?
This is in the MAP DB
ops i forgot to put an item sorry!
still exist
for got to remove
NO more error! HURAY
New topic
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.