Spectator Posted May 29, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Share Posted May 29, 2013 Hi to all can i request some of the scripts? 1. Pods to Cash Point (ex. 1 pods = 2000 cash point) Pods to Tcg (ex. 1 pods = 10 tcg) 2. Pods Reward Giver ex. Gm will input the name of the player and the amount of pods even if the player is online or offline then the player will get the item to npc. thanks in advance Quote Link to comment Share on other sites More sharing options...
1 Spectator Posted May 30, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 63 Reputation: 0 Joined: 01/09/13 Last Seen: June 27, 2013 Author Share Posted May 30, 2013 Pods -> Cashpoints = prontera,150,150,0 script Test 100,{ OnInit: // NPC Name .NPC$ = strnpcinfo(1); // Cashpoints amount to be received .Amount = 5; // Tickt for transaction (PODS TCG etc) .Ticket = 7227; end; mes .NPC$; mes "Hello " +strcharinfo(0)+ ". What can i do for you?"; next; if (select("Exchange my " +getitemname(.Ticket)+ " to cashpoints:Nothing" - 1) close; mes .NPC$: mes "How many " +getitemname(.Ticket)+ " would you like to exchange? 1 " +getitemname(.Ticket)+ " = " +.Amount+ " cash points"; next; input @amount; if (@amount == 0 ){ mes .NPC$; mes "Invalid amount"; close; } mes .NPC$; mes "So you want to exchange " +@amount+ " " +getitemname(.Ticket)+ "?"; next; if (select("Yes:No") - 1)close; mes .NPC$; mes "Let me check if you have the following requirements."; next; if (countitem(.Ticket) < @amount) { mes .NPC$; mes "Hello " +strcharinfo(0)+ " you do not have enough " +getitemname(.Ticket); close; } mes .NPC$; mes "Orayt here you go!"; delitem .Ticket,@amount; set #CASHPOINTS, #CASHPOINTS + (@amount * .Amount); dispbottom "Currently you have " +#CASHPOINTS+ " cash points. Thank you for the transaction"; end; } thanks for the script sir . Quote Link to comment Share on other sites More sharing options...
Patskie Posted May 29, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 8 hours ago Share Posted May 29, 2013 Pods -> Cashpoints = prontera,150,150,0 script Test 100,{ OnInit: // NPC Name .NPC$ = strnpcinfo(1); // Cashpoints amount to be received .Amount = 5; // Tickt for transaction (PODS TCG etc) .Ticket = 7227; end; mes .NPC$; mes "Hello " +strcharinfo(0)+ ". What can i do for you?"; next; if (select("Exchange my " +getitemname(.Ticket)+ " to cashpoints:Nothing" - 1) close; mes .NPC$: mes "How many " +getitemname(.Ticket)+ " would you like to exchange? 1 " +getitemname(.Ticket)+ " = " +.Amount+ " cash points"; next; input @amount; if (@amount == 0 ){ mes .NPC$; mes "Invalid amount"; close; } mes .NPC$; mes "So you want to exchange " +@amount+ " " +getitemname(.Ticket)+ "?"; next; if (select("Yes:No") - 1)close; mes .NPC$; mes "Let me check if you have the following requirements."; next; if (countitem(.Ticket) < @amount) { mes .NPC$; mes "Hello " +strcharinfo(0)+ " you do not have enough " +getitemname(.Ticket); close; } mes .NPC$; mes "Orayt here you go!"; delitem .Ticket,@amount; set #CASHPOINTS, #CASHPOINTS + (@amount * .Amount); dispbottom "Currently you have " +#CASHPOINTS+ " cash points. Thank you for the transaction"; end; } 1 Quote Link to comment Share on other sites More sharing options...
Question
Spectator
Hi to all can i request some of the scripts?
1. Pods to Cash Point (ex. 1 pods = 2000 cash point)
Pods to Tcg (ex. 1 pods = 10 tcg)
2. Pods Reward Giver
ex. Gm will input the name of the player and the amount of pods even if the player is online or offline
then the player will get the item to npc.
thanks in advance
Link to comment
Share on other sites
2 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.