Total players online: 14



Take the Tour | Site Map

It is currently Sun Dec 10, 2017 11:39 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Apr 27, 2017 10:45 am 
Offline
Apprentice Scripter
Apprentice Scripter

Joined: 03/21/2016 20:13
Posts: 10
I play on a shard that utilizes the Dat99 token system. So I wrote a script that will make items, drop them into the token bag and then, once full, empty the bag via the context menu. My problem is that I am using click commands to empty the bag. This works fine if my UO screen is active and I'm not doing anything else, due to the context menu doesn't seem to come up if the mouse doesn't move). However I would like to do this a bit more hands off with the mouse. The Codename Alexandria subs has an OpenContextMenu that will single click on an NPC and select an option from the menu. Is there something like that for items in your bag? I have looked through the subs file and don't see anything. I'm hoping I just overlooked it.

Any help would be appreciated.


Top
  Profile 
PostPosted: Thu Apr 27, 2017 11:05 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/10/2004 17:11
Posts: 2123

finditem "itemToBeFound" c_ , #backpacked
if #findcnt > 0
exevent popup #findid "indexOfSelectionToClick"

That's if exevents work in that client, with that euo, on that shard. I have no idea. Can't test. And if that command still works like I remember... I think there's a sub that might help you named s_exeventPopUp. Not sure.

_________________
Image


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Thu Apr 27, 2017 11:31 am 
Offline
Apprentice Scripter
Apprentice Scripter

Joined: 03/21/2016 20:13
Posts: 10
Hmmm, it doesn't seem to work. I am running EUO 1.5.1.311. I checked the wiki for exevent popup and I have the syntax right, but it's not doing anything.


Top
  Profile 
PostPosted: Thu Apr 27, 2017 6:07 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 12/23/2003 03:27
Posts: 1144
Location: Seige Perilous

exevent popup doesnt click the selection for you. the X and Y are the cont position of the menu, you still need to click it manually. The ability you are trying to use has been taken out of euo.

taken from wiki:
Note: This command is only available from EUO 1.5 TV 56.
The syntax for this command has been changed in EasyUO 1.5.1 build 252. It used to be Exevent: Popup {id} [entry] SCRIPT USING OLD SYNTAX MUST BE UPDATED.

_________________
While a = a
{
Scanjournal 1
If Daemon_is_attacking_you in #journal || ( you_are_attacking in #journal && Daemon in #journal )
Terminate UO
}


Top
  ProfileShow poster's scripts in the public script library 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Hosted by CalWeb Internet Services, Inc.