Adding Personal Commands to Mir 3

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Again, not sure if this has been posted, but I have been asked about it, so here it is :)


Writing your own commands in 3.55 (I think its the same in 3.38 as well)


-------------------------------------------------------------------------


In Crueldragon3G.INI

ÃüÁî1=ÐÂÃüÁî1
ȨÏÞ1=0
񈧏1=@_NewCommand1
ÃüÁî2=ÐÂÃüÁî2
ȨÏÞ2=0
񈧏2=@_NewCommand2
ÃüÁî3=ÐÂÃüÁî3
ȨÏÞ3=0
񈧏3=@_NewCommand3


I can't copy/paste Chinese on my works PC, but its the 3 sets of 3 items after the @diary items.

ÃüÁî1=Command - This is the thing you type in game to get it to work i.e. @GiveCash
ȨÏÞ1=0 - Not sure on this one, but I think it limits the command to GM's only
񈧏1=@_NewCommand1 - This is the script it is looking for... see below

There are 3 commands that can be added


-----------------------------------------------

@_NewCommand1 - This looks in 00Default.txt for the script


{00Default.txt}

[@_NewCommand1]
#IF
#ACT
goto @CruelDragonMir3G4

[@CruelDragonMir3G4]
#CALL [HLSCRIPT\CruelDragonMir3G.txt] @Mir3G_4 ;You don't need to CALL, you can just put your script here.


{CrueldDragonMir3G.txt}


[@MIR3G_4]
{
#IF
#ACT
Give Gold 1000000
}

Obviously you can put in what script you want.
 

MeanVale2

Dedicated Member
Dedicated Member
May 17, 2007
49
0
52
Talking about Gm commands ect if i add + MeanVale2, it dont give me partial gm(Mod). If there is Mod, whats the thing i add to adminlist.txt
 
Upvote 0

MeanVale2

Dedicated Member
Dedicated Member
May 17, 2007
49
0
52
use * or 1 like this :

* MeanVale2 /GM
1 MeanVale2 /SA

Ok thanks alot, do you know what powers SA have?
So far ive only found these,
@observer
@superman
@kick
@level
@ting
@superting
@recall
@goto
 
Last edited:
Upvote 0

Coly

LOMCN Developer
Developer
Mar 31, 2005
1,399
33
195
Germany
SA can't use @make
SA can't open Scripts with IsAdmin , for this you need the Command IsSysOp
for other look at stiky Threads one have all commands, test all and then you have the working.
 
Upvote 0