It is currently Tue Oct 16, 2018 12:16 am

All times are UTC [ DST ]




 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: [Help] Write in color on channel popup.
PostPosted: Tue May 23, 2006 7:36 am 

Joined: Sat Dec 18, 2004 8:45 am
Posts: 4
hello guys
it wanted that they help me
I want to do script that when somebody says helloo or hiii , bot(mircbot) responds to you

on 1:TEXT:*:#:{
{ if ($1 == helloo) || ($1 == hiii ) || (helloo isin $1-) || (good morning isin $1-) { msg $chan Helo $nick }
}
}

but it wanted that nick leaves in colors, for example

<xmarluix> helloo
<Bot> Helo xmarluix

since it is made to separate the letters of nick and to give color him :-?


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Jul 14, 2006 6:35 pm 

Joined: Mon Jul 10, 2006 4:03 pm
Posts: 14
Location: NYC
Did you try a talker?



_________________
Spektral AKA Forgotten
Offline
 Profile  
 
 Post subject:
PostPosted: Sat Jul 15, 2006 2:07 am 
Forum Moderator
User avatar

Joined: Fri Nov 19, 2004 9:51 pm
Posts: 594
Location: Europe
Hi xmarluix,

Here it goes:

alias randcolors { $iif($isid,return,msg $1) $regsubex($iif($isid,$1-,$2-),/(\w)/g,$(, $!+ $!r(1,13) $!+ \t)) }
on 1:TEXT:*:#:{
  { if ($1 == helloo) || ($1 == hiii ) || (helloo isin $1-) || (good morning isin $1-) { msg $chan Helo $randcolors($nick) }
  }
}


Best Regards,
Mit.



_________________
Dimitar Tnokovski aka Mitko
Image
Offline
 Profile  
 
 Post subject:
PostPosted: Fri Sep 22, 2006 11:08 pm 

Joined: Sat Dec 18, 2004 8:45 am
Posts: 4
hello Mitko,
I do not speak ingles well :(
probe your código randcolors, but it also does not work

thanks to me


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: