I have been using this on Phriek chat it works great showing the GateKeeper and the Decoded Nic, Im trying to get it to work in groups but the only part that is not working is its not showing Decoded Nic at all but everything else works
The Niclist part works great also but when i click on nic it dont decode in the decoded nic box but gatekeeper works great
menu menubar,nicklist,channel {
-
ROOM HELP:/dialog -ma nick nick
}
dialog nick {
title "Room Controls"
size -1 -1 182 115
option dbu
list 1, 2 2 92 60, size
text "GateKeeper", 24, 5 89 41 8
edit "", 25, 3 98 122 10, read
edit "", 26, 3 77 93 10, read
text "Decoded Nick", 27, 5 67 39 8
box "ADMIN CONTROLS", 2, 98 0 81 24
button "ADMIN +", 3, 100 9 37 10
button "ADMIN -", 6, 139 9 37 10
box "AUTO HELP", 66, 98 26 81 24
button "ON", 67, 100 34 37 10
button "OFF", 68, 139 34 37 10
}
; AUTO HELP
on *:dialog:nick:sclick:67:{ .enable #autohelp | echo -a AutoHelp On }
on *:dialog:nick:sclick:68:{ .disable #autohelp | echo -a AutoHelp off }
; Admin Commands
on *:dialog:nick:sclick:3:{ .auser admin *! $+ $$ial(%nickz $+ *,1).addr $dc(%nickz) | echo -a %nickz is now added to admin | notice %nickz Please type @com1 for Admin commands | unset %nickz | .timer -m 1 3 refnick }
on *:dialog:nick:sclick:6:{ .ruser admin *! $+ $$ial(%nickz $+ *,1).addr | echo -a %nickz is now removed from admin | notice %nickz You have been Removed from Admin | unset %nickz | .timer -m 1 3 refnick }
on *:dialog:nick:init:*: {
did -r nick 1
refnick
}
on *:dialog:nick:sclick:1:{
set %nickz $did(1).seltext
did -ra nick 26 $dc($did(1).seltext)
did -ra nick 25 $$ial($did(1).seltext,1).addr
}
alias refnick {
unset %nickz
did -r nick 1
did -r nick 26 | did -a nick 26 -=[No Nickname Selected]=-
did -r nick 25 | did -a nick 25 -=[No Gatekeeper Selected]=-
set %nk 1
:nk
if (%nk == $calc($nick($active,0) + 1)) { unset %nk | return }
if (%nk != $calc($nick($active,0) + 1)) { did -a nick 1 $nick($active,%nk) | inc %nk 1 | goto nk | return }
}
Thanks in Advance