NOX-Wizard Logo
gerNOX-Wizard Project Archiv
Downloads
Tutorials
Small Referenz
Name Syntax Parameter Beschreibung Integriert seit
action action(const chr, const action)      
add add( const set, const value ) 2 the object Add object to given set 0.82
addAllOnlinePl addAllOnlinePl( const set ) 1 the set Add to given set all online players 0.82
addCharsNearXY addCharsNearXY( const set, const x, const y, const distance, const excludeOffline=true, const onlyPlayer=false ) 6 only player Add to given set the character near location 0.82
addItem addItem(const socket, const page, const idx, const format[], ...)      
addItemsAtXY addItemsAtXY( const set, const x, const y, const type ) 4 type Add to given set the items at given location 0.82
addItemsInCont addItemsInCont( const set, const item, const includeSubCont, const onlyFirstSubCont ) 4 only first subcontainer Add to given set the item in given container 0.82
addItemsNearXY addItemsNearXY( const set, const x, const y, const distance, const excludeNotMoveable ) 5 exclude not moveable Add to given set the items near given location 0.82
addItemWeared addItemWeared( const set, const chr, const includeLikeHair, const includeProtected, const includeIllegal ) 5 exclude illegar layer Add to given set the items weared by given character 0.82
addLocalIntVar addLocalIntVar(const chr, const var, const value = 0) value: initial value Adds a new integer variable to the character  
addLocalIntVar addLocalIntVar(const item, const var, const value = 0) value: initial value Adds a new integer variable to the item  
addLocalIntVec addLocalIntVec(const chr, const var, const size = 1, const value = 0) value: initial value Adds a new integer variable array to the character  
addLocalStrVar addLocalStrVar(const chr, const var, const value[] = "") value: initial value Adds a new string variable to the character  
addLocalStrVar addLocalStrVar(const item, const var, const value[] = "") value: initial value Adds a new string variable to the item  
addNPC addNPC(const npcnum, const x, const y, const z)      
addOnPlNearChar addOnPlNearChar( const set, const chr, const excludeThis, const distance ) 4 distance Add to given set all online players near given character 0.82
addOnPlNearXY addOnPlNearXY( const set, const x, const y, const distance ) 4 distance Add to given set all online players near location 0.82
addOwnedNpcs addOwnedNpcs( const set, const owner, const includeStabled, const onlyFollowing ) 4 only following Add to given set the owned npc of given character 0.82
addPartyFriend addPartyFriend( const set, const chr, const distance, const excludeThis ) 4 exclude this Add to given set the party friend of given character 0.82
addTimer addTimer(const callback, const interval, const more1 = -1, const more2 = -1) interval: the interval of the timer Adds a new timer  
applyDamage applyDamage(const chr, const damage, const damagetype, const stattobedamaged)      
attackStuff attackStuff(const chr_defender, const socket_attacker)      
bounceToPack bounceToPack(const s, const item)      
broadcast broadcast(const format[], ...) format[]: the message to broadcast Sends a broadcast message  
bypass bypass()   Bypasses default server behaviour  
calcAtt calcAtt(const chr)      
calcDef calcDef(const chr)      
canBroadcast canBroadcast(const chr)       
canGate canGate(const region)      
canMark canMark(const region)      
canMoveHere canMoveHere(const x, const y, const z)      
canRecall canRecall(const region)      
canSeeSerials canSeeSerials(const chr)      
canSnoop canSnoop(const chr)      
cfgServerOption cfgServerOption(const format[], ...) format[]: the CFG command to be executed Performs a CFG command configuring a server.scp entry  
checkDecay checkDecay(const item)      
checkEquipment checkEquipment(const chr)      
checkSkill checkSkill(const chr, const skill, const min=0, const max=1000, const raise=1)      
color color(const item)      
contAddItem contAddItem(const container, const item, const x, const y)      
contCountItems contCountItems(const container, const id, const color = -1)      
contDelAmount contDelAmount(const container, const amount, const id, const color = -1)      
contPileItem contPileItem(const container, const item)      
countBankGold countBankGold(const chr)      
countGold countGold(const chr)      
countItems countItems(const chr, const itemtype, const color = -1)      
countItemsByID countItemsByID(const container, const ScriptID)   return amount of items identified by ScriptID  
countLocalVar countLocalVar(const chr) chr: character serial Count the number of local variables defined for specified character  
countLocalVar countLocalVar(const item) item: item serial Count the number of local variables defined for specified item  
create create(const itemtype)      
create create( )   Open a set 0.82
critical critical(const format[], ...) format[]: the message Prints a message to the critical error log 0.82
ct_castSpell ct_castSpell(const socket)      
ct_setSpellType ct_setSpellType(const socket, const type)      
ct_target ct_target(const socket, a1, a2, a3, a4, const format[], ...)      
c_cast c_cast(const chr_caster, const chr_target, const spell)      
c_castClumsy c_castClumsy(const chr_att, const chr_def, const use_mana=1)      
c_castCurse c_castCurse(const chr_att, const chr_def, const use_mana=1)      
c_castExplosion c_castExplosion(const chr_att, const chr_def, const use_mana=1)      
c_castFeeblem c_castFeeblem(const chr_att, const chr_def, const use_mana=1)      
c_castField c_castField(const chr_caster, const x, const y, const z, const fieldtype)      
c_castFireball c_castFireball(const chr_att, const chr_def, const use_mana=1)      
c_castFlameStr c_castFlameStr(const chr_att, const chr_def, const ignored=1)      
c_castHarm c_castHarm(const chr_att, const chr_def, const use_mana=1)      
c_castLightning c_castLightning(const chr_att, const chr_def, const ignored=1)      
c_castMagicArr c_castMagicArr(const chr_att, const chr_def, const use_mana=1)      
c_castMindBlast c_castMindBlast(const chr_att, const chr_def, const use_mana=1)      
c_castParalyze c_castParalyze(const chr_att, const chr_def, const use_mana=1)      
c_castWeaken c_castWeaken(const chr_att, const chr_def, const use_mana=1)      
c_chkMagicRef c_chkMagicRef(&chr_attacker, &chr_defender)      
c_chkMana c_chkMana(const chr_caster, const spell_number)      
c_chkSpellbook c_chkSpellbook(const itm_spellbook,const circle, const spell)      
delAmountByID delAmountByID(const container, const amount, const ScriptID)   remove from container "amount" number of items, identified by ScriptID  
delete delete( const set ) 1 the set Close a set 0.82
delEventHandler delEventHandler(const chr, const event) event: character event identifier (EVENT_CHR_ON*) Unbinds link between a character event and a small function  
delEventHandler delEventHandler(const item, const event) event: item event identifier (EVENT_ITM_ON*) Unbinds link between small function an item event  
delLocalVar delLocalVar(const chr, const var, const type = 0) type: type of variable (VAR_TYPE_ANY, VAR_TYPE_INTEGER, VAR_TYPE_STRING ) Deletes character variable. When type is not VAR_TYPE_ANY variable is only deleted if of same type as specified.  
delLocalVar delLocalVar(const item, const var, const type = 0) type: type of variable (VAR_TYPE_ANY, VAR_TYPE_INTEGER, VAR_TYPE_STRING ) Deletes item variable. When type is not VAR_TYPE_ANY variable is only deleted if of same type as specified.  
distance distance(const chr1, const chr2)      
distance distance(const x1, const y1, const z1, const x2, const y2, const z2)      
disturbMed disturbMed(const chr)      
doCombatAction doCombatAction(const chr)      
d_addMember d_addMember(const guild, const chr)      
d_exists d_exists( const guild ) 1: the guild check if guild exists 0.82
d_getMaster d_getMaster(const guild) guild: the guild from which you want to get the master Return the guildmaster for a given guild  
d_getMbrByIdx d_getMbrByIdx(const guild, const idx)      
d_getProperty d_getProperty(const guild, const property, const subprop=0, ...)      
d_getRecByIdx d_getRecByIdx( const guild, const idx ) 2: the recruit index Get the recruit by given index 0.82
d_placeStone d_placeStone(const chr, const itm)      
d_resignMember d_resignMember (const guild, const chr) chr the member A member resign from his guild 0.82
d_setProperty d_setProperty(const guild, const property, const subprop=0, ...)      
end end( const set ) 1 the set Check if at end of the given set 0.82
equip equip(const chr, const item)      
error error(const format[], ...) format[]: the message Prints a message to the error log 0.82
file_close file_close( const handle ) handle - file handle obtained from file_open() Closes a file 0.82
file_eof file_eof( const handle ) handle - file handle obtained from file_open() Check for end of file situation 0.82
file_open file_open(const filename[], const openmode[] ) openmode - mode in which to open the file ( conform fopen() syntax ) Opens a file for reading and or writing 0.82
file_read file_read(const handle, line[] ) line - Array in to which line read is stored Read a line from a file 0.82
file_write file_write(const handle, const text[] ) text - string to write to file Write a string to a file 0.82
firstLocalVar firstLocalVar(const chr) chr: character serial
get id of first defined local variable  
firstLocalVar firstLocalVar(const item) item: item serial get id of first defined local variable  
fish fish(const chr)      
Function Function( const functionIndex )   calls a function without parameters  
Function1P Function1P( const functionIndex, const param1 )   calls a function with 1 parameter  
Function2P Function2P( const functionIndex, const param1, const param2 )   calls a function with 2 parameters  
Function3P Function3P( const functionIndex, const param1, const param2, const param3 )   calls a function with 3 parameters  
Function4P Function4P( const functionIndex, const param1, const param2, const param3, const param4 )   calls a function with 4 parameters  
Function5P Function5P( const functionIndex, const param1, const param2, const param3, const param4, const param5 )   calls a function with 5 parameters  
fx_activate fx_activate(const type = 121, const chrsrc, const chrdest, const more, const dur = -1, const callback = -3)      
get get( const set ) 1 the set Get current object of given set 0.82
getBankBox getBankBox(const chr, const bankboxtype)      
getChar getChar( const set ) 1 the set Get current character of given set 0.82
getCharBackPack getCharBackPack(const chr)      
getCharFromSocket getCharFromSocket(const socket) socket: the socket Gets the char currently used by the given socket  
getCombatSkill getCombatSkill(const itm)      
getCreationDay getCreationDay(const chr)      
getCurrentSocket getCurrentSocket();   get current socket 0.10
getCurrentTime getCurrentTime()   Gets the current time  
getEventHandler getEventHandler(const chr, const event, handler[]) event: character event identifier (EVENT_CHR_ON*) Returns name of small function bound to the specified event into handler  
getEventHandler getEventHandler(const chr, const event, handler[]) event: item event identifier (EVENT_ITM_ON*) Returns name of small function bound to the specified event into handler  
getFloorTileID getFloorTileID(const x, const y)   returns ID of the ground tile at coords.  
getFrameStatus getFrameStatus()   Gets the current frame status  
getGuild getGuild( const chr )   Get guild serial for new guild system 0.82.rc3
getGuildFealty getGuildFealty(const chr)      
getGuildNumber getGuildNumber(const chr)      
getGuildTitle getGuildTitle(const chr, title[])      
getGuildType getGuildType(const chr)      
getItem getItem( const set ) 1 the set Get current item of given set 0.82
getItemOnLayer getItemOnLayer(const chr, const layer)      
getLocalIntVar getLocalIntVar(const chr, const var) var: variable identifier Get value of specified integer variable from character  
getLocalIntVar getLocalIntVar(const item, const var) var: variable identifier Get value of specified integer variable from item.  
getLocalIntVec getLocalIntVec(const chr, const var, const index = 0) index: 0 based index into array Get value of specified integer variable from character  
getLocalStrVar getLocalStrVar(const chr, const var, value[]) var: variable identifier Get value of specified string variable from character into value.  
getLocalStrVar getLocalStrVar(const item, const var, value[]) var: variable identifier Get value of specified string variable from item into value.  
getLocalVarErr getLocalVarErr()   Returned value is one of VAR_ERROR_NONE, VAR_ERROR_UNKNOWN_VAR, VAR_ERROR_DUPLICATE_VAR, VAR_ERROR_WRONG_TYPE, VAR_ERROR_ACCESS_DENIED  
getLocalVarErr getLocalVarErr()   Returned value is one of VAR_ERROR_NONE, VAR_ERROR_UNKNOWN_VAR, VAR_ERROR_DUPLICATE_VAR, VAR_ERROR_WRONG_TYPE, VAR_ERROR_ACCESS_DENIED  
getName getName(const region, regionName[])      
getNXWPlatform getNXWPlatform()   Gets the platform which NoX-Wizard is running on  
getNXWVersion getNXWVersion()   Gets the NoX-Wizard engine version  
getNXWVersionType getNXWVersionType()      
getPriv getPriv(const chr)      
getProperty getProperty(const property, const subprop=0, ...) subprop actually unused get any calendar property 0.54b
getProperty getProperty(const chr, const property, const subprop=0, ...)      
getProperty getProperty(const item, const property, const subprop=0, ...)      
getShield getShield(const chr)      
getSocketCount getSocketCount()   Gets the number of sockets connected  
getStringMode getStringMode()   Gets the current string mode used  
getSystemTime getSystemTime();   get the current system time (in s) 0.83
getTarget getTarget(const socket, const callback, const format[], ...) format[]: the message that will be sent with the target Brings up a target, that will invoke the specific callback when the choice is made  
getTileID getTileID(const x, const y, const z)   returns ID of the tile at coords.  
getTileName getTileName(const x, const y, const name[])      
getWeapon getWeapon(const chr)      
getWeather getWeather(const region)      
guildCompare guildCompare(const chr1, const chr2)      
guild_addRecruit guild_addRecruit( const guild, const chr ); 2: the new recruit Add a recuit to a guild 0.82
guild_countMember guild_countMember( const guild ); 1: the guild return the number of members in a guild 0.82
guild_countRecruit guild_countRecruit( const guild ); 1: the guild return the number of recruits in a guild 0.82
guild_refuseRecruit guild_refuseRecruit( const guild, const chr ) 2: the recruit Given recruit are refuse 0.82
harFromSerial harFromSerial(const serial) serial: the serial Gets the char of the given serial  
harTarget harTarget()   Gets the targetted char  
hasGuildToggle hasGuildToggle(const chr)      
helpStuff helpStuff(const chr_target, const socket_helper)      
hide hide(const chr, const hidden)      
isaLocalVar isaLocalVar(const chr, const var, const type = 0) type: type of variable (VAR_TYPE_ANY, VAR_TYPE_INTEGER, VAR_TYPE_STRING ) Returns true when variable exists for character. Can also be used to check wether variable is of a specific type  
isaLocalVar isaLocalVar(const item, const var, const type = 0) type: type of variable (VAR_TYPE_ANY, VAR_TYPE_INTEGER, VAR_TYPE_STRING ) Returns true when variable exists for item. Can also be used to check wether variable is of a specific type  
isCounselor isCounselor(const chr)      
isCriminal isCriminal(const chr)      
isFrozen isFrozen(const chr)      
isGM isGM(const chr)      
isGMorCns isGMorCns(const chr)      
isGrey isGrey(const chr)      
isGuarded isGuarded(const region)      
isGuildTraitor isGuildTraitor(const chr)      
isHuman isHuman(const chr)      
isInnocent isInnocent(const chr)      
isInvul isInvul(const chr)      
isMurderer isMurderer(const chr)      
isOnline isOnline(const chr)      
isTrueGM isTrueGM(const chr)      
isUnderStatic isUnderStatic (const x, const y, const z) z the z first location return true if position is located under a static item 0.82
isValid isValid(const region)      
lineOfSight lineOfSight(const s, const x1, const y1, const z1, const x2, const y2, const z2, const checkfor)      
makeInvul makeInvul(const chr)      
makeVulnerable makeVulnerable(const chr)      
message message(const format[], ...) format[]: the message Prints a message to the message log 0.82
morph morph(const chr, const bodyid, const skincolor, const hairstyle, const haircolor, const beardstyle, const beardcolor, const backup, const format[], ...)      
mountHorse mountHorse(const chr, const horse_chr)      
moveTo moveTo(const chr, const x, const y, const z)      
moveTo moveTo(const item, const x, const y, const z)      
ncprintf ncprintf(const socket,const color,const format[], ...) format[]: the message Prints a message of given color to the given socket  
next next( const set ) 1 the set Move to next item 0.82
nextLocalVar nextLocalVar(const chr, const previous) previous: variable id of previous variable get id of next defined local variable  
nextLocalVar nextLocalVar(const item, const previous) previous: variable id of previous variable get id of next defined local variable  
noMagicDamage noMagicDamage(const region)      
npcAttack npcAttack(const attacker, const target)      
npcRelease npcRelease(const chr)      
nprintf nprintf(const socket, const format[], ...) format[]: the message Prints a message to the given socket  
ntprintf ntprintf(const socket, const format[], ...) format[]: the message Prints a translated message to the given socket  
owns owns(const chr1, const chr2)      
pileItem pileItem(const container, const item)      
poison poison(const chr, const poisontype, const secs = -1)      
prepare prepare(const socket, const pages, const itemperpage)      
rcve_skillsRequest rcve_skillsRequest( const socket )   test if status request from client is for character skills 0.82
rcve_statsRequest rcve_statsRequest (const socket);   test if status request from client is for character stats 0.82
reduceAmount reduceAmount(const item, const amount)      
refresh refresh(const item)      
remove remove(const chr)      
remove remove(const item)      
resurrect resurrect(const chr)      
rewind rewind( const set ) 1 the set
Rewind a set 0.82
send_boltfx send_boltfx(const chr)      
send_confirmAttack send_confirmAttack(const socket, const chr)      
send_movingfx send_movingfx(const chrsrc, const chrdest, const id, const speed = 5, const loop = 0, const explode = 1)      
send_send send_send(const socket, const lenght, const data[])      
send_staticfx send_staticfx(const chr, const effect)      
send_statUpdate send_statUpdate(const chr)      
setCallback setCallback(const socket, const callback)      
setColor setColor(const socket, const color)      
setContSerial setContSerial(const item, const serial)      
setContSerOnly setContSerOnly(const item, const serial)      
setCreationDay setCreationDay(const chr, const day)      
setCriminal setCriminal(const chr)      
setEventHandler setEventHandler(const chr, const event, const evtype, const format[], ...) format: Name of small function to bind to the event Binds a small function to a character event  
setEventHandler setEventHandler(const itm, const event, const evtype, const format[], ...) format: Name of small function to bind to the event Binds small function name to the specified event.  
setGate setGate(const region, const trueOrFalse = 1)      
setGrey setGrey(const chr)      
setGuarded setGuarded(const region, const trueOrFalse = 1)      
setGuild setGuild() 2 guild serial Set the guild the char is a member of 0.82.rc3
setGuildFealty setGuildFealty(const chr, const fealty)      
setGuildNumber setGuildNumber(const chr)      
setGuildTitle setGuildTitle(const chr, const title[])      
setGuildToggle setGuildToggle(const chr, const toggle = 1)      
setGuildTraitor setGuildTraitor(const chr, const traitor = 1)      
setGuildType setGuildType(const chr, const type)      
setInnocent setInnocent(const chr)      
setLocalIntVar setLocalIntVar(const chr, const var, const value = 0) value: new value Set the value of specified integer variable for the character  
setLocalIntVar setLocalIntVar(const item, const var, const value = 0) value: new value Set the value of specified integer variable for the item  
setLocalIntVec setLocalIntVec(const chr, const var, const index = 0, const value = 0) value: new value Set the value of specified integer variable for the character  
setLocalStrVar setLocalStrVar(const chr, const var, const value[] = "") value: new value Set the value of specified string variable for the character  
setLocalStrVar setLocalStrVar(const item, const var, const value[] = "") value: new value Set the value of specified string variable for the item  
setMagicDamage setMagicDamage(const region, const trueOrFalse = 1)      
setMark setMark(const region, const trueOrFalse = 1)      
setMultiSerial setMultiSerial(const chr, const serial)      
setMultiSerial setMultiSerial(const item, const serial)      
setMurderer setMurderer(const chr)      
setOwnSerial setOwnSerial(const chr, const serial)      
setOwnSerial setOwnSerial(const item, const serial)      
setOwnSerOnly setOwnSerOnly(const chr, const serial)      
setOwnSerOnly setOwnSerOnly(const item, const serial)      
setPermaGrey setPermaGrey(const chr)      
setPriv setPriv(const chr, const priv)      
setProperty setProperty(const chr, const property, const subprop=0, ...)      
setProperty setProperty(const item, const property, const subprop=0, ...)      
setRandomName setRandomName(const chr, const namelist[])      
setRecall setRecall(const region, const trueOrFalse = 1)      
setSerial setSerial(const item, const serial)      
setStringMode setStringMode(const mode) mode: the string mode to set Sets the current string mode  
setStyle setStyle(const socket, const style, const color = 0)      
setTitle setTitle(const socket, const format[], ...)      
setWeather setWeather(const region, const weathertype = 0)      
setWindowTitle setWindowTitle(const format[], ...)   Sets the window title  
set_addvalue set_addvalue( const set, const value ); 2 the value Add to given set the value 0.82
show show(const socket)      
showMessage showMessage(const showToWhom, const showWhom, const msg[], const color = 0x0481)      
size size( const set ) 1 the set Get number of element contained in a set 0.82
sizeofLocalVar sizeofLocalVar( const serial, const var, const index = -1 )   Returns length of a local variable, number of elements in a vector, or length of variable in a vector  
skillMakeMenu skillMakeMenu(const chr, const makeMenu, const skill)      
sound sound(const chr, const soundfx)      
sound sound(const item, const soundfx)      
spawnBackpack spawnBackpack(const socket, const itemid)      
spawnBank spawnBank(const socket, const itemid)      
spawnItem spawnItem(const s, const chr, const amount, const format[], const stackable, const cItemId1, const cItemId2, const cColorId1, const cColorId2, const pack, const send)      
spawnIteminBank spawnIteminBank(const chr, const itemid)      
spawnNecroItem spawnNecroItem(const s, const inPack, const format[])      
speech speech(const function, const chr = -1, const npc, const text[], const antispam = 1)      
speech speech(const s, const itm, const text[])      
sprintf sprintf(dest[],const format[], ...) format[]: the string to copy Copies formatted output from format into dest  
stable stable(const chr, const stablemaster) stablemaster the stablemaster Stable an npc  
teleport teleport(const chr)      
temFromSerial temFromSerial(const serial) serial: the serial Gets the item of the given serial  
temFromSerial temFromSerial(const chr) chr: the character Gets the socket of the given char  
temTarget temTarget()   Gets the targetted item  
timer_add timer_add(serial, secs, check = 0, flags = 1, n = -1, more1 = 0, more2 = 0); more2 Add a new timer 0.82
unhide unhide(const chr)      
unmorph unmorph(const chr)      
unmountHorse unmountHorse(const chr)      
unStable unStable(const chr) chr the npc
Unstable an npc  
update update(const chr)      
var_get var_get (const serial, const var, string[]);   New amx variable interface (work in progress so don't touch and don't use) 0.82
warning warning(const format[], ...) format[]: the message Prints a message to the warning log 0.82
weblaunch weblaunch(const socket,const format[], ...) format[]: the URL to be opened by the web client Sends a request to the given socket to launch its web client  
_addButton _addButton( const menu, const x, const y, const up, const down, returnCode, page ) 7 page ( default 1 ) Add a new button at given menu  
_addPage _addPage( const menu, const page ) 2 page number Add a new page at given menu  
_addPageButton _addPageButton( const menu, const x, const y, const gumpUp, const gumpDown, const page ) 6 page Add a page button at given menu  
_addResizeGump _addResizeGump( const menu, const x, const y, const gump, const width, const height ) 6 height Add a resized gump at given menu  
_addText _addText( const menu, const x, const y, const text[], const color ) 5 color Add text at given menu  
_create _create( const id, const x, const y, const moveable, const closeable, const disposeable ) 3 is disposeable Create a new menu  
_delete _delete( const menu ) 1 the menu serial Delete a menu  
_getTItem _getTItem()      
_getTrigType _getTrigType()      
_show _show( const menu, const chr ) 2 the character show a menu  

Powered by GerNOX.