Jump to content

!id script


Guest unique

Recommended Posts

I am trying to create an !id command to work in irc for a new server i have set up. (Shows a players ID) but i am having some problems with it. this is the script.:

on *:TEXT:!id*:*: {

/msg #unifi5h.admin /msg #unifi5h.admin <> $mta.getid ($1,*)

}

If anyone could shed some light on this it would be great! :D

Link to comment
I am trying to create an !id command to work in irc for a new server i have set up. (Shows a players ID) but i am having some problems with it. this is the script.:
on *:TEXT:!id*:*: {

/msg #unifi5h.admin /msg #unifi5h.admin <> $mta.getid ($1,*)

}

If anyone could shed some light on this it would be great! :D

for !id bob

try using $mta.getid(1,$2)

the 1 being ur server id if u use another tab on mtama change the number accordingly.

Link to comment

dis will work definatly

  
on *:TEXT:*:#:{ 
  %serverID = 1 
%chan = #yourchannel 
  var %a = $iif($2,$iif($mta.nick(%serverID,$2) != $null,$2,$mta.getid(%serverID,$2))) 
  if ($1 == !getid) { 
    if ($2 == $null) { 
      .notice $nick you have to state a name 
    } 
    else { 
      /msg %chan $$2 $+ 's ID: %a 
    } 
  } 

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...