try it :
if ((BaseLevel == 160) && (getcharid(2) == 1))
Slowpoker hasn't added any friends yet.
Posted by Slowpoker
on 04 November 2013 - 02:57 AM
try it :
if ((BaseLevel == 160) && (getcharid(2) == 1))
Posted by Slowpoker
on 26 October 2013 - 05:40 PM
Yes, i can but if you want to modify again i advice you to study the code that i gave to you because i just added some equal lines. Didn't forget to reput if i helped you.
here is :
prontera,155,188,4 script Sample 561,{ mes "[Sample]"; mes "Hello "+StrCharInfo(0)+"!"; mes "What would you like to do?";menu "100 Golds to 1 TCG",gold, "Poring Coin to Cash Shop",poring, "Mithrill Coin to 1000 Zeny",coin;gold: if(countitem(969) >= 100) { delitem 969,100; next; mes "[Sample]"; mes "Here is your item!"; getitem 7227,1; close; }poring: if(countitem(7539) >= 1) { delitem 7539,1; next; mes "[Sample]"; mes "Here is your item!"; atcommand "@cash 1"; close; }coin: if(countitem(674) >= 1) { delitem 674,1; next; mes "[Sample]"; mes "Here is your money!"; set Zeny,Zeny + 1000; close; } next; mes "[Sample]"; mes "Sorry but you don't have items to continue."; close;}