mIRC Homepage
Posted By: 1859 Bot - 26/07/06 10:17 AM
I need something if i say !change 87 , that the topic changes in Welcome to .. ... The World is 87 .. , If somebody says !world , that they see 87 ,

Like this :

<1859 > !change 87
<bot> The topic changed .. Welcome to ..... The World is 87 ..

<1859 > !World
<bot> The Current world is 87

Can somebody help me?
Posted By: SCNDRL Re: Bot - 26/07/06 11:43 AM
Code:
on *:TEXT:*:#urchan:{
if ($1 == !change) { set %world $2 | msg $chan The topic changed .. Welcome to ..... The World is $2 .. }
if ($1 == !world) &amp;&amp; (%world) { msg $chan The Current world is %world }
}
Posted By: JackSkeleton Re: Bot - 26/07/06 12:36 PM
on *:TEXT:*:#urchan:{
if $me = bot
{ if ($1 == !change) {
set %world $2
topic $chan %world
msg $chan The topic changed .. Welcome to ..... The World is $2 ..
}
if ($1 == !world) {
msg $chan The Current world is %world
}
}
unset %world
}
Posted By: DaveC Re: Bot - 26/07/06 11:19 PM
Quote:
unset %world


Well thats not gonna help with the !world command now!
Posted By: 1859 Re: Bot - 28/07/06 08:04 PM
What one is good ?:S
© mIRC Discussion Forums