Cisqua Posted January 25, 2013 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 131 Reputation: 1 Joined: 12/29/12 Last Seen: August 10, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 25, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:38 PM Share Posted January 25, 2013 try this http://pastebin.com/raw.php?i=UmqJ8aud 1 Quote Link to comment Share on other sites More sharing options...
Cisqua Posted January 25, 2013 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 131 Reputation: 1 Joined: 12/29/12 Last Seen: August 10, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
markiez22 Posted December 23, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 126 Reputation: 5 Joined: 10/31/12 Last Seen: June 7, 2023 Share 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 Link to comment Share on other sites More sharing options...
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 CisquaLink to comment
Share on other sites
3 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.