mIRC Home    About    Download    Register    News    Help

Print Thread
#130537 19/09/05 12:31 PM
Joined: Feb 2003
Posts: 143
N
naki Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
i'm trying to make a socket bot and have done well so far but now I am trying to add some user stuff so certain users can only have access to certain functions. my problem is I was trying to make a simple alias to see if the user exist but it isnt working for me it just keeps returning 0.

Code:
alias irc_user_exist { 
  return $var( %ib_con_ [ $+ $1 ] ) 
}
 


here is the script that makes the variable.


Code:
alias irc_user_add { set %ib_con_ $+ [ $1 ] $2 $md5($3) $4 }  


any help would be appriciated.


We don't just write the scripts, we put them to the test! (ScriptBusters)
#130538 19/09/05 12:40 PM
Joined: Feb 2003
Posts: 143
N
naki Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Feb 2003
Posts: 143
oops, sorry I posted this in the wrong forum. my mistake. if somebody can close this you may.


We don't just write the scripts, we put them to the test! (ScriptBusters)

Link Copied to Clipboard