Advertisement
Guest User

Untitled

a guest
Feb 21st, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. - script kdjshfksdjfh -1,{
  2. OnInit:
  3. bindatcmd "identifyall", strnpcinfo(0)+"::Onaaa", 99, 100;
  4. bindatcmd "clonestats", strnpcinfo(0)+"::Onbbb", 99, 100;
  5. bindatcmd "cloneequip", strnpcinfo(0)+"::Onccc", 99, 100;
  6. end;
  7. Onaaa:
  8. getinventorylist;
  9. for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) {
  10. if ( !@inventorylist_identify[.@i] ) {
  11. delitem2 @inventorylist_id[.@i], 1,0,0,0,0,0,0,0;
  12. getitem @inventorylist_id[.@i], 1;
  13. .@c++;
  14. }
  15. }
  16. dispbottom .@c +" items identified";
  17. end;
  18. Onbbb:
  19. if ( !.@atcmd_numparameters ) {
  20. dispbottom "you need to enter a player name";
  21. end;
  22. }
  23. .@aid = getcharid( 3, .@atcmd_parameters$ );
  24. if ( !.@aid ) {
  25. dispbottom "player not found or not online";
  26. end;
  27. }
  28. .@origin = getcharid(3);
  29. attachrid .@aid;
  30. .@stats = StatusPoint;
  31. .@level = BaseLevel;
  32. .@job = Class;
  33. .@str = readparam(bStr);
  34. .@agi = readparam(bAgi);
  35. .@vit = readparam(bVit);
  36. .@int = readparam(bInt);
  37. .@dex = readparam(bDex);
  38. .@luk = readparam(bLuk);
  39. attachrid .@origin;
  40. jobchange .@job;
  41. BaseLevel = .@level;
  42. resetstatus;
  43. statusup2 bStr, .@str -1;
  44. statusup2 bAgi, .@agi -1;
  45. statusup2 bVit, .@vit -1;
  46. statusup2 bInt, .@int -1;
  47. statusup2 bDex, .@dex -1;
  48. statusup2 bLuk, .@luk -1;
  49. StatusPoint = .@stats;
  50. end;
  51. Onccc:
  52. if ( !.@atcmd_numparameters ) {
  53. dispbottom "you need to enter a player name";
  54. end;
  55. }
  56. .@aid = getcharid( 3, .@atcmd_parameters$ );
  57. if ( !.@aid ) {
  58. dispbottom "player not found or not online";
  59. end;
  60. }
  61. for ( .@i = EQI_HEAD_TOP; .@i <= EQI_HEAD_LOW; .@i++ )
  62. unequip .@i;
  63. .@origin = getcharid(3);
  64. attachrid .@aid;
  65. for ( .@i = EQI_HEAD_TOP; .@i <= EQI_HEAD_LOW; .@i++ ) {
  66. if ( getequipisequiped(.@i) ) {
  67. .@itemid[.@c] = getequipid(.@i);
  68. .@refine[.@c] = getequiprefinerycnt(.@i);
  69. .@card0[.@c] = getequipcardid( .@i, 0 );
  70. .@card1[.@c] = getequipcardid( .@i, 1 );
  71. .@card2[.@c] = getequipcardid( .@i, 2 );
  72. .@card3[.@c] = getequipcardid( .@i, 3 );
  73. .@c++;
  74. }
  75. }
  76. attachrid .@origin;
  77. for ( .@i = 0; .@i < .@c; .@i++ ) {
  78. getitem2 .@itemid[.@i], 1, 1, .@refine[.@i], 0, .@card0[.@i], .@card1[.@i], .@card2[.@i], .@card3[.@i];
  79. equip .@itemid[.@i];
  80. }
  81. end;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement