Jump to content

JB_frozen

Members
  • Posts

    53
  • Joined

  • Last visited

Details

  • Gang
    WCFR
  • Location
    LWD
  • Occupation
    ? location / occupation / terapation xD
  • Interests
    :O scripting and scripting and have an MTA server with nick a.k.a stylo me scripts he asks xD and sometime's me asks and mta

JB_frozen's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. JB_frozen

    !warn script

    here is a simple warn script Designed For GUS alias warnings.add !writeini -n " $+ $scriptdir $+ warns.ini" warnings $1 $calc($readini($scriptdir $+ warns.ini,warnings,$mta.nick($1,%a)) + 1) on *:SIGNAL:mta.command:{ var %a = $iif((!$4),$2,$iif(($warn.getid($1,$4) == $null),$2,$v1)),%race = $replace($mta.race($1),$chr(32),$chr(45)) if ($3 == !warn) { if ($gus.level($1,$2) >= 10) { if ($4 == $null) { /mta.pm $1 $2 error. you have to fill in a reason and/or a name } /mta.text $1 $mta.nick($1,$2) has given $mta.nick($1,%a) A warning (Reason: $5- $+ ) !writeini -n " $+ $scriptdir $+ warns.ini" warned $mta.nick($1,%a) 1 !writeini -n " $+ $scriptdir $+ warns.ini" Reason $mta.nick($1,%a) $5- warnings.add $mta.nick($1,%a) } else /mta.pm $1 $2 sorry you are not admin lvl 10 } elseif ($3 == !playerinfo) { if ($gus.level($1,$2) >= 7) { if ($4 == $null) { /mta.pm $1 $2 sorry you havent state the name please retry } /mta.pm $1 $2 $mta.nick($1,%a) has been warned $readini($scriptdir $+ warns.ini,warnings,$mta.nick($1,%a) Times Reason: $readini($scriptdir $+ warns.ini,reason,$mta.nick($1,%a) } else /mta.pm $1 $2 sorry you are not admin lvl 7 } } on *:SiGnal:Mta.join:{ if ($readini($scriptdir $+ warns.ini,warnings,$mta.nick($1,%a)) >= 3) { /msg #unifi5h Warning $mta.nick($1,$2) has more than 3 Warnings! Last reason whas: $readini($scriptdir $+ warns.ini,reason,mta.nick($1,$2)) } } alias warn.getid { var %a = 0 while (%a < %loop) { if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a !inc %a } } on *:TEXT:*:#:{ if ($1 == !playerinfo) { if ($nick Isop $chan) { if ($2 == $null) { .notice $nick sorry you havent state the name, please retry } .notice $nick $$2- has been warned $readini($scriptdir $+ warns.ini,warnings,$$2-) Times Reason: $readini($scriptdir $+ warns.ini,reason,$$2-) } else .notice $nick sorry you are not admin } } Commands: !warn !unwarn !playerinfo (ingame) !playerinfo (IRC)
  2. JB_frozen

    !pm

    here is a script to PM users from IRC to Ingame on *:TEXT:*:#:{ if ($1 == !pm) { if ($2 == $null) { .notice $nick $2- isnt ingame or its not a full name please state a full name } else { mta.pm 1 $$2 $nick $+ @ IRC: $3- msg $chan Pm sent! } } }
  3. well accualy this one is for race but the main things are in it alias cash.add !writeini -n " $+ $scriptdir $+ cash.ini" Money $1 $calc($iif($readini($scriptdir $+ cash.ini,Money,$mta.nick($1,$2),$1) == $null,5,$vl) + $2) alias cash.sub !writeini -n " $+ $scriptdir $+ cash.ini" Money $1 $calc($iif($readini($scriptdir $+ cash.ini,Money,$mta.nick($1,$2),$1) == $null,5,$v1) - $2) on *:SIGNAL:mta.command:{ if ($3 == !money) /mta.text $1 $mta.nick($1,$2) your money is: $ $+ $readini($scriptdir $+ cash.ini,Money,$mta.nick($1,$2)) } on *:SIGNAL:mta.Finish:{ /mta.text $1 $mta.nick($1,$2) has won and receive $200 cash.add $mta.nick($1,$2) 200 }
  4. I cant make it work lol how do i need to use it? just put the IPL in the same folder as the .map file is and then put the executer in there to? couse if i run the executer Nothing happens. (talking bout Map2ipl)
  5. browse forum you will find everything what you need
  6. @ toady no i dindt i had the Old one and didnt saw you reupdated but the old one didnt works so well so i edited it till it worked and hardi asked me for a script that echo's ingame chat and that he could use the commands from IRC and that only members could use it so i maded it this way
  7. and the other tinhg you asked for on *:START:{ set %echoserverid 1 set %echochan #hardis_bot } on *:SIGNAL:mta.join:{ if ($1 == %echoserverid) /msg #hardis_bot [Join] $mta.nick($1,$2) has joined the game. } on *:SIGNAL:mta.part:{ if ($1 == %echoserverid) /msg #hardis_bot [Disconnect] $mta.nick($1,$2) has left the game. } on *:SIGNAL:Mta.ban:{ if ($1 == %echoserverid) /msg #hardis_bot [ban] $mta.nick($1,$2) Banned by remote admin } on *:SIGNAL:mta.Freeze:{ if ($1 == %echoserverid) /msg #hardis_bot [freeze] $mta.nick($1,$2) Frozen by remote admin } on *:SIGNAL:mta.kick:{ if ($1 == %echoserverid) /msg #hardis_bot [Kick] $mta.nick($1,$2) kicked by remote admin } on *:SIGNAL:Mta.mute:{ if ($1 == %echoserverid) /msg #hardis_bot [mute] $mta.nick($1,$2) succesfull Muted by remote admin } on *:signal:mta.command:{ if ($1 == %echoserverid) /msg #hardis_bot [command $mta.nick($1,$2) $+ : $3- } and the commands on *:signal:mta.command:{ var %a = $iif($2,$iif($mta.nick(%serverID,$2) != $null,$2,$mta.getid(%serverID,$2))) if ($1 == !mute) { if (neo_ isin $nick) { /mta.mute 1 %a } else notmember } if ($1 == !unmute) { if (neo_ isin $nick) { /mta.unmute 1 %a } else notmember } if ($1 == !freeze) { if (neo_ isin $nick) { /mta.freeze 1 %a } else notmember } if ($1 == !unfreeze) { if (neo_ isin $nick) { /mta.unfreeze 1 %a } else notmember } if ($1 == !ban) { if (neo_ isin $nick) { /mta.ban 1 %a } else notmember } if ($1 == !unban) { if (neo_ isin $nick) { /mta.unban 1 %a } else notmember } if ($1 == !kick) { if (neo_ isin $nick) { /mta.kick 1 %a } else notmember } } alias notmember /msg #hardis_bot sorry you arent member $nick
  8. hey hardi its me Rob_nl well i will make your postbox on *:signal:mta.command:{ if ($3 == !comment) { if ($4 == $null) { mta.text $1 sorry you havent fill in a reason } else { !write " $+ $scriptdir $+ comments.txt" $4- mta.pm $1 $2 The comment $4- has been added } } if ($3 == !read) { var %x = 1, %z = $lines($scriptdir $+ comments.txt) while %x <= %z { mta.pm $1 $2 $read($scriptdir $+ comments.txt,n,%x) inc %x } } } goodluck
  9. lol even the simplyest script you dont know well on *:signal:mta.command:{ if ($3 == !lol) mta.text $1 $iif((!$4),$mta.nick($1,$2) is laughing out loud,$mta.nick($1,$2) is laughing @ $mta.nick($1,%a)) elseif ($3 == !bye) mta.text $1 $iif((!$4),$mta.nick($1,$2) has to go. bye all gtg cya next time,bye bye $mta.nick($1,%a) cya next time) elseif ($3 == !n1) mta.text $1 $iif((!$4),$mta.nick($1,$2) says nice 1,$mta.nick($1,$2) says nice 1 $mta.nick($1,%a)) elseif ($3 == !np) mta.text $1 $iif((!$4),$mta.nick($1,$2) says no problem,$mta.nick($1,$2) says no problem $mta.nick($1,%a)) elseif ($3 == !srry) mta.text $1 $iif((!$4),$mta.nick($1,$2) says sorry my fault,$mta.nick($1,$2) says sorry to $mta.nick($1,%a)) elseif ($3 == !gj) mta.text $1 $iif((!$4),$mta.nick($1,$2) says good job,$mta.nick($1,$2) says good job $mta.nick($1,%a)) elseif ($3 == !hump) mta.text $1 $iif((!$4),$mta.nick($1,$2) humps himself,$mta.nick($1,$2) humps $mta.nick($1,%a) out loud) elseif ($3 == !scream) mta.text $1 $iif((!$4),$mta.nick($1,$2) is shouting,$mta.nick($1,$2) is shouting to $mta.nick($1,%a)) elseif ($3 == !thx) mta.text $1 $iif((!$4),$mta.nick($1,$2) says thx,$mta.nick($1,$2) says thx to $mta.nick($1,%a)) elseif ($3 == !hi) mta.text $1 $iif((!$4),$mta.nick($1,$2) says Hello all to every one,$mta.nick($1,$2) says hello and welcome $mta.nick($1,%a)) elseif ($3 == !ram) mta.text $1 $iif((!$4),$mta.nick($1,$2) knocks every1 down,$mta.nick($1,$2) is ramming into $mta.nick($1,%a)) elseif ($3 == !caps) mta.text $1 Please don't use caps! Thank you elseif ($3 == !swear) mta.text $1 Please don't swear! Thank you } for example hope it will help you out
  10. JB_frozen

    mappoints

    you forgot to copie an alias from scooby his script so its now pointless
  11. JB_frozen

    !sell ??

    on *:signal:mta.command*:#:{ if ($3 == !buy) { var %a = $rand(1,200) mta.text $1 $mta.nick($1,$2) has bought $4- for %a pgs.sub %a $mta.nick($1,$2) } if ($3 == !sell) { var %a = $rand(1,200) mta.text $1 $mta.nick($1,$2) has selled $4- for %a pgs.add %a $mta.nick($1,$2) } } goodluck with it
  12. JB_frozen

    Hide text

    it could maybe but in a different way on *:signal:mta.command:{ if ($3 == !on) { if {Gus.level($1,$2) >= 10) { set %c mta.pm $1 $2 } } elseif ($3 == !off) { if (gus.level($1,$2) >= 10) { set %c mta.text $1 } } } and then set every thing that is mta.text $1 to %c and it will work only for admins from lvl 10
×
×
  • Create New...