46
mIRC/pawn Scripting / Re: All Pick IDs
« on: July 08, 2008, 02:14:38 pm »
y00 thanks Mattz
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
humm strange it works for me i just tested iti didnt say that didnt work i meant if it probably wont workQuoteMon 11:55::. <@AdTec_224> !stfu adtec
Mon 11:55::. <@Captain_Obvious> ** Added [KFJ]AdTec_224 to the stfu list.
Mon 11:55::. <@Captain_Obvious> Admin:[ AdTec_224 ] Added:[ [KFJ]AdTec_224 ] To:[ STFU List ]Nice Adtec and !BanList In Irc ?
my version of !banlist just echo's a web URL and bans are echo'd and logged by a bot i have no idea how to script it from local to remote.
Assuming you're using sansan this is what it should look like:a million of thanks even IF that doesnt work thanksCode: [Select]elseif ($1 == !stfu) { vcmp.addstfu $2- | vcmp.adminchat Admin:[ $nick ] Added:[ $iif($vcmp.nameid($2) != $null,$vcmp.hgetname($vcmp.nameid($2)),$2) ] To:[ STFU List ] }
Note: UNTESTED!
<Nemesis_24> !stfu xD
<Hunter_Bot> Admin:[ Nemesis_24 ] Added:[ ] To:[ STFU List ]
Added:[ ]
elseif ($1 == !stfu) { vcmp.addstfu $2- | vcmp.adminchat Admin:[ $nick ] Added:[ $vcmp.hgetname($vcmp.nameid($2)) ] To:[ STFU List ]
}
ALIAS COMMAND
-------------------------------------------
alias vcmp.carownerid {
var %a = $ini(vcmp.cars.ini,0),%b
while (%a > 0) {
if ($readini(vcmp.cars.ini, $ini(vcmp.cars.ini,%a), owner) == $1) {
if (%b == $null) %b = $ini(vcmp.cars.ini,%a)
else %b = %b - $ini(vcmp.cars.ini,%a)
}
!dec %a
}
!return %b
}
COMMAND ITSELF
-------------------------------------------
if ($2 == !mycars) {
var %a = $vcmp.carownerid($1)
if (%a == $null) vcmp.msg $vcmp.getid($1) You have no vehicle
else {
vcmp.msg $vcmp.getid($1) Your vehicle ID is %a
}
}
if ($2 == !mycars) {to
elseif ($2 == !mycars) {