Ares
New Member
"War does not determine who is right - only who is left."
Posts: 448
|
Post by Ares on Aug 15, 2003 5:58:50 GMT -5
Yo thias is my first control panel and i have a problem with the click command here it is
alias control { dialog -m control control } dialog control { title "Conrtol Panel" size -1 -1 128 192 option dbu button "On", 1, 8 24 21 12 button "Off", 2, 32 24 21 12 text "Gast kicker", 3, 56 24 49 8, nowrap button "On", 4, 8 40 21 12 button "Off", 5, 32 40 21 12 text "Revenge kick", 6, 56 40 49 8 button "On", 7, 8 56 21 12 button "Off", 8, 32 56 21 12 text "Deowner", 9, 56 56 49 8 button "On", 10, 8 72 21 12 button "On", 11, 8 88 21 12 button "On", 12, 8 104 21 12 button "Off", 13, 32 72 21 12 button "Off", 14, 32 88 21 12 button "Off", 15, 32 104 21 12 text "Whisper kick", 16, 56 72 49 8 text "URL kick", 17, 56 88 49 8 text "Porn kicker", 18, 56 104 49 8 button "On", 19, 8 120 21 12 button "Off", 20, 32 120 21 12 button "On", 21, 8 136 21 12 button "On", 22, 8 152 21 12 button "Off", 23, 32 136 21 12 button "Off", 24, 32 152 21 12 text "Topic lock", 25, 56 120 49 8 text "Take protection", 26, 56 136 49 8 text "Null protection", 27, 56 152 49 8 icon 28, 0 0 127 15, D:\Stradale 1.01\Control Panel\vlag.jpg, 1 button "--==[ Ok ]==--", 29, 8 176 109 12 }
on *:dialog:control:1:click:{ /enable #Guest | /msg # --=={ Gast Protection Activated. }==-- | set %gast On }
what did i do wrong?
|
|
Fisher
xTeam
If a Stamped Ever Happens to Run at You, Never Stop and Shout Jumangi, it Doesn't Work!!!!
Posts: 3,187
|
Post by Fisher on Aug 15, 2003 13:50:19 GMT -5
you had the click command set wrong, try this, i think it should work...btw i took out the icon thing, it wouldnt load on my script with the icon, you will have to re-add it:p lol
alias control { dialog -m control control }
dialog control { title "Conrtol Panel" size -1 -1 128 192 option dbu button "On", 1, 8 24 21 12 button "Off", 2, 32 24 21 12 text "Gast kicker", 3, 56 24 49 8, nowrap button "On", 4, 8 40 21 12 button "Off", 5, 32 40 21 12 text "Revenge kick", 6, 56 40 49 8 button "On", 7, 8 56 21 12 button "Off", 8, 32 56 21 12 text "Deowner", 9, 56 56 49 8 button "On", 10, 8 72 21 12 button "On", 11, 8 88 21 12 button "On", 12, 8 104 21 12 button "Off", 13, 32 72 21 12 button "Off", 14, 32 88 21 12 button "Off", 15, 32 104 21 12 text "Whisper kick", 16, 56 72 49 8 text "URL kick", 17, 56 88 49 8 text "Porn kicker", 18, 56 104 49 8 button "On", 19, 8 120 21 12 button "Off", 20, 32 120 21 12 button "On", 21, 8 136 21 12 button "On", 22, 8 152 21 12 button "Off", 23, 32 136 21 12 button "Off", 24, 32 152 21 12 text "Topic lock", 25, 56 120 49 8 text "Take protection", 26, 56 136 49 8 text "Null protection", 27, 56 152 49 8 button "--==[ Ok ]==--", 29, 8 176 109 12 }
on *:dialog:control:sclick:1: { access $chan delete deny *>* | /privmsg # --=={ Gast Protection Activated. }==-- }
btw, this isnt really a control panel, its more of a master dialog kind of thing. a control panel would be like a Windows > My Documants kind of window, but call it whatever, whatever floats your boat
|
|
Ares
New Member
"War does not determine who is right - only who is left."
Posts: 448
|
Post by Ares on Aug 15, 2003 13:53:18 GMT -5
Ow I already found the solution didn't know this was still open sorry
|
|