function aNick (source, commandName, aNickC)local adminrang = getAccountData (source, \"adminrang\")local adminduty = getElementData (source, \"adminduty\")local aNick = getAccountData (source, \"aNick\")if aNickC thenif adminrang <= 1 and adminduty == 0 thenoutputChatBox(\"#00007F[bL] #FFFFFFSajnos, nem vagy adminszolgálatban!\",source,255,255,255,true)elseif adminrang <= 1 and adminduty == 1 thensetAccountData (source, \"aNick\", aNickC)outputChatBox(\"#00007F[bL] #FFFFFFSikeresen beállítotad az admin neved: \"..aNick..\"-ra/re!\",source,255,255,255,true) elseif adminrang == 0 thenoutputChatBox(\"#00007F[bL] #FFFFFFSajnos, nem vagy admin!\",source,255,255,255,true)end endelseoutputChatBox(\"#00007F[bL] #FFFFFFIsmeretlen hiba!\",source,255,255,255,true) end
function aNick (source, commandName, aNickC)local adminrang = getAccountData (source, \"adminrang\")local adminduty = getElementData (source, \"adminduty\")local aNick = getAccountData (source, \"aNick\")if aNickC thenif adminrang <= 1 and adminduty == 0 then outputChatBox(\"#00007F[bL] #FFFFFFSajnos, nem vagy adminszolgálatban!\",source,255,255,255,true)elseif adminrang <= 1 and adminduty == 1 then setAccountData (source, \"aNick\", aNickC) outputChatBox(\"#00007F[bL] #FFFFFFSikeresen beállítotad az admin neved: \"..aNick..\"-ra/re!\",source,255,255,255,true)elseif adminrang == 0 then outputChatBox(\"#00007F[bL] #FFFFFFSajnos, nem vagy admin!\",source,255,255,255,true)end elseoutputChatBox(\"#00007F[bL] #FFFFFFIsmeretlen hiba!\",source,255,255,255,true) endend