;--botcentral
alias botcentral { dialog -m botcentral botcentral }
dialog botcentral {
title "Pannello comandi Bot - [/botcentral]"
size -1 -1 635 270
text "Nome bot", 1, 10 12 50 15
edit "", 2, 70 10 100 20, autohs
tab "Admin", 101, 0 35 999 999
tab "AutoMode", 102
tab "Channel", 103
tab "Config", 104
tab "Misc", 105
tab "Network", 106
tab "NickAuth", 107
tab "Owner", 108
tab "User", 109
tab "Utilities", 110
button "", 3, 5 65 100 20, disable
button "", 4, 110 65 100 20, disable
button "", 5, 215 65 100 20, disable
button "", 6, 320 65 100 20, disable
button "", 7, 425 65 100 20, disable
button "", 8, 530 65 100 20, disable
button "", 9, 5 90 100 20, disable
button "", 10, 110 90 100 20, disable
button "", 11, 215 90 100 20, disable
button "", 12, 320 90 100 20, disable
button "", 13, 425 90 100 20, disable
button "", 14, 530 90 100 20, disable
button "", 15, 5 115 100 20, disable
button "", 16, 110 115 100 20, disable
button "", 17, 215 115 100 20, disable
button "", 18, 320 115 100 20, disable
button "", 19, 425 115 100 20, disable
button "", 20, 530 115 100 20, disable
button "", 21, 5 140 100 20, disable
button "", 22, 110 140 100 20, disable
button "", 23, 215 140 100 20, disable
button "", 24, 320 140 100 20, disable
button "", 25, 425 140 100 20, disable
button "", 26, 530 140 100 20, disable
button "", 27, 5 165 100 20, disable
button "", 28, 110 165 100 20, disable
button "", 29, 215 165 100 20, disable
button "", 30, 320 165 100 20, disable
button "", 31, 425 165 100 20, disable
button "", 32, 530 165 100 20, disable
button "", 33, 5 190 100 20, disable
button "", 34, 110 190 100 20, disable
button "", 35, 215 190 100 20, disable
button "", 36, 320 190 100 20, disable
button "", 37, 425 190 100 20, disable
button "", 38, 530 190 100 20, disable
button "", 39, 5 215 100 20, disable
button "", 40, 110 215 100 20, disable
button "", 41, 215 215 100 20, disable
button "", 42, 320 215 100 20, disable
button "", 43, 425 215 100 20, disable
button "", 44, 530 215 100 20, disable
}
on *:dialog:botcentral:*:*: {
if ($devent = init) { botcentral.load admin
}
if ($devent = sclick) {
if ($did = 101) { botcentral.load $did(101).text }
if ($did = 102) { botcentral.load $did(102).text }
if ($did = 103) { botcentral.load $did(103).text }
if ($did = 104) { botcentral.load $did(104).text }
if ($did = 105) { botcentral.load $did(105).text }
if ($did = 106) { botcentral.load $did(106).text }
if ($did = 107) { botcentral.load $did(107).text }
if ($did = 108) { botcentral.load $did(108).text }
if ($did = 109) { botcentral.load $did(109).text }
if ($did = 110) { botcentral.load $did(110).text }
}
if ($devent = mouseZ) {
if ($did($dname,$did).text = acmd) { echo -a (list [--private] [--unloaded] [<plugin>]) -- Lists the commands available in the given plugin. If no plugin is given, lists the public plugins available. If --private is given, lists the private plugins. If --unloaded is given, it will list available plugins that are not loaded. }
}
}
alias botcentral.load {
if ($1 = Admin) {
did -rb botcentral 3-44
did -ea botcentral 3 acmd
did -ea botcentral 4 capability add
did -ea botcentral 5 capability remove
did -ea botcentral 6 channels
did -ea botcentral 7 clearq
did -ea botcentral 8 ignore add
did -ea botcentral 9 ignore list
did -ea botcentral 10 ignore remove
did -ea botcentral 11 join
did -ea botcentral 12 nick
}
if ($1 = Automode) {
did -rb botcentral 3-44
}
if ($1 = channel) {
did -rb botcentral 3-44
did -ea botcentral 3 alert
did -ea botcentral 4 ban add
did -ea botcentral 5 ban hostmask
did -ea botcentral 6 ban list
did -ea botcentral 7 ban remove
did -ea botcentral 8 capability add
did -ea botcentral 9 capability list
did -ea botcentral 10 capability remove
did -ea botcentral 11 capability set
did -ea botcentral 12 capability setdefault
did -ea botcentral 13 capability unset
did -ea botcentral 14 cycle
did -ea botcentral 15 dehalfop
did -ea botcentral 16 deop
did -ea botcentral 17 devoice
did -ea botcentral 18 disable
did -ea botcentral 19 enable
did -ea botcentral 20 halfop
did -ea botcentral 21 iban
did -ea botcentral 22 ignore add
did -ea botcentral 23 ignore list
did -ea botcentral 24 ignore remove
did -ea botcentral 25 invite
did -ea botcentral 26 kban
did -ea botcentral 27 key
did -ea botcentral 28 kick
did -ea botcentral 29 limit
did -ea botcentral 30 listbans
did -ea botcentral 31 lobotomy add
did -ea botcentral 32 lobotomy list
did -ea botcentral 33 lobotomy remove
did -ea botcentral 34 mode
did -ea botcentral 35 moderate
did -ea botcentral 36 nicks
did -ea botcentral 37 op
did -ea botcentral 38 part
did -ea botcentral 39 unban
did -ea botcentral 40 unmoderate
did -ea botcentral 41 voice
}
if ($1 = config) {
did -rb botcentral 3-44
did -ea botcentral 3 channel
did -ea botcentral 4 config
did -ea botcentral 5 default
did -ea botcentral 6 export
did -ea botcentral 7 help
did -ea botcentral 8 list
did -ea botcentral 9 network
did -ea botcentral 10 reload
did -ea botcentral 11 reset channel
did -ea botcentral 12 reset network
did -ea botcentral 13 search
did -ea botcentral 14 search help
did -ea botcentral 15 searchvalues
did -ea botcentral 16 setdefault
}
if ($1 = misc) {
did -rb botcentral 3-44
did -ea botcentral 3 apropos
did -ea botcentral 4 clearmores
did -ea botcentral 5 completenick
did -ea botcentral 6 help
did -ea botcentral 7 last
did -ea botcentral 8 list
did -ea botcentral 9 more
did -ea botcentral 10 noticetell
did -ea botcentral 11 ping
did -ea botcentral 12 source
did -ea botcentral 13 tell
did -ea botcentral 14 version
}
if ($1 = network) {
did -rb botcentral 3-44
did -ea botcentral 3 cmdall
did -ea botcentral 4 command
did -ea botcentral 5 connect
did -ea botcentral 6 disconnect
did -ea botcentral 7 driver
did -ea botcentral 8 latency
did -ea botcentral 9 networks
did -ea botcentral 10 reconnect
did -ea botcentral 11 uptime
did -ea botcentral 12 whois
did -ea botcentral 13 whowas
}
if ($1 = nickauth) {
did -rb botcentral 3-44
did -ea botcentral 3 auth
did -ea botcentral 4 nick add
did -ea botcentral 5 nick list
did -ea botcentral 6 nick remove
}
if ($1 = owner) {
did -rb botcentral 3-44
did -ea botcentral 3 announce
did -ea botcentral 4 defaultcapability
did -ea botcentral 5 defaultplugin
did -ea botcentral 6 disable
did -ea botcentral 7 enable
did -ea botcentral 8 flush
did -ea botcentral 9 ircquote
did -ea botcentral 10 load
did -ea botcentral 11 logmark
did -ea botcentral 12 quit
did -ea botcentral 13 reload
did -ea botcentral 14 reloadlocale
did -ea botcentral 15 rename
did -ea botcentral 16 unload
did -ea botcentral 17 unrename
did -ea botcentral 18 unkeep
}
if ($1 = user) {
did -rb botcentral 3-44
did -ea botcentral 3 capabilities
did -ea botcentral 4 changename
did -ea botcentral 5 hostmask
did -ea botcentral 6 hostmask add
did -ea botcentral 7 hostmask list
did -ea botcentral 8 hostmask remove
did -ea botcentral 9 register
did -ea botcentral 10 set password
did -ea botcentral 11 set secure
did -ea botcentral 12 stats
did -ea botcentral 13 unidentify
did -ea botcentral 14 unregister
did -ea botcentral 15 username
did -ea botcentral 16 whoami
}
if ($1 = utilities) {
did -rb botcentral 3-44
did -ea botcentral 3 apply
did -ea botcentral 4 countargs
did -ea botcentral 5 echo
did -ea botcentral 6 ignore
did -ea botcentral 7 last
did -ea botcentral 8 let
did -ea botcentral 9 sample
did -ea botcentral 10 shuffle
did -ea botcentral 11 sort
did -ea botcentral 12 success
}
}
Torna al NoPaste