View unanswered posts | View active topics It is currently Fri Mar 29, 2024 9:11 am



Reply to topic  [ 6 posts ] 
 Mombot find and getnear 
Author Message
Warrant Officer

Joined: Thu Aug 21, 2003 2:00 am
Posts: 77
Location: USA
Unread post Mombot find and getnear
I'm having a time getting these two mombot commands to work as I think they are supposed to. Can anyone give me a couple of syntax examples, please?

Thanks,
Deign


Wed Nov 14, 2018 8:42 am
Profile ICQ
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Mombot find and getnear
There is a help file for each command. This is from those files supplied with mom.

FIND - Search TWX-DBase for Fighter/Port data

find [f/nf/fp/p/de/ufde] [type] {sector} [port type]

- [type] = [de]ad-end or
[f]igged or
[nf] no-fig or
[fp] figged port or
[p]ort or
[ufde] un-figged dead end
- {sector} sector number that you need finder data on,
default is current sector
- [port type] port type (s)ell , (b)uy, or (x) either

GETNEAR - Locates Nearest Cashing Ports.

- getnear {product amount}

{product amount} - Script defaults to value stored in game
CFG file as $PORT_MAX, however you can
specify a different amount. Only need to
update CIM upon 1st use, then simply get
port-reports manually to remove recently
bought down Ports.

Reads MOMBOT NEGO File and includes last known MCIC value
for specific port.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Wed Nov 14, 2018 5:56 pm
Profile ICQ YIM WWW
Lieutenant J.G.

Joined: Mon Dec 01, 2014 5:39 pm
Posts: 440
Unread post Re: Mombot find and getnear
CBYnot posted a list of most command help here:

viewtopic.php?f=15&t=34704

While it's all on the bot it is REALLY nice to look through that one.

Also each bot function outside of the core is a 'add in'. So depending on what you have you might have different commands compared to that list.

Also, sometimes when you first do
>? COMMAND

it will say "No help file found"; it often requires the command run once to generate the help file.
So run
>? command
>stopall

The stopall will stop the commands running, nothing worse than setting off a script just to read the help file :)

Enjoy :)


Wed Nov 14, 2018 6:20 pm
Profile
Warrant Officer

Joined: Thu Aug 21, 2003 2:00 am
Posts: 77
Location: USA
Unread post Re: Mombot find and getnear
Thank you, but I've read the help files. I am trying to use it like this, expecting to get a figged SSS port, but that doesn't work (anonymized):

'bot find fp sss

Message sent on sub-space channel 6789.

Command [TL=00:00:00]:[111] (?=Help)? :

S: - Nearest Figged XXX port(s) to 111: 456 (2 hops), 789 (3 hops), and
S: 987 (4 hops)
S:
S: Note: 111LA, has a XXX port that's figged.
S:


Thu Nov 15, 2018 9:25 pm
Profile ICQ
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1837
Location: Guam USA
Unread post Re: Mombot find and getnear
Deign wrote:
Thank you, but I've read the help files. I am trying to use it like this, expecting to get a figged SSS port, but that doesn't work (anonymized):

'bot find fp sss

Message sent on sub-space channel 6789.

Command [TL=00:00:00]:[111] (?=Help)? :

S: - Nearest Figged XXX port(s) to 111: 456 (2 hops), 789 (3 hops), and
S: 987 (4 hops)
S:
S: Note: 111LA, has a XXX port that's figged.
S:



Hey Deign , is your botname bot ? quite unusual name .. do you have any
other problems when calling scripts with that name ? or get a lot of issues
with not a valid command type of things going on ?

Just asking ....

Vid

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Thu Nov 15, 2018 10:52 pm
Profile WWW
Warrant Officer

Joined: Thu Aug 21, 2003 2:00 am
Posts: 77
Location: USA
Unread post Re: Mombot find and getnear
No, bot name is actually 'dgn' but I tried to edit out all the game specific stuff in the post. That example was copied out of a live game. Didn't want to display my home sector to the world just yet.


Fri Nov 16, 2018 7:29 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.