19 May 11, 12:31AM
What other languages do you know?
* Ronald_Reagan guesses and says "Javascript!"
Anyways, look at this. Its just much cleaner (memory wise).
Or you could do this:
Test this, I haven tested it myself actually. Also, I see usage of saycommand "/kickKillerCN ". If you want to execute it, just do kickKillerCN
* Ronald_Reagan guesses and says "Javascript!"
Anyways, look at this. Its just much cleaner (memory wise).
[SELECT ALL] Code:
alias uninitGEMACommands [
delalias kickReason
delalias banReason []
delalias meDeclare []
delalias kickKiller []
delalias kickKillerCN []
delalias banKiller []
delalias banKillerCN []
bind F3 ""
bind F4 ""
bind F7 ""
bind F8 ""
bind F9 [ initGEMACommands ]
echo "Gema Commands uninitialized."
]
Or you could do this:
[SELECT ALL] Code:
alias initGEMACommands [
alias kickReason "No killing in GEMA!"
alias banReason "No killing in GEMA!"
alias meDeclare ""
alias kickKiller [
kick (findcn $arg1) $kickReason
if (strcmp $meDeclare "") [] [ me $meDeclare ]
]
alias kickKillerCN [
kick $arg1 $kickReason
if (strcmp $meDeclare "") [] [ me $meDeclare ]
]
alias banKiller [
ban (findcn $arg1) $banReason
if (strcmp $meDeclare "") [ me $meDeclare ] []
]
alias banKillerCN [
ban $arg1 $banReason
if (strcmp $meDeclare "") [ me $meDeclare ] []
]
bind F3 [if $GEMACommand [ saycommand "/kickKiller " ]]
bind F4 [if $GEMACommand [ saycommand "/banKiller " ]]
bind F7 [if $GEMACommand [ saycommand "/kickKillerCN " ]]
bind F8 [if $GEMACommand [ saycommand "/banKillerCN " ]]
bind F9 [if $GEMACommand [GEMACommand = "0"] [GEMACommand = "1"] ]
]
Test this, I haven tested it myself actually. Also, I see usage of saycommand "/kickKillerCN ". If you want to execute it, just do kickKillerCN