Search results

Jump to navigation Jump to search
  • ...and makes it connect to a server and join a channel once it has connected. It also includes an IRC command '!setquitmessage <name>' which can be used to addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), resourceStart )
    1 KB (182 words) - 09:37, 30 July 2009
  • Returns a string with the resource name in it, or ''false'' if the resource does not exist. addEventHandler("onResourceStart", getRootElement(),
    964 bytes (121 words) - 22:07, 10 February 2024
  • ...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
  • ...integer being the moon size that is currently set, depending on which side it is used. addEventHandler( "onResourceStart", resourceRoot, handleResourceStart )</syntaxhighlight>
    923 bytes (112 words) - 17:07, 20 May 2020
  • 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
  • This example makes any weather very clear when the resource that contains it starts. addEventHandler("onResourceStart", resourceRoot, makeWeatherClear)
    982 bytes (127 words) - 10:16, 18 May 2014
  • *'''quitMessage:''' A quit message to be displayed when quitting. By default it uses the quit message set by {{ml_birc|ircSetQuitMessage}}. This example creates an ircbot called ''DummyBot'' and makes it connect to irc.gtanet.com server on resource start. When the resource stops
    1 KB (148 words) - 18:23, 29 July 2009
  • ...'true'' if the player was successfully logged out, ''false'' or ''nil'' if it failed for some reason, ie. the player was never logged in. -- Trigger it when the resource (re)starts
    1 KB (174 words) - 15:06, 12 April 2021
  • *'''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
  • addEventHandler ( "onResourceStart", resourceRoot, onThisResourceStart ) -- by using root, it will work for any vehicle (even if it wasn't created via this resource)
    1 KB (180 words) - 17:17, 21 November 2023
  • Returns ''true'' if the garage is open, ''false'' if it is closed or an invalid garage ID was given. ...s a garage door when a player enters a collision shape near it, and closes it when they leave:
    2 KB (227 words) - 16:45, 11 February 2015
  • ...letion, the ircbot pointer will nolonger be valid. If ircbot is connected, it will be disconnected from the server. addEventHandler ( "onResourceStart", getResourceRootElement (), resourceStart )
    1,011 bytes (115 words) - 16:46, 11 February 2015
  • ...te|The file functions should not be used to implement configuration files. It is encouraged to use the XML functions for this instead.}} * '''overwrite''': If set to true it will overwrite a file that already exists at copyToFilePath.
    2 KB (300 words) - 17:35, 20 December 2023
  • MP3 و WAV و OGG و RIFF و MOD و XM و IT و S3M :الصيغات المدعومة هي التالي :t'''ملاحظة function onResourceStart()
    2 KB (148 words) - 22:10, 18 August 2021
  • ...pearing not to load them at all. Refer to the second example on that page, it's a client-side function and cannot be used next to assignLOD.}} This example shows how to correctly call the function by embedding it into the target element's createObject (for map models).
    2 KB (225 words) - 19:07, 27 September 2023
  • ...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 example creates an ircbot called ''DummyBot'' and stores it to variable theBot on resource start. addEventHandler ( "onResourceStart", getResourceRootElement (), resourceStart )
    982 bytes (128 words) - 16:46, 11 February 2015
  • ...tive. Explain what cases will return false. If you're unsure, add a tag to it so we can check --> ...ACL, ''false'' or ''nil'' if it could not be removed for some reason, ie. it didn't exist in the ACL.
    2 KB (244 words) - 08:37, 5 February 2021
  • This function is used to unregister an {{ml_birc|ircbot}} for a resource. It is the opposite function for {{ml_birc|ircRegister}}. ...ircbot called ''DummyBot'' on when resource '''ircecho''' starts and makes it unable to call the callback functions inside the resource.
    2 KB (187 words) - 16:45, 11 February 2015
View ( | ) (20 | 50 | 100 | 250 | 500)