GOM mining script
1. Common command
? If; If
? Say; Output string
? Act; Execute command
break; End command
close; End the dialogue
2, character condition command
checkitem item number; Check the items and quantity of the current character
checkgold quantity; Detect the number of gold coins carried by the current character
checklevel (& gt& lt;,=) Number of grades; Detect current character level
checkcreditpoint& lt;,=) Reputation number; Detect the reputation of current characters
checkjob (warrior, wizard, Taoist); Detect the number of map names of the current person's occupation
checkhum; Detect the number of players in the specified map
checkitemw item name number; Check whether the current person wears the specified item
checkraeva item name value; Detect the quality of minerals and other items carried by the current character
checkbag; Check whether the current character's backpack is full
onlinelongmin & gt& lt;,=) Length of time; Detect the online ration of current character
checkcastledoor (damaged, open, closed); Detect the state of Shacheng gate
castlewaray& lt;,=) Days; Detect the number of days since the last siege
castlechangeday& lt;,=) Days; Detect the occupation days of sabak
checkofguide guild name; Check the current character guild name
checknamelist role name list.txt; Check whether the current persona name is in the list
checkguildlist guild list.txt; Check whether the current person guild is in the list
checkaccountlist account list.txt; Check whether the current person account is in the list
checkiplist IP list.txt; Check whether the current person's IP is in the list
checkaccountiplist account and IP list.txt; Check whether the login account and IP of the current person match the role name and IP list in the list
checknameiplist.txt; Check whether the current persona name and IP match the list
isadmin; Check whether the current person is an administrator
haveguide; Check whether the current character joins the guild
iscastleguid; Detect whether the current character is a member of Shacheng
iscastlemaster; Detect whether the current character is Shacheng boss
isguildmaster; Detect whether the current character is the guild leader
isnewman; Check whether the current character is a new person
checkslavecount & gt& lt;,=) number; Detect the number of pets taken by legendary private service personages
checkslavelevel (& gt;)& lt;,=) Grade number (7); Check the pet level of the current character
checkexp & gt& lt;,=) Experience value; Detect the current character's experience value
checkpoint level & gt& lt;,=) Number of grades; The gender (male, female) of the current character was detected; Detect the gender of the person opposite the current person
checkmemberlevel type (& gt& lt;,=) Number of grades; Check the membership level of the current character
checkmembertype (=, & gt& lt;) Number of types; Check the membership type of the current person
checkrenewlevel (=, & gt& lt;) The times of reincarnation; Detect the number of reincarnation times of current characters
checkbagsize; Check the number of spaces in the current person's backpack
checkdc (=, & gt& lt;) Attack lower limit (=, & gt& lt;) Attack upper limit; Detect the upper and lower limits of the current character's attack power
checkmc (=, & gt& lt;) Magic lower limit (=, & gt& lt;) Magic limit; Detect the upper and lower limits of the current character's magic power
checksc (=, & gt& lt;) Lower limit of Daoism (=, & gt& lt;) The upper limit of Daoism; Detect the upper and lower limits of the current character's Taoist power
checkhp (=, & gt& lt;) HP lower limit (=, & gt& lt;) HP upper limit; Check the upper and lower HP values of the current character
checkmp (=, & gt& lt;) MP lower limit (=, & gt& lt;) MP upper limit; The upper limit and lower limit of MP value of the current character are detected
checkuseitem position; Check whether the current person wears items at the designated position
checkitemtype item location item type; Check whether the items worn by the current person at the specified position are of the specified type
checkgamepoint vitality value; Detect the current character vitality value
islockpassword; Check whether the current character's warehouse is unlocked
passorder rrorcount (=, & gt& lt;) Number of times; Detect the number of errors of current character's password input in warehouse
checkrangemoncount map number x y range (=, & gt& lt;) number; Detect the number of monsters in a coordinate range
the number of checkmomap map numbers; Detect the number of monsters in a given map
the number of checkmon; Detect the number of monsters in the map where the private server character is located
checkskill name (=, & gt& lt;) Cultivation level; Detect the learned skills of current characters
3, map function command
map name; Move the current person to the specified map
movemap map name x y; Move the current person to the specified coordinates of the specified map
timecall time value; Specify the time when the current character arrives and is returned here
breaktimecall; After interrupting the specified character for how long, it will be sent back here
recall mob monster name baby level (up to 7) whether the mutiny time (minutes) automatically changes color (0, 1) fixed color (1-7); Give the current character the designated monster as baby
set autogetexp command time experience safe zone (0 is any place) map number (please do not fill in any map); Specify the number of current character's online bubble experience (get experience directly)
gameGold (=, +, -); Adjust the number of Yuanbao of the current character
setranklevelname title; Adjust the title of the current character
addguildlist guild list.txt; Add the current character guild name to the list
delguildlist guild list.txt; Delete the current character guild name from the list
adlnamelist role name list.txt; Add the current persona name to the list
delnamelist persona name list.txt; Delete the current persona name from the list
clearnamelist list.txt; Clear all information in the list
hairstyle value; Adjust the current character's hairstyle
changename color value; Adjust the current character's name color
changejob occupation name (warrior, wizard, Taoist); Adjust the current character's occupation
changeender value; Adjust the gender of Chongqing characters
addkill skill name skill level; Add the specified skill
delskill skill name to the current character; Delete the current character's specified skill
skilllevel skill name (=, +, -) skill level; Adjust the assigned skill of the current character to the assigned level
delnojobkill; Delete all skills of the current character's non occupation
clearkill; Delete the number of all skills
gamepoint (=, +, -) of the current character; Adjust the number of current character's vitality value
creditpoint (=, +, -); Adjust the current character's reputation points
setmember level (=, +, -) level; Adjust the current character's membership level
setmembertype (=, +, -) level number; Adjust the member type of current character
changelevel (=, +, -); Adjust the current character's level
changepkpoint (=, +, -) points; Adjust the current character's PK points
changeexp (=, +, -) experience value; Adjust the current character's experience value
changemode mode mode type (1 management mode, 2 invincible mode, 3 stealth mode) switch (1 is on, 0 is off); Adjust the current character's game mode
change permission level; Adjust the current person's permission level
killmonexprate effective time; Adjust the current character's killing experience ratio
effective time of powerrate ratio; Adjust the attack power ratio of the current character
kick; Kick the current character off the line
kill value; Kill the current legend, and set the kill type
killslave; Kill all the babies of the current character
clearpassword; Clear the warehouse password of the current character
restrenevel; Reset the number of reincarnation to zero, that is, no reincarnation
delmary; Clear the current character's marriage information
delmaster; Clear the current character's apprenticeship information
renewlevel turn number, turn level 0; Reincarnate the current character, and set the reincarnation times and the level of the character after reincarnation
sendmsg information type code% s information content% d; Send text message
clearmapmon map number; Clear all monsters in the specified map
restbonuspoint; Clear the current character's attribute points
Param1 map; NPC specifies the abscissa of the brush monster map
param2; NPC brush monster X coordinate
param3 ordinate; NPC brush monster y coordinate
Mengen monster name quantity time; NPC brush monster Command + Monster + quantity + time
takew can take away the items on your body)
mapmove mobile map (e.g. mapmove 0 634 612)
map mobile map (no specific coordinates are required. E.g. map 0)
timerecall recall within the specified time (timerecall 5 calls back the original map within 5 minutes)
takecheckitem collect the items checked (without any reference) Number)
monclear clear clear clear map monster (monclear 0 clear all monsters on 0 map)
exchangemap swap map (exchangemap map code)
recallmap summon the person of a map (recallmap map code)
< P > batchmove 3 (these three can be used together to blink map for casinos)3. Define variable
random number; Generally used in # if statement as the probability of triggering # if,
equal variable name value; Check whether the variable is equal to the specified value
range variable name value; Check whether the variable is greater than the specified value
small variable name value; Check whether the variable is less than the specified value
mov variable name value; The variable is assigned to the specified value
Inc variable name value; Give the variable with the specified value
Dec variable name value; Give the variable minus the specified value
sum variable name a variable name B; Add the two variables
movr value; The variable is given a random nonnegative number less than the specified value
& lt$ Str (variable) & gt; Convert the variable to string
set [variable name] value; Define the continuous number of variable
Reset [variable name]; Continuously clear the value of variable
check; Check whether the variable is equal to the specified value
extended data
Legend server script command common errors
1 As one of the errors in one of the following errors, we have made the following mistakes: the
< P >
< p the specific operation of random is to randomly take a value below 3, and then random 3 in the script no longer takes a value. In that way, the probability of goto 1, 2 and 3 is equal, all 1 / 3
this is a mistake in understanding. The actual operation here is as follows: the probability of reaching 1 is 1 / 3, the probability of reaching 2 is 2 / 3 first, and then 1 / 3 is 2 / 9. The probability of reaching 3 is 2 / 3, then 2 / 3, then 1 / 3, and the actual probability is 4 / 27
Error two: error two:
< P >
P > some people think that a hidden value below 3 will be assigned to the first random. Then, the following random is to detect whether its own random value is the same as the hidden value. If it is the same, it will act
this is also a misunderstanding, although
if you want to trade automatically, you may need plug-ins, which can't be realized by script
"35;ACT
GETITEMADDVALUE 0 <$ STR(M10)>< br />GETITEMADDVALUE 0 1 <$ STR(M11)>< br />GETITEMADDVALUE 0 2 <$ STR(M12)>< br />GETITEMADDVALUE 0 3 <$ STR(M13)>< br />GETITEMADDVALUE 0 4 <$ STR(M14)>< br />INC M10 <$ STR(M11)>< br />INC M10 <$ STR(M12)>< br />INC M10 <$ STR(M13)>< br />INC M10 <$ STR(M14)>< br />
35; IF
equal M10 1
; "22914;" 26524;"432622;" 21482;"26377;" 28857;"23601;" 21464;"21539068;" "br />"35;ACT
ChangeItemNameColor 0 215
"IF
; 999999191919191919"23601;"
1. In mapevent.txt, add "3 - 1 - 1 - 1:1
2: staff of judgment: 0 1:@MapEventPickUpItem3 ”And in qfunction-0, add "[@ mapeventpickupitem3]
#act
sendmsg 0" the rod of judgment "has fallen to: [% M]. Coordinates: [% X% y]"_____ There is no prompt for the rulings in the league
2. Mapquest.txt with 3 [603] 0 * ruling staff ZS1 and zs1.txt cannot be realized
script writing only needs to change the skill level to what level. If you don't support strengthening skills. It's just M2 where there are so many levels of characters. I hope you are satisfied.
the correct writing method is: gmexecute starts to ask questions @ guild teleport
guild summon order is a special prop
first of all, you need to do condition detection in qfunction-0 text
for example, check whether there is a guild
then the name and role name of the line meeting are recorded
for example, use mov command to assign to a variable< Then in qfunction-0 text, you need to add a [@ guild transfer]
after players receive the dialog box, they also need to check whether they join the guild and whether they belong to the same guild
finally, use gmexecute to chase the player with variable a.
but I think command or something should be 0328