Jump to content

rochenel27

Members
  • Posts

    3
  • Joined

  • Last visited

rochenel27's Achievements

Poring

Poring (1/15)

1

Reputation

  1. OMG Thank you very much! Yes you really helped me understand the mistakes. Thanks again!
  2. Hi guys! I'm a newbie in scripting. Just started learning today and just need your help on what's wrong with this script that I made? I would really appreciate if you'll pin point my mistakes so that I will learn. Thank you! // Item Trader prontera,147,170,4 script Item Trader 622,{ mes "[Item Trader]"; mes "Hi! How can I help you?"; mes "Item Ticket = 100 Yggdrasil Berry"; mes "Item Ticket = 30 Poison Bottles"; menu "Item Ticket to Yggdrasil Berry", C_1, "Item Ticket to Poison Bottle", C_2, "Yggdrasil Berry to Item Ticket", C_3, "Poison Bottle to Item Ticket" C_4; C_1: if (checkweight(607,100) == 0 ) goto C_OW; if(countitem(7284)<1) goto C_NI; delitem 7284,1; getitem 607,100; mes "[Item Trader]"; mes "[There you go!]"; close; C_2: if (checkweight(678,30) == 0 ) goto L_OW; if(countitem(7284)<1) goto C_NI; delitem 7284,1; getitem 678,300; mes "[Item Trader]"; mes "[There you go!]"; close; C_3: if(countitem(607)<100) goto C_NI; delitem 607,100; getitem 7284,1; mes "[Item Trader]"; mes "[There you go!]"; close; C_4: if(countitem(678)<30) goto C_NI; delitem 678,30; getitem 7284,1; mes "[Item Trader]"; mes "[There you go!]"; close; C_OW mes "[Item Trader]"; mes "Sorry you're overweight"; close; C_NI: mes "[Item Trader]"; mes "[You don't have the items]"; close; }
×
×
  • Create New...