View unanswered posts | View active topics It is currently Sun Apr 19, 2026 11:53 pm



Reply to topic  [ 4 posts ] 
 Setting script options via m()m (parms) 
Author Message
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Setting script options via m()m (parms)
Im working on a couple scripts and ive seen $parms set so options could be issued through subspace radio, and I would like to use this in a few of said scripts. Wanted to grasp the idea Im sure I could dig, but I'd like to make sure I understand the process. Anyone?

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Sat Feb 13, 2010 9:03 pm
Profile
Commander
User avatar

Joined: Wed May 03, 2006 2:00 am
Posts: 1722
Location: USA
Unread post Re: Setting script options via m()m (parms)
$USER_COMMAND_LINE= m l 1 2 3 4 5 6
$PARM1=m
$PARM2=l
$PARM3=1
$PARM4=2
$PARM5=3
$PARM6=4
$PARM7=5
$PARM8=6



$parm represent options in a command line



R NOOBLE bot saveme on

$parm1=on

The bot will write these to the config file with the ' SAVEVAR ' command
You can then retreive them with YOUR script with the ' LOADVAR ' command


saavy?

_________________
Coconut Telegraph (ICQ)#586137616
Team Speak3@ 220.244.125.70:9987
Founding Member -=[Team Kraaken]=- Winner of Gridwars 2010 - Ka Pla
Image
Jesus wounldn't Subspace Crawl


Last edited by Parrothead on Sat Feb 13, 2010 9:16 pm, edited 1 time in total.



Sat Feb 13, 2010 9:13 pm
Profile ICQ YIM
Boo! inc.
User avatar

Joined: Sat Oct 09, 2004 2:00 am
Posts: 865
Location: USA
Unread post Re: Setting script options via m()m (parms)
Aye, thank you...

_________________
“The object of war is not to die for your corp but to make the other bastard die for his.”

Boo! inc.


Sat Feb 13, 2010 9:16 pm
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: Setting script options via m()m (parms)
Thats brilliant

Going to put that on the info site.

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sat Feb 13, 2010 9:36 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 9 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 wSTSoftware.