Jump to content

Aop Question.


Molson™

Recommended Posts

($hget(AopAccounts,$gettok($ial($nick,1).addr,1,64),GlobalQ))

($hget(AopAccounts,$gettok($ial($nick,1).addr,1,64),$chan))

 

What is wrong with these? I add them like .hadd -m AopAccounts $gettok($ial($$1,1).addr,1,64) $chan %x and for global .hadd -m AopAccounts $gettok($ial($$1,1).addr,1,64) GlobalQ %x

Link to comment
Share on other sites

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

Well I had it working before with elseif ($hget(AopAccounts,$gettok($ial($nick,1).addr,1,64)) == $chan) { but ever since I added aop reason it don't work that way. Same thing with Global it was if ($hget(AopAccounts,$gettok($ial($nick,1).addr,1,64)) == GlobalQ) {

Link to comment
Share on other sites

on @*:JOIN:#:{
  var %A = $hget(AopAccounts,$gettok($ial($nick,1).addr,1,32),GlobalQ)
  if ($hget(AopAccounts,$gettok($ial($nick,1).addr,1,32),GlobalQ)) {
    $iif($readini(message.ini,Options,Message) = on,msg #) GlobalQ $nick Logged as  $+($gettok(%A,2-,32))
    .raw mode # +q $nick
  }

 

I have that so far and it don't show the reason. And it still thinks your on GlobalQ when your on LocalQ.

Edited by Molson™
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...