Mabuhay Posted December 20, 2012 Posted December 20, 2012 prontera,158,184,5 script Item Maker 123,{ mes "[item Maker]"; mes "Hi, i'll create items for you..."; next; mes "Input item number:"; input .@try; next; mes "Amount?"; input .@tyr; next; mes "Here you go"; getitem .@try,.@tyr; close; end; } Item maker that will restrict from making Angara Manyu and Ahura Mazdah please thanks in advance Quote
PewN Posted December 20, 2012 Posted December 20, 2012 input .@tyr; if(.@tyr == item_id[ahura_mazda] || .@tyr == item_id[angra]) goto L_cant; L_cant: mes "You can't make that item!"; close; Quote
Mabuhay Posted December 20, 2012 Author Posted December 20, 2012 Thanks, took me a bit while to get what you meant Quote
SlashGeeGee Posted December 21, 2012 Posted December 21, 2012 Here : https://raijero.svn.sourceforge.net/svnroot/raijero/dev/Brian/script_requests/at_item.txt it's made by Brian you can set the restricted items just search "setarray .@restricted, 1599,2199;". Quote
AnnieRuru Posted December 21, 2012 Posted December 21, 2012 (edited) prontera,155,175,5 script Item Maker 123,{ mes "[item Maker]"; mes "Hi, i'll create items for you..."; next; mes "Input item number:"; next; input .@item_id; if ( getitemname(.@item_id) == "null" ) { mes "invalid item ID"; close; } if ( .@item_id == 1599 || .@item_id == 2199 ) { mes "you cannot ask for this item"; close; } mes "Item -> "+ getitemname(.@item_id); mes "Amount?"; next; if ( input( .@amount, 1, 30000 ) ) { mes "invalid amount"; close; } if ( !checkweight( .@item_id, .@amount ) ) { // I always forgot about checkweight .... mes "you can carry this much items"; close; } mes "Here you go"; getitem .@item_id, .@amount; close; } Edited December 21, 2012 by AnnieRuru Quote
Question
Mabuhay
Item maker that will restrict from making Angara Manyu and Ahura Mazdah please
thanks in advance
4 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.