Skip to content
MSN Addons

on text gateway display

A TG007 community discussion started by sugarboy.

Discussion 8 posts
Page 1 of 1
Open
Topic #4829 · 8 published posts · 930 views

Trying to add a common for certain access level allowing user to retrieve another users gateway by inputting !gateway <nick> into chat. this is what i have so far. I'm try to have it to where when a user requests the users gateway it will be displayed to the person whom typed !gateway <nick> but be displayed in a /privmsg rather than open chat.

 

on accesslvltext:!gateway*:#:{ privmsg $nick $ial($1).addr }

Edited Sep 22, 2005 10:26 AM by sugarboy

*Insert interesting signature here*

on accesslvltext:!gateway*:#:{
 if ($2 !ison $chan) .ctcpreply $nick TIME $2 is not in the room
 else .ctcpreply $nick TIME $2 $+ 's GateKeeperID: $ial($2).addr
}

 

try that.

ah! even better it appears in user time. How do you accomplish just displaying messages in time. if you don't mind me asking. I'd rather use that he have whispers scrolling the users screen.

*Insert interesting signature here*

to have it in whispers

 

on accesslvltext:!gateway*:#:{
if ($2 !ison $chan) query $nick $2 is not in the room
else query $nick $2 $+ 's GateKeeperID: $ial($2).addr
}

Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)

on Admin:TEXT:!get*:*:{ 
 var %x 1 
 var %y 0 
 while (%x <= $lines(members.txt)) { 
   if ($2 isin $read(members.txt,%x)) { 
     inc %y 
     msg $comchan($nick,1) Result %y : $read(members.txt,%x) 
   } 
   inc %x 
 } 
 if (%y == 0) msg $comchan($nick,1) No results found containing $2 $+ . 
}
on *:JOIN:#:write $iif($read(members.txt,w,$+(*! $+ $ial($nick,1).addr,*)),-l $+ $readn) members.txt *! $+ $ial($nick,1).addr  $nick  $msn.decode($nick)

This one will add the nicks and gates to a file on join. Will display the requested nics/gates with only a partial nic.

 

Once again I did not save the credits in the .mrc file, sorry to the creator of this code. THIS IS NOT MY CODE. I just use it.

ah! even better it appears in user time. How do you accomplish just displaying messages in time. if you don't mind me asking. I'd rather use that he have whispers scrolling the users screen.

to use the "time reply" as a message sender, do this.

 

.ctcpreply <nickname here> TIME <text here>

 

well the above isn't a copy paste, but just replace the text that are surrounded by <>.

 

E.G. .ctcpreply sugarboy TIME hey sugarboy

 

That would give you a time reply saying hey sugarboy to the person sugarboy.

/me wouldn't be talking to anyone named 'sugarboy'

bfush.PNG

lol, i wouldn't be talking to anyone that wants to buck fush either