Zsadist

Zsadist

Joined:
Aug 19, 2007

Activity Stream

Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
I'm making a small /healthbar alias script with the general basis, I'll prolly post it here once it's done. In the middle of making it right now.
 Respond  
Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
|||||||||| <--- 10 bars, check the hp of said pokemon and simply variable the crap out of it and percentage it, do a wee bit of math and bam, you got yourself a healthbar.
 Respond  
Zsadist liked a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
Oh yeah, decent beta :P
 Respond  
Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
For an example, I used this for an anime wars bot I was making;

on *:text:`Setup:*:{
if ($address($nick,2) isin %admin) {
if ($System(Admin) == $null) { wsys Admin $address($nick,2) | msg $active $nick has been named as Bot Admin. | halt }
if ($system(Directory) != Created) {
mkdir AnimeWars
msg $chan Directory has been created.
wsys Directory Created
}
if ($Setchan == $null) {
wsys Channel $chan
msg $chan Channel has been Registered.
}
if ($readini(System.ini,$network,Setup) == Complete) { msg $chan BotSetup has already been completed. | halt }
else { msg $chan BotSetup is complete. | Writeini System.ini $network Setup Yes | halt }
}
else { halt }
}
 Respond  
Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
Also, what you could do is an admin command like !setup in order to make the channel you are currently setting up as the channel that all this is to be posted. Also, /pokeadmin name would be a bad idea for those cases that you disconnect and someone jumps onto your nick, even if it is registered there is usually a waiting period before auto-nick change. So might be easier to do /pokeadmin $address($me,2) or something.

as for the setup;

on *:text:!setup:#:{
if ($address($nick,2) == %admin) {
if (!%setup) {
set %setup $chan
mkdir Pokemon/ (you can optionally put a channel here if you would like, such as mkdir Pokemon/ $+ $remove($chan,#) and then just have it check for that specific channel if you want other channels or something, can be done with servers as well)
}
else { halt }
}
else { halt }
}

Something like that, be creative. Of course that means you'd have to edit out the respective parts but it'll make it a tad bit easier.
 Respond  
Zsadist commented on a Snippet, Pokemon RPG - Beta 2.3 (Channel Fix)  -  Jun 09, 2011
/mkdir <dirhereplz>
 Respond  
Zsadist commented on a Snippet, Bot Quote Script  -  May 13, 2011
Thanks. I really appreciate it.
 Respond  
Zsadist commented on a Snippet, Bot Quote Script  -  Feb 04, 2011
Why would that be better when it's a ! command? O.o
 Respond  
Zsadist posted a Snippet  -  Feb 02, 2011
Zsadist commented on a Snippet, Alias away  -  Feb 01, 2011
It's just become an instinct to always put a halt per if unless I needed it to -not- have a halt. I've only recently gotten back into mSL, the last thing I ever did was two years ago, and trying to re-study everything.
 Respond  
Zsadist commented on a Snippet, Alias away  -  Feb 01, 2011
Whoops, thought I missed something. I'll get on that.

Also, I hate goto's and won't use them unless absolutely necessary.
 Respond  
Zsadist commented on a Snippet, Alias away  -  Jan 31, 2011
...lol Yes @ napa
 Respond  
Zsadist commented on a Snippet, Alias away  -  Jan 31, 2011
And there you go, tnick and mnick, which btw was very useful. Thanks.
 Respond  
Zsadist commented on a Snippet, Alias away  -  Jan 31, 2011
Well, if you notice that this snippet works just fine even without the !, it does the internal command.
 Respond  
Zsadist commented on a Snippet, Alias away  -  Jan 31, 2011
Also, I can't find anything in the mIRC help file for $tnick or tnick itself, found $mnick though.
 Respond  
Zsadist commented on a Snippet, Alias away  -  Jan 31, 2011
Uh, no you don't. I'm on mIRC 7.14 and it works absolutely fine the way it is. And I'll look into the tnick mnick. You do -not- have to use a ! infront of away. So why don't you go try it and see that it works :)
 Respond  
Zsadist posted a Snippet  -  Jan 31, 2011
Zsadist commented on a Snippet, Bot dictionary  -  Jan 27, 2011
Personally, I would do a more secure method:

%owner $address($nick,2)

if ($address($nick,2) == %owner)
 Respond  
Zsadist commented on a Snippet, Join Clone Scan  -  Jan 14, 2011
Alright, Kenji. Go to irc.lucidchat.net and join #XPeriment - I'll try and manually help you there ~_~
 Respond  
Zsadist commented on a Snippet, Join Clone Scan  -  Jan 14, 2011
^
 Respond  
Zsadist commented on a Snippet, Join Clone Scan  -  Jan 14, 2011
hey can u make when someone join in channel it open a new window to me sir. thnx..


Seems kind of pointless to me.
 Respond  
Zsadist commented on a Snippet, !Quote Script V1.3  -  Jan 14, 2011
Wow, just seen this right now...

elseif ($2) && ($2 isin $read(C:\quotes.txt,$2)) {


First of all, I hope you realize that it won't just be looking specifically for the number at the beginning of the quote; if there is a number in the actual quote itself, then it will get confuzzled and also try and locate the other quotes as well.

So, a solution would be:

elseif ($2) && ($read(C:\quotes.txt, s, $2)) { msg # $read(C:\quotes.txt, s, $2) }


The 's' in there scans the quotes.txt for a line beginning with $2. ~_~ Hope it helped, sorry for the late response.
 Respond  
Zsadist posted a Snippet  -  Jan 13, 2011
Zsadist posted a Snippet  -  Oct 15, 2009
Zsadist commented on a Snippet, Whois Raws  -  Oct 15, 2009
I don't even have to test it to know that it works effeciently. I designed my own whois raw script system as well, and I just have a few more things than that. But it's the same basic thing. IT's good that SOMEONE posted a raw whois snippet on here that uses just about all the raws required for a whois. I remember looking for one when I was younger, and there was just basic stuff. Good job.
 Respond  
Zsadist posted an Image  -  Jul 25, 2008
Zsadist commented on a Snippet, Ciddeon's Barrier  -  Dec 18, 2007
btw to make it so you don\'t flood out

on *:action:*<action here>*<nick>*:#: {
inc -u10 %protect
if (%protect => 3) {
describe $chan <action goes here>
}
else { halt }
}
 Respond  
Zsadist commented on a Snippet, Ciddeon's Barrier  -  Dec 18, 2007
Rebellious is intense. Anyways, Arrogance and ignorance has nothing to do with /\'s I have to use /\'s in my script around msg\'s because of my theme script and so on input It has to check if it\'s / first and then an object. So are you calling my genius arrogant?
 Respond  
Zsadist commented on a Snippet, Simple Join Message  -  Dec 18, 2007
Um now you need to take the very last one out. That is what I meant by move it
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.