Tuesday 3 April 2012

COMMANDS FOR BOT


               access
  Shows the access level specified nickname.
-100 - complete ignore all messages from from such user at kernel level
-1 - can not do anything
0 - a very limited number of commands and macros, automatically assigned as visitor
10 - standard set of commands and macros, automatically assigned participant
11 - extended set of commands and macros (such as access to !!!), automatically assigned as member
15 (16) - moderator set of commands and macros, automatically assigned as moderator
20 - admin set of commands and macros, automatically assigned as admin
30 - owner set of commands and macros, automatically assigned as owner
40 - not implemented for all commands, allows the user access to some commands and leave th bot from the conferences
100 - bot admin, all commands are allowed
Categories: access, admin, all
Use: access [nick]
Example:
>> access
>> access guy
Necessary level of access: 0

set_access
Set or remove local access for a particular nickname.
Write without level after the nick to remove the access, required the bot rejoin conference. If the third parameter "forever" specified, the change take place forever, otherwise the access dissapear when the bot rejoin the conference
-100 - complete ignore all messages from from such user at kernel level
-1 - can not do anything
0 - a very limited number of commands and macros, automatically assigned as visitor
10 - standard set of commands and macros, automatically assigned participant
11 - extended set of commands and macros (such as access to !!!), automatically assigned as member
15 (16) - moderator set of commands and macros, automatically assigned as moderator
20 - admin set of commands and macros, automatically assigned as admin
30 - owner set of commands and macros, automatically assigned as owner
40 - not implemented for all commands, allows the user access to some commands and leave th bot from the conferences
100 - bot admin, all commands are allowed
Categories: access, admin, all
Use: set_access [ks-]
Example:
>> set_access guy 20
>> set_access guy 30
Necessary level of access: 15

globacc
Set or remove global access for a particular nickname.
Write without level after the nick to remove the access.
Categories: access, superadmin, all
Use: globacc
Example:
>> globacc guy 100
>> globacc guy
Necessary level of access: 100

join
Join conference, if there is a password write that password right after the name of conference.
Categories: superadmin, muc, all
Use: join [pass=12345] [reason]
Example:
>> join room_name@conference.nimbuzz.com
>> join room_name@conference.nimbuzz.com *VICTORY*
>> join room_name@conference.nimbuzz.com pass=12345 *VICTORY*
Necessary level of access: 100

leave
Leave conference.
Categories: admin, muc, all
Use: leave [reason]
Example:
>> leave room_name@conference.nimbuzz.com sleep
>> leave sleep
>> leave
Necessary level of access: 30

common
Includes certain commands for current conf.
Categories: admin, muc, all
Use: common [commadns]
Example:
>> common version
>> common poked disko version ping
Necessary level of access: 20







commoff
Disconnects certain commands for current conf, without parameters shows the list of already power-off commands.
Categories: admin, muc, all
Use: commoff [commands]
Example:
>> commoff
>> commoff version
>> commoff poked disko version ping
Necessary level of access: 20


google
search in google.
Categories: fun, all
Use: google
Example:
>> search something
>> google something
Necessary level of access: 0

help
Show detail information about a certain command.
Categories: help, info, all
Use: help [command]
Example:
>> help
>> help ping
Necessary level of access: 0



horoscope
Shows a horoscope for the indicated sign of horoscope. All of signs are a "horoscope signs".
Categories: info, fun, all
Use: horoscope [sign]
Example:
>> horoscope libra
>> horoscope virgo
Necessary level of access: 0


idle
Shows how long a user is nonactive.
Categories: info, muc, all
Use: idle
Example:
>> idle guy
Necessary level of access: 10


here
Shows the amount of users being in a conference.
Categories: info, muc, all
Use: here
Example:
>> here
Necessary level of access: 10


invite
Invite of the specify user into a conference.
Categories: muc, all
Use: invite [nick/JID] [reason]
Example:
>> invite guy
>> invite guy@nimbuzz.com
>> invite guy@nimbuzz.com important
Necessary level of access: 30


macroadd
Add local macro. Self macro must be celled in `` !!!
Categories: admin, macro, all
Use: macroadd [name] [`macro`]
Example:
>> macroadd glitch `say /me thought, that all of glitch`
Necessary level of access: 20

gmacroadd
Add macro globally. Self macro must be celled in `` !!!
Categories: superadmin, macro, all
Use: gmacroadd [name] [`macro`]
Example:
>> gmacroadd glitch `say /me thought, that all of glitch`
Necessary level of access: 100



macrodel
Delete local macro.
Categories: admin, macro, all
Use: macrodel [name]
Example:
>> macrodel glitch
Necessary level of access: 20

gmacrodel
Delete macro globally.
Categories: superadmin, macro, all
Use: gmacrodel [name]
Example:
>> gmacrodel glitch
Necessary level of access: 100


macroexp
Expand local macro, ie. look at the finished macro raw.
Categories: admin, macro, info, all
Use: macroexp [name] [parameter]
Example:
>> macroexp admin bot
Necessary level of access: 20



macroinfo
Open the local macro, ie. just to look the macro. To see all the macro names insted write some macro "allmac" without quotes.
Categories: admin, macro, info, all
Use: macroinfo [name]
Example:
>> macroinfo glitch
>> macroinfo allmac
Necessary level of access: 20


gmacroinfo
Open the global macro, ie. just to look the macro. To see all the macro names insted write some macro "allmac" without quotes.
Categories: superadmin, macro, info, all
Use: gmacroinfo [name]
Example:
>> gmacroinfo glitch
>> gmacroinfo allmac
Necessary level of access: 100



macrolist
List of macros.
Categories: help, macro, info, all
Use: macrolist
Example:
>> macrolist
Necessary level of access: 10

macroaccess
Change access in certain local macro.
Categories: admin, macro, all
Use: macroaccess [macro] [access]
Example:
>> macroaccess glitch 10
Necessary level of access: 20



gmacroaccess
Change access in certain macro globally.
Categories: superadmin, macro, all
Use: gmacroaccess [macro] [access]
Example:
>> macroaccess admin 20
Necessary level of access: 100

filt
Enable or disable certain filters in a conference.
time is a filter of time
len is a filter of quantitative messages
presence is a filter of presence
like is a filter of identical messages
caps is a filter of сaps (CAPITAL letters)
prsstlen is a filter of long status messages
obscene - filter of censor bahasa Indonesia
fly is a filter of flying (frequent in/out in conference), it has two modes kick or ban, timer 0 to 120 seconds
kicks is autoban after N kicks, a parameter of cnt is an amount of kicks from 1 to 10
idle is a filter of idle that kick kick for silence in conference after N seconds, N = setting time in seconds.
Categories: admin, muc, all
Use: filt [filt] [mode] [status]
Example:
>> filt len 1
>> filt len 0
>> filt fly mode ban
Necessary level of access: 20




     


ping
Ping you or certain nick or server.
Categories: info, muc, all
Use: ping [nick]
Example:
>> ping guy
>> ping nimbuzz.com
Necessary level of access: 0







version
Shows information about a client which utillizes user or server.
Categories: info, muc, all
Use: version [nick\server]
Example:
>> version
>> version guy

Necessary level of access: 0







trans
Translate from one language to another. Via Google Translate engine. Available languages for translation:
af: Afrikaans, ar: Arabic, auto: Determine language, be: Belarusian, bg: Bulgarian, ca: Catalan, cs: Czech, cy: Welsh, da: Danish, de: German, el: Greek, en: english, es: Spanish, et: Estonian, fa: Persian, fi: Finnish, fr: French, ga: Irish, gl: Galician, hi: Hindi, hr: Croatian, hu: Hungarian, id: Indonesian, is: Icelandic, it: Italian, iw: Hebrew, ja: japanese, ko: Korean, lt: Lithuanian, lv: Latvian, mk: Macedonian, ms: Malay, mt: Maltese, nl: Dutch, no: Norwegian, pl: Polish, pt: Portuguese, ro: Romanian, ru: russian, sk: Slovak, sl: Slovenian, sq: Albanian, sr: Serbian, sv: Swedish, sw: Swahili, th: Thai, tl: Filipino, tr: Turkish, uk: Ukrainian, vi: Vietnamese, yi: Yiddish, zh-CN: Chinese

example
>>trans en ru hello   

welcome
greetex owner=hello %NICK% welcome
greetex none=hello %NICK% welcome

Adds greeting for certain a nick or jid. "greet ".
Example:
greet guy=something
greet guy@nimbuzz.com=something

enjoy... ;)

No comments:

Post a Comment