Author Topic: Multiple Command Popups  (Read 5456 times)

jenova

  • Guest
Multiple Command Popups
« on: September 10, 2008, 01:30:14 PM »
I'm just coming back to Icechat and I can't figure out about popups.

I wanna create some channel popups for doing multiple commands. To make it easier to work with.

So if I click on the popup, it'll perform these commands in a sequence. Timers would likely be needed.

First Action: /ns ghost nick password
Second Action: /nick nick
Third Action: /ns identify password

I know how this is done with mIRC.

..Nick:/ns ghost nick password | timer 1 3 /nick nick | timer 1 5 /ns identify password

Doing that, when it clicked, it'd immediately run the first, trip the timer and wait. At 3 seconds it'd change my nick. At 5 seconds it'd identify.

I tried using this on Icechat and got errors. I wrote it like this:

..Nick:msg nickserv ghost nick password | /nick nick | /ns identify password

The first part works, however I get errors on the second and third. Saying that /nick and /ns are unidentified commands.

Can someone help show me how to do multiple commands in sequence? I have a number that require doing.

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Re: Multiple Command Popups
« Reply #1 on: September 10, 2008, 01:38:34 PM »
Looks like a bug with spaces in parsing. Try this:

..Nick:msg nickserv ghost nick password |/nick nick |/ns identify password
This message brought to you by the Wonderful Wizard of Oz.

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • IceChat IRC Client
Re: Multiple Command Popups
« Reply #2 on: September 10, 2008, 03:23:09 PM »
There is also a slighty different way.
Create a multiline alias, which work great, and then just run the alias.
Add the following to Aliases section of the IceChat Editor.

Code: [Select]
/nickfix {
/ns ghost $1 password
/nick $1
/ns identify password
}

Then just run '/nickfix Nick'  in the Channel Popup.
You can of course use timers too, just like mirc. (same way)
« Last Edit: September 10, 2008, 03:29:27 PM by Snerf »
The IceChat God

Gieseill

  • Guest
Re: Multiple Command Popups
« Reply #3 on: August 26, 2010, 12:43:24 AM »
thank you very much for your good information. I will try to do like u said. Hope it's gonna work  :roll: