mikemike Posted January 17, 2013 Posted January 17, 2013 i hope anyone can help me to get or have script allskills npc with payments or without payments.. please Quote
goddameit Posted January 17, 2013 Posted January 17, 2013 allskill without payment prontera,150,180,4 script Test 100,{ atcommand "@allskill"; end; } Quote
mikemike Posted January 17, 2013 Author Posted January 17, 2013 Thank You ... i hope someone can give me with payment .... thank you. .! Quote
goddameit Posted January 17, 2013 Posted January 17, 2013 (edited) with payment prontera,150,180,4 script Test 100,{ mes "You have to pay me 100z"; select("Yes"); if(Zeny<100) { mes "Your Zeny are not enough."; close; } set Zeny,Zeny-100; atcommand "@allskill"; mes "Success."; close; } Edited January 17, 2013 by goddameit Quote
mikemike Posted January 17, 2013 Author Posted January 17, 2013 (edited) boom !!! THANK YOU !! btw i modify the script like this with spacing..... its good ? prontera,150,180,4 script Test 100,{ [tab]mes "You have to pay me 100z"; [tab]select("Yes"); [tab]if(Zeny<1000000000) [tab]{ [tab]mes "Your Zeny are not enough."; [tab]close; [tab]} [tab]set Zeny,Zeny-1000000000; [tab]atcommand "@allskill"; [tab]mes "Success."; [tab]close; } Edited January 17, 2013 by mikemike Quote
Euphy Posted January 17, 2013 Posted January 17, 2013 Tabs aren't processed by the script engine so you can add/remove them wherever (except within words/numbers, of course). You only need them in the script header. prontera,150,180,4 script Test 100,{ Quote
Yudax Posted January 20, 2013 Posted January 20, 2013 (edited) Yep the tabs are only important to this prontera,150,180,4<tab>script<tab>Test<tab>100,{ boom !!! THANK YOU !! btw i modify the script like this with spacing..... its good ? prontera,150,180,4 script Test 100,{ [tab]mes "You have to pay me 100z"; [tab]select("Yes"); [tab]if(Zeny<1000000000) [tab]{ [tab]mes "Your Zeny are not enough."; [tab]close; [tab]} [tab]set Zeny,Zeny-1000000000; [tab]atcommand "@allskill"; [tab]mes "Success."; [tab]close; } Edited January 20, 2013 by Yudax Quote
Question
mikemike
i hope anyone can help me to get or have script allskills npc with payments or without payments.. please
7 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.