Author Topic: How do I?  (Read 4610 times)

0 Members and 1 Guest are viewing this topic.

Offline Rose TylerTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • Rose Tyler has no influence.
  • Gender: Female
  • Respect: 0
  • Referrals: 0
    • View Profile
How do I?
« on: October 07, 2012, 06:15:04 PM »
0
So I am not even sure if this is where I should post this... BUT I want to learn how to write basic scripts... like one project I am working on is cataloging my roses... I want a script that will open a container and put them into alphabetical order and pull out anything that is not supposed to be there.... semi automated... see what I mean? Maybe... help...

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13305
  • Activity:
    0.6%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: How do I?
« Reply #1 on: October 07, 2012, 06:28:29 PM »
0
You might be able to use my Miffy's Item Finder.  You should be able to search all surrounding containers and it'll create a list of everything you found. 

http://www.scriptuo.com/index.php?topic=24.0;highlight=miffy
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Rose TylerTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • Rose Tyler has no influence.
  • Gender: Female
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: How do I?
« Reply #2 on: October 07, 2012, 06:38:28 PM »
0
thanks! ill give it a whirl! 8)

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13305
  • Activity:
    0.6%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: How do I?
« Reply #3 on: October 07, 2012, 07:10:52 PM »
0
It'll work if the roses have some text in common because the script uses event property.  Hopefully "rose" is in there somewhere in each one.. ;)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: How do I?
« Reply #4 on: October 07, 2012, 08:59:51 PM »
0
There is also a SoT scroll sorting script that you might want to look at somewhere here.  That "names" a seclection of bags to drop scrolls into and works like a charm.  I'm far from as classy a scripter as the real writers here but that might give you a few good ideas.
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: How do I?
« Reply #5 on: October 08, 2012, 07:38:39 AM »
0
Below script will remove all items that do not have the word rose in thier property and place into a selected bag.

Before starting script open all bags you want to remove non rose stuff out of and have a container/bag placed to put that stuff into.  The script will ignore your backpack even if opened.

have fun.

Code: [Select]
display ok Open all the bags to search $ if you have not done so already $ You Have 10seconds
for %x 1 10
 {
 event sysmessage %x
 wait 10
 }

display  Target non-rose item Box
set #targcurs 1
while #targcurs = 1
  {
  wait 1
  }
set %JunkBox #ltargetID

finditem * C
if #findcnt > 0
  {
   For #findindex 1 #findcnt
     {
      if #Findbagid <> #charid && #Findbagid <> %JunkBOx && #Findbagid <> #Backpackid
         {
         event property #findid
         if rose notin #property
           gosub ENs_Movetocontainor #findid %Junkbox
         }
     }
  }
halt

Sub ENs_MoveToContainor ; 3/31/08 - %1 Item %2 Containor %3 stack %4 Wait
  if %0 < 4
    set !DragDropWait 12
  wait !DragDropWait
  ExEvent drag %1 %3
  ExEvent DropC %2
  wait !DragDropWait
Return
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Rose TylerTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • Rose Tyler has no influence.
  • Gender: Female
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: How do I?
« Reply #6 on: October 23, 2012, 02:03:39 AM »
0
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: How do I?
« Reply #7 on: October 25, 2012, 08:03:47 AM »
0
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge

I hope it worked out for you Rose
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Masscre

  • Gran Master Jester !!
  • Scripthack
  • *
  • Posts: 4615
  • Activity:
    0%
  • Reputation Power: 55
  • Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!Masscre is leading the good life!
  • Gender: Male
  • Air Guitar Commander !!
  • Respect: +144
  • Referrals: 1
    • View Profile
Re: How do I?
« Reply #8 on: October 26, 2012, 08:05:42 AM »
0
hehe I finally found this! I am so trying it right now! I have umm ALOT of Roses to catalouge

Wow Rose I just noticed where you live. I am only maybe an hour north of you on I-85.

Tags: