Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/28/2019 in all areas

  1. danger

    Broken Remotes.mrc

    Bans, Hosts, Owners, Grants & Invites Access All Require $ial($nick).user to work correctly too many wildcard entries such as $address($nick,1) stop access being able to add and spams a "too many wild card entries" message whenever access is attempted. To fix your connection so $ial($nick).user is correct do the following: (1.) Find server sockread within your scripts connection file. * Will be be something along the lines of (Socket name "server" could be just about anything): on *:SOCKREAD:server: { (2.) Find line in the sockread that says tokenize 32 %something ("%something" could be anything just look for the "tokenize 32" it will be near the top of the sockread. (3.) Below the tokenize 32 put the following code: if ($istok(PRIVMSG WHISPER NOTICE JOIN PART QUIT MODE KICK INVITE KNOCK 822 821,$2,32)) && ($numtok($1,33) > 1) { var %changevar, %l %changevar = $+($gettok($1,1,33),!,$gettok($gettok($1,2,33),$numtok($gettok($1,2,33),46),46)) $2- tokenize 32 %changevar } Change the varible name %changevar to the varible name used in your connections "tokenize 32" you dont need to include the local var declaration "var %changevar, %l" if changing it to your connections sockread varible. You can now use $ial($nick).user for access and whatever in script it will always be the same. For Your Personal Access Entries Use: $ial($me).user * Raw Connection: To get users correct user IAL for access purposes, You need to use: $gettok($ial($nick).user,$numtok($ial($nick).user,46),46) within the your code. if you wish to turn it into an alias use: alias ial.user return $gettok($ial($1).user,$numtok($ial($1).user,46),46) then in code use: $ial.user($nick) for remotes or $ial.user($$1) for poppups
    1 point
×
×
  • Create New...