Jump to content
  • 0

Allskills NPC with payment or without payment


mikemike

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

i hope anyone can help me to get or have script allskills npc with payments or without payments.. please :(

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

allskill without payment

prontera,150,180,4	script	Test	100,{
atcommand "@allskill";
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

Thank You ... :D i hope someone can give me with payment .... thank you. .!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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 by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

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 by mikemike
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

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,{

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  248
  • Reputation:   7
  • Joined:  11/27/12
  • Last Seen:  

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 by Yudax
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

Thank You

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...