Jump to content

!id script


Guest unique

Recommended Posts

Posted

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

Posted

Actually this is the LUA section.. You might want to post in the Add-ons section, but Im sure a mod can move it for you.

Posted
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.

Posted

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 
    } 
  } 

Posted

yeh lol always forget the last one

(oftopic is it me or is this new forum bugged as hell i have to login 3 times to reply and then i check the box login on every visit i have to login to, it just wont work)

  • Recently Browsing   0 members

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