Search results

Jump to navigation Jump to search
  • ...asa.com/mta/resources.php", handleVersionCheck, "version", getResourceName(getThisResource()) ) local thisVer = getResourceInfo(getThisResource(), "version")
    4 KB (489 words) - 09:25, 23 June 2016
  • ...es a little advert field on the bottom right corner of the screen and sets it to read only. if advert then -- if it was successfully created
    1 KB (176 words) - 20:57, 7 November 2018
  • ...nnel. The specified {{ml_birc|ircbot}} has to be in that channel and often it needs to have suitable privileges. ...urn ''true'' if the channel topic was successfully changed or ''false'' if it wasn't changed. You can check if the channel topic was changed by using cal
    2 KB (222 words) - 19:43, 14 August 2009
  • ...r ''false'' if the bot's name wasn't changed. You can check if the bot had it's name changed by using callback {{ml_birc|event_ircOnNickChange}}. ...and makes it connect to a server and join a channel once it has connected. It also includes an IRC command '!setname <name>' which can be used to change
    2 KB (211 words) - 09:34, 30 July 2009
  • If invalid arguments were passed, it returns ''false''. This example creates an ircbot called ''DummyBot'' and makes it connect to a server. During the connection progress bot's current states ar
    1 KB (146 words) - 09:24, 30 July 2009
  • *'''text:''' The wanted [[string]] which is going to be stripped out it's text features. ...resenting the strip options. It is formed from single letters, each having it's own role in the final result.
    2 KB (229 words) - 09:05, 30 July 2009
  • ...not return ''true'' if a channel mode was successfully set or ''false'' if it wasn't set. You can check if the channel mode was set by using callback {{m ...rcbot called ''DummyBot'' makes it connect to a server and join a channel. It also includes an IRC command '!limitusers' which can used to change the cha
    2 KB (271 words) - 19:44, 14 August 2009
  • This function is used to unregister an {{ml_birc|ircbot}} for a resource. It is the opposite function for {{ml_birc|ircRegister}}. bool ircUnregister ( ircbot theBot, [ string resourceName = getResourceName ( getThisResource() ) ] )
    2 KB (187 words) - 16:45, 11 February 2015
  • It it succeeds returns true, in other case returns false if (res == getThisResource()) then
    2 KB (193 words) - 16:43, 11 February 2015
  • Returns the host of specified user if it could be retrieved, or ''false'' if it failed or invalid arguments were passed. ...rcbot called ''DummyBot'' makes it connect to a server and join a channel. It also includes an IRC command '!ban' which can be used to ban users (unable
    2 KB (258 words) - 14:47, 15 August 2009
  • ...es it connect to a server and join a channel called ''#testchannel'' after it has connected. addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), resourceStart )
    1 KB (195 words) - 18:18, 13 August 2009
  • ...es not return ''true'' if the user was successfully kicked or ''false'' if it failed. You can check if the user was kicked by using callback {{ml_birc|ev ...cbot called ''DummyBot'', makes it connect to a server and join a channel. It also includes an IRC command '!kick' which can be used to kick users from t
    2 KB (250 words) - 16:26, 15 August 2009
  • ...rns a table containing the names of the functions that a resource exports. It will return the exports of the current resource if there is no argument pas table getResourceExportedFunctions ( [ resource theResource = getThisResource( ) ] )
    1 KB (135 words) - 13:45, 10 August 2021
  • ...to this event matches your resource (compare with the value returned by [[getThisResource]] before doing anything. Alternatively you can attach the event to resource
    1 KB (174 words) - 14:02, 2 June 2021
  • ...rcbot called ''DummyBot'' makes it connect to a server and join a channel. It also includes an IRC command '!finduser' which can be used to check if a sp addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), resourceStart )
    2 KB (224 words) - 14:55, 15 August 2009
  • -- getResourceRootElement(getThisResource()) at the bottom means it will only create the gui on this resource start addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), setupWeaponSelection )
    5 KB (309 words) - 11:06, 7 February 2021
  • ...used in HTML pages hosted on the MTA server as part of a resource. To use it, place the following in the ''<head>'' section of your page. <* = call(getResourceFromName("ajax"),"start", getResourceName(getThisResource()) ) *>
    2 KB (265 words) - 20:25, 23 September 2016
  • *'''key''': A string of the key (or it is also called ''property'') you want to get. ..., use string "'''global'''". Leave this to ''nil'' to use '''resource'''([[getThisResource]]). [Note: When resource stops, the style will also be unloaded]
    1 KB (151 words) - 08:02, 23 May 2021
  • Returns a [[float]] size of the resource counting the meta. Otherwise it returns ''false''. local size = getResourceSize(getThisResource())
    4 KB (436 words) - 18:27, 14 November 2021
  • ...es not return ''true'' if the user was successfully banned or ''false'' if it failed. You can check if the user was kicked by using callback {{ml_birc|ev ...cbot called ''DummyBot'', makes it connect to a server and join a channel. It also includes an IRC command '!ban' which can be used to ban users from the
    2 KB (289 words) - 16:23, 15 August 2009
View ( | ) (20 | 50 | 100 | 250 | 500)