Cisqua Posted January 25, 2013 Posted January 25, 2013 (edited) hello, anyone can make me a script with.. if players click to npc all item has broken will be repair and all item not idintify will be idintify thanks it is ok to use this in script? and check if no item need to repair or identifie command will not trigger atcommand "@repairall "+@player$; atcommand "@identifyall "+@player$; Edited January 25, 2013 by Cisqua Quote
Emistry Posted January 25, 2013 Posted January 25, 2013 try this http://pastebin.com/raw.php?i=UmqJ8aud 1 Quote
Cisqua Posted January 25, 2013 Author Posted January 25, 2013 (edited) how to insert this code to this script? rontera,151,193,4 script Healer & Buffer#h1-1::Healer 935,{ set .@t, 2; // Delay Seconds. if ( ! @h ) { set @h, 1; set .@hp, MaxHP - HP; while ( .@t ) { dispbottom "Wait for "+ .@t +" second"+ ( ( .@t > 1 ) ? "s" : "" ) +"."; sleep2 1000 ; set .@t, .@t - 1; } skilleffect 28, .@hp ; specialeffect2 417; percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; dispbottom "You're now fully healed "+ strcharinfo ( 0 ) +"."; set @h, 0; } end ; } figure it out hehehe i dont know if this is right but script is working.. but if their is clean way of adding this script share please ^^ thanks rontera,151,193,4 script Healer & Buffer#h1-1::Healer 935,{ if( getbrokenid(1) ) repairall; getinventorylist; while( .@i < @inventorylist_count ){ if ( !@inventorylist_identify[.@i] ){ delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } .@i++; } set .@t, 2; // Delay Seconds. if ( ! @h ) { set @h, 1; set .@hp, MaxHP - HP; while ( .@t ) { dispbottom "Wait for "+ .@t +" second"+ ( ( .@t > 1 ) ? "s" : "" ) +"."; sleep2 1000 ; set .@t, .@t - 1; } skilleffect 28, .@hp ; specialeffect2 417; percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; dispbottom "You're now fully healed "+ strcharinfo ( 0 ) +"."; set @h, 0; } end ; } Edited January 25, 2013 by Cisqua Quote
markiez22 Posted December 23, 2013 Posted December 23, 2013 prontera,151,193,4 script Healer & Buffer#h1-1::Healer 935,{ set .@t, 2; // Delay Seconds. if ( ! @h ) { set @h, 1; set .@hp, MaxHP - HP; while ( .@t ) { dispbottom "Wait for "+ .@t +" second"+ ( ( .@t > 1 ) ? "s" : "" ) +"."; sleep2 1000 ; set .@t, .@t - 1; } skilleffect 28, .@hp ; specialeffect2 417; percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; sc_start SC_INCREASEAGI,360000,10; atcommand "@identifyall "+@player$; dispbottom "You're now fully healed "+ strcharinfo ( 0 ) +"."; set @h, 0; while (getbrokenid(1)) { repair(1); set .@i, .@i +1; } if (.@i) dispbottom .@i + " items repaired."; end; } } end ; } Quote
Question
Cisqua
hello,
anyone can make me a script with..
if players click to npc all item has broken will be repair and all item not idintify will be idintify thanks
it is ok to use this in script?
and check if no item need to repair or identifie command will not trigger
atcommand "@repairall "+@player$;
atcommand "@identifyall "+@player$;
Edited by Cisqua3 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.