Nos commented on a Page, pokeball script (Basic)  -  Apr 13, 2014

[i]
My version does not use notepad [/i] ^_^

on *:TEXT:*:#:{
  var %pokemon = 1|2|3|4|5|6, %p = $gettok(%pokemon,$rand(1,$numtok(%pokemon,124)),124), %chance = $rand(1,2)
  if ($me == Bot && !pokeball* iswm $strip($1)) {
    if (!%flood) {
      set -zc %flood 30
      .timer 1 1 msg $chan $nick throw a pokeball at %p 
      .timer 1 2 msg $chan the pokeball is glowing
      if (%chance == 1) { .timer 1 4 .msg $chan $nick caught the %p $+ ! }
      if (%chance == 2) { .timer 1 4 .msg $chan the %p escaped! }
    }
    else {
      .notice $nick please wait %flood seconds to use another !pokeball
    }
  }
} 
Vegito  -  Apr 15, 2014

It's beter to use a textfile.

Arigateaux  -  Apr 15, 2014

It's only better when you have a lot of items you want to use. In this case, a large number of Pokemon would be better suited for a textfile.

Vegito  -  Apr 15, 2014

Yea it's likely that he wants more then 6 pkemons

Nos  -  Apr 15, 2014

just add or edit

<pokemon 1>|<pokemon 2>|<pokemon 3>|<pokemon 4>|<pokemon 5>|<pokemon 6>|<pokemon 7>|<pokemon 8> and so on
Vegito  -  Apr 15, 2014

I know that but it's not a nice way of doing it.

Like @Arigateaux said, it's beter if you use textfile if you gonna use large number of pokémons.

Arigateaux  -  Apr 15, 2014

@Nos , imagine doing that with all 719 Pokemon...

Nos  -  Apr 15, 2014

whether all mIRC users know how to write the words on the notepad file and put it where?

Sign in to comment

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.