Top

Comments

  (8)  RSS
Kimahri's
mountaindew
Comments: 1,455
 
mIRC Snippet:  Bot Commands
Posted on Nov 12, 2007 8:16 pm
anti, that code u put is pointless

1) why would u set urself as %owner, when u can just check $me
2) if u do set urself as owner, u cant trigger ur own on text's
3) u put $owner, not %owner
4) u forgot the msg $chan in the You dont have...
mountaindew
Comments: 1,455
 
mIRC Snippet:  Bot Commands
Posted on Nov 12, 2007 8:14 pm
great job for ur first script, but do
Code:

on @*:text:*-v*:#:{

(checks if ur op)

also, rather than if ($nick != %owner), u can do else msg $chan blah blah blah

but the script is fine as it is, and its ur first script, so keep up the good work :)
Anti
Comments: 315
 
mIRC Snippet:  Bot Commands
Posted on Nov 12, 2007 10:36 am
Okay where is this %owner it wont work and mr_e dont make it to hard just like..
Code:
on *:START: { set $me $owner }
on ^*:TEXT:*+v*:#: { if $nick == %owner } goto ownerV
elseif {
You dont have Proper Access :P
:ownerV
.mode $chan +v $2-
}
Mr_E
Comments: 12
 
mIRC Snippet:  Bot Commands
Posted on Nov 11, 2007 12:50 pm
Another idea would be just set yourself as bot owner under users and use , for example, on owner:text:!+v*:#:{ /mode # +v $2 }. Though as TopNut said this is merely a suggestion, everyone has their own way of scripting and kudos on your first script, you will get better as time progresses. Keep it up!
Kimahri
Comments: 5
 
mIRC Snippet:  Bot Commands
Posted on Nov 11, 2007 9:29 am
Thanks. :]
TropNul
Comments: 25
 
mIRC Snippet:  Bot Commands
Posted on Nov 11, 2007 4:54 am
This code can be optimized greatly. But as it is your first code, I won't tell you that it's badly coded. The note would then be 'Can Improve'.

Here is another method of doing it:

On $@*:Text:/^(([+-][vhoaq])\s(\S{2,}))/S:*:{
If ($nick == %owner) { MODE # $regml(2) $regml(3) }
Else { Notice $nick You can't tell me what to do, Fool. }
}
Xemnas
Comments: 44
 
mIRC Snippet:  Bot Commands
Posted on Nov 11, 2007 12:28 am
Fail fail fail Dammit Callum. >:\
Kimahri
Comments: 5
 
mIRC Snippet:  Bot Commands
Posted on Nov 10, 2007 11:19 pm
Hope ya like it :]
Bottom